CentOS 5 /cPanel combination unable to mount partitions

Discussion in 'Site & Server Administration' started by mfwl, Nov 5, 2008.

  1. #1
    Can anyone help with the commands necessary to mount the partions on CentOS 5.

    I recently had a dedicated server fail, the datacenter booted it into a rescue mode using a remote kernel.

    When I examined it I could fdisk -l and see the different drives however when i came to mount the boot drive and home drive on /mnt/ it said it was busy.

    I have had to reinstall cPanel and restore cPanel backups to allow a boot from the hdd. The datacenter said they didnt know how and it was unmanaged so I was a bit on my own. I did have the hdd configured as RAID 0 to double the space. I have now used RAID 1 and the system seems more stable.

    Is there a known problem with centOS / cPAnel and RAID 0??

    Regards

    Matt
     
    mfwl, Nov 5, 2008 IP
  2. sparek

    sparek Peon

    Messages:
    68
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #2
    With RAID0 if one drive goes out, they all go out. You may have had an instance where one of the hard drives physically failed, and because of the RAID0 setup, the other drive was unusable as well.

    RAID1 won't give you the extra space that RAID0 gives, but it does give you drive redundancy. You will also likely see better read performance because the system can read data from two drives instead of just the one.
     
    sparek, Nov 5, 2008 IP
  3. root1987

    root1987 Peon

    Messages:
    33
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    1 = fdisl -l <== this will show you all partition in Your server exemple of the outpout :
    root@illusion-desktop:~# fdisk -l

    Disque /dev/sda: 160.0 Go, 160041885696 octets
    255 heads, 63 sectors/track, 19457 cylinders
    Units = cylindres of 16065 * 512 = 8225280 bytes
    Identifiant disque: 0xc895ed87

    Périphérique Amorce Début Fin Blocs Id Système
    /dev/sda1 1 2611 20972826 83 Linux
    /dev/sda2 2612 2873 2104515 82 Linux swap / Solaris
    /dev/sda3 * 2874 5484 20972857+ 7 HPFS/NTFS
    /dev/sda4 5485 19457 112238122+ 5 Extended
    /dev/sda5 5485 19457 112238091 83 Linux

    Disque /dev/sdb: 160.0 Go, 160041885696 octets
    255 heads, 63 sectors/track, 19457 cylinders
    Units = cylindres of 16065 * 512 = 8225280 bytes
    Identifiant disque: 0x69e72226

    Périphérique Amorce Début Fin Blocs Id Système
    /dev/sdb1 * 1 2611 20972826 7 HPFS/NTFS
    /dev/sdb2 2612 19457 135315495 83 Linux

    2 = mkdir /mnt/sdX <=== where sdx the name of the mounted partition
    3 = mount /dev/sdX /mnt/sdX
     
    root1987, Nov 7, 2008 IP