Skip to main content

Use 2nd HDD for cPanel

Comments

3 comments

  • 24x7server
    Hello :), At this time you are using only one HDD for your server. You have create only / paratition on your server that mean your cPanel and your hosting accounts are using that 1st HDD of your server. First You need to check your RAID and HDD configuration on your server. Please provide me the following commands output so that we can assist you on this.
    lsblk cat /proc/mdstat fdisk -l | grep Disk mdadm --detail /dev/md0 mdadm --detail /dev/md1 mdadm --detail /dev/md2
    0
  • vo0d0o
    Hello, here are the outputs you want
    lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT loop0 7:0 0 4G 0 loop /tmp sda 8:0 0 931.5G 0 disk ??sda1 8:1 0 8G 0 part [SWAP] ??sda2 8:2 0 923G 0 part ? ??md1 9:1 0 922.9G 0 raid1 / ??sda3 8:3 0 500M 0 part ??md0 9:0 0 500M 0 raid1 /boot sdb 8:16 0 931.5G 0 disk ??sdb1 8:17 0 8G 0 part [SWAP] ??sdb2 8:18 0 923G 0 part ? ??md1 9:1 0 922.9G 0 raid1 / ??sdb3 8:19 0 500M 0 part ??md0 9:0 0 500M 0 raid1 /boot

    cat /proc/mdstat Personalities : [raid1] md0 : active raid1 sda3[0] sdb3[1] 511936 blocks super 1.0 [2/2] [UU] md1 : active raid1 sda2[0] sdb2[1] 967727104 blocks super 1.1 [2/2] [UU] bitmap: 3/8 pages [12KB], 65536KB chunk unused devices:

    fdisk -l | grep Disk Disk /dev/sda: 1000.2 GB, 1000204886016 bytes Disk identifier: 0x000bef1b Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes Disk identifier: 0x00042222 Disk /dev/md1: 991.0 GB, 990952554496 bytes Disk identifier: 0x00000000 Disk /dev/md0: 524 MB, 524222464 bytes Disk identifier: 0x00000000

    mdadm --detail /dev/md0 /dev/md0: Version : 1.0 Creation Time : Tue Apr 5 10:18:24 2016 Raid Level : raid1 Array Size : 511936 (500.02 MiB 524.22 MB) Used Dev Size : 511936 (500.02 MiB 524.22 MB) Raid Devices : 2 Total Devices : 2 Persistence : Superblock is persistent Update Time : Sun Apr 10 17:47:35 2016 State : clean Active Devices : 2 Working Devices : 2 Failed Devices : 0 Spare Devices : 0 Name : sd-74634:0 UUID : 4eb3fe40:33991329:f6838134:b1532fc4 Events : 22 Number Major Minor RaidDevice State 0 8 3 0 active sync /dev/sda3 1 8 19 1 active sync /dev/sdb3

    mdadm --detail /dev/md1 /dev/md1: Version : 1.1 Creation Time : Tue Apr 5 10:18:25 2016 Raid Level : raid1 Array Size : 967727104 (922.90 GiB 990.95 GB) Used Dev Size : 967727104 (922.90 GiB 990.95 GB) Raid Devices : 2 Total Devices : 2 Persistence : Superblock is persistent Intent Bitmap : Internal Update Time : Mon Apr 11 13:48:17 2016 State : clean Active Devices : 2 Working Devices : 2 Failed Devices : 0 Spare Devices : 0 Name : sd-74634:1 UUID : 77179c54:47cb69fe:63917336:88604688 Events : 3338 Number Major Minor RaidDevice State 0 8 2 0 active sync /dev/sda2 1 8 18 1 active sync /dev/sdb2

    mdadm --detail /dev/md2 mdadm: cannot open /dev/md2: No such file or directory
    0
  • cPanelMichael
    Hello :) It looks like the additional drive is used for Raid1: Standard RAID levels - Wikipedia, the free encyclopedia I suggest consulting with your data center to see what they advise for switching from a RAID1 setup to separate drives for storage purposes. Thank you.
    0

Please sign in to leave a comment.