Portal Home > Knowledgebase > Articles Database > strange raid 1 drive problem please help
strange raid 1 drive problem please help
Posted by need4bw, 03-15-2012, 12:48 PM |
My server came with software raid 1 it has 2x2tb drives
I want to get rid of all raid. So i was told to reinstall centos 5 64 bit with cpanel
Before i reinstalled i was told to select install without raid and that i would have to format and install the 2nd drive through whm after.
However every time i try this, the second drive when i mount it is only showing 21 gigs of free space??
What is happening with this. Is it no formatting and still has the old partitions on it?
Home2 is showing only 21 gigs of space? it should be showing 1.8tb or more??
I am confused over this how do i just get the server to enable home2 to have 1.8tb of space?
i am seeing this in fdisk -l
Disk /dev/sda: 2000.3 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 2550 20478976+ 83 Linux
/dev/sda2 2550 243136 1932506112 83 Linux
/dev/sda3 243136 243201 523264 82 Linux swap / Solaris
Disk /dev/sdb: 2000.3 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 2612 20971520+ fd Linux raid autodetect
/dev/sdb2 2612 243136 1932012544 fd Linux raid autodetect
/dev/sdb3 243136 243201 525920 82 Linux swap / Solaris
seeing some auto raid detection on sdb??
in df -f
Filesystem Size Used Avail Use% Mounted on
rootfs 20G 3.6G 15G 20% /
/dev/root 20G 3.6G 15G 20% /
none 12G 140K 12G 1% /dev
/dev/sda2 1.8T 243M 1.7T 1% /home
tmpfs 12G 0 12G 0% /dev/shm
/dev/loop0 485M 13M 447M 3% /tmp
/dev/loop0 485M 13M 447M 3% /var/tmp
/dev/root 20G 3.6G 15G 20% /var/named/chroot/var/run/dbus
/dev/sdb1 20G 173M 19G 1% /home2
what is happening? and how to get that auto raid detection off?
can i expand home2 to 1.8tb to match drive one with ssh?
thanks for any guidance.
|
Posted by WebHostDog, 03-15-2012, 02:57 PM |
You need to remove the raid information from the drive seems.
|
Posted by need4bw, 03-15-2012, 02:58 PM |
thanks how do i do this , do i need kvm over ip for this or cash ssh take care of that?
it seems that the drive is only mounting one of the partitions.
|
Posted by HostingBig, 03-15-2012, 03:56 PM |
No you should not need KVM
make sure all partitions are unmounted
and remove them with the fdisk /dev/sdb command
and reformat
|
Posted by need4bw, 03-15-2012, 08:17 PM |
Thanks very much this helped me solve the problem
very grateful, cheers
|
Posted by HostingBig, 03-15-2012, 08:20 PM |
welcome
|
Add to Favourites Print this Article
Also Read