Hello,
I would like to break RAID-1 on Centos. I prefere using 2 separate disks and cpanel backup instead of raid 1 but I am looking for the exact steps to do that.
I am able to boot the server in rescue mode if necessary.
Below some outputs :
Thanks in advance for your precious help,
Lyes
I would like to break RAID-1 on Centos. I prefere using 2 separate disks and cpanel backup instead of raid 1 but I am looking for the exact steps to do that.
I am able to boot the server in rescue mode if necessary.
Below some outputs :
Code:
[email protected] [~]# df -h
Filesystem Size Used Avail Use% Mounted on
rootfs 97G 4.5G 88G 5% /
/dev/root 97G 4.5G 88G 5% /
devtmpfs 16G 252K 16G 1% /dev
/dev/md3 1.7T 235M 1.6T 1% /home
tmpfs 16G 0 16G 0% /dev/shm
/dev/loop0 886M 18M 824M 3% /tmp
/dev/loop0 886M 18M 824M 3% /var/tmp
===
[email protected] [~]# fdisk -l
WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
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: 0x00000000
Device Boot Start End Blocks Id System
/dev/sda1 1 243202 1953514583+ ee GPT
WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.
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: 0x00000000
Device Boot Start End Blocks Id System
/dev/sdb1 1 243202 1953514583+ ee GPT
Disk /dev/md3: 1864.1 GB, 1864079704064 bytes
2 heads, 4 sectors/track, 455097584 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/md2: 104.9 GB, 104856485888 bytes
2 heads, 4 sectors/track, 25599728 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
===
[email protected] [~]# more /etc/fstab
# <file system> <mount point> <type> <options> <dump> <pass>
/dev/md2 / ext3 errors=remount-ro,usrjquota=quota.user,jqfmt=vfsv0 0 1
/dev/md3 /home ext3 defaults 1 2
/dev/sda4 swap swap defaults 0 0
/dev/sdb4 swap swap defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts defaults 0 0
Thanks in advance for your precious help,
Lyes