Skip to main content

Mount second drive

Comments

12 comments

  • kreierul

    root@feanor [~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/md2 1.8T 1.4T 296G 83% / tmpfs 24G 0 24G 0% /dev/shm /dev/md1 496M 32M 439M 7% /boot /usr/tmpDSK 4.0G 185M 3.6G 5% /tmp
    I try to arrange and i get this
    Current Home Directory /home/user Current Mount Point / Current Partition /dev/md2 Current Disk Usage 309749728 / 1897569704 Blocks used, ( 17% Free ) New mount point for this account /boot does not match "home" Sorry, there is only one usable partition detected on this machine matching "home"
    0
  • 24x7server
    Hello, First you will have to check how many disk are attached to your server. You can check that with the following command
    fdisk -l
    Please let me know above command out put so that I can check that and assist you on this. Thank you.
    0
  • kreierul
    ]Hello, First you will have to check how many disk are attached to your server. You can check that with the following command
    fdisk -l
    Please let me know above command out put so that I can check that and assist you on this. Thank you.


    Disk /dev/sdb: 2000.4 GB, 2000398934016 bytes 255 heads, 63 sectors/track, 243201 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00097e4e Device Boot Start End Blocks Id System /dev/sdb1 1 3134 25165824+ fd Linux raid autodetect /dev/sdb2 3134 3199 524288+ fd Linux raid autodetect /dev/sdb3 3199 243202 1927820376+ fd Linux raid autodetect Disk /dev/sda: 2000.4 GB, 2000398934016 bytes 255 heads, 63 sectors/track, 243201 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x000ec200 Device Boot Start End Blocks Id System /dev/sda1 1 3134 25165824+ fd Linux raid autodetect /dev/sda2 3134 3199 524288+ fd Linux raid autodetect /dev/sda3 3199 243202 1927820376+ fd Linux raid autodetect Disk /dev/md2: 1974.1 GB, 1974087909376 bytes 2 heads, 4 sectors/track, 481955056 cylinders Units = cylinders of 8 * 512 = 4096 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000 Disk /dev/md1: 536 MB, 536805376 bytes 2 heads, 4 sectors/track, 131056 cylinders Units = cylinders of 8 * 512 = 4096 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000 Disk /dev/md0: 25.8 GB, 25769672704 bytes 2 heads, 4 sectors/track, 6291424 cylinders Units = cylinders of 8 * 512 = 4096 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000
    [COLOR="silver">- - - Updated - - - I would want to mount it in same location as the first cos sites that are hosted on that account will need more space ..
    0
  • kreierul
    anyone here please ?
    0
  • dalem
    looks like you all ready have it mounted in a raid
    0
  • kreierul
    ]looks like you all ready have it mounted in a raid

    in cpanel say that 85% it's used ..
    Swap Used 1.23 % Disk /dev/md2 (/) 85 % Disk /usr/tmpDSK (/tmp) 6 % Disk /dev/md1 (/boot) 7 % Disk /tmp (/var/tmp) 6 %
    also here it say ..
    root@feanor [~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/md2 1.8T 1.4T 296G 83% / tmpfs 24G 0 24G 0% /dev/shm /dev/md1 496M 32M 439M 7% /boot /usr/tmpDSK 4.0G 185M 3.6G 5% /tmp
    0
  • dalem
    /dev/md2 1.8T 1.4T 296G 83% /
    is a raid 1 mirror both your drives are in use
    0
  • cPanelMichael
    Hello :) I recommend consulting with your hosting provider to have them update your disk configuration and mount the additional drive as "/home2" so you can move some of your accounts to that second drive. Thank you.
    0
  • kreierul
    ]Hello :) I recommend consulting with your hosting provider to have them update your disk configuration and mount the additional drive as "/home2" so you can move some of your accounts to that second drive. Thank you.

    only one account / one website using that much space .. so what's the solution ? to send hetzner a ticket ? - will send .. [COLOR="silver">- - - Updated - - - so .. when in raid1 means that are faster or what
    0
  • dalem
    so .. when in raid1 means that are faster or what
    [url=http://www.ahinc.com/raid.htm]Raid Explained Requirements Mirroring Striping
    0
  • cPanelMichael
    ] to send hetzner a ticket ? - will send ..

    Feel free to post the outcome here after you have consulted with your provider. Thank you.
    0
  • kreierul
    thank you very much for this ! - - - Updated - - - was good cos I didnt sent ticket cos server crash and dosen't want to start anymore .. they put me on rescue mode now .. and trying to get database's from MySQL there also but i don't know how .. see my post there - maybe u guys can help me fix out this
    0

Please sign in to leave a comment.