Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

How to break Raid 1 on centos

Discussion in 'Data Protection' started by Novisoft, Feb 12, 2014.

  1. Novisoft

    Novisoft Active Member

    Joined:
    Jun 6, 2003
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    156
    Location:
    Algiers, Algeria.
    cPanel Access Level:
    Root Administrator
    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 :

    Code:
    root@ns3096378 [~]# 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
    
    ===
    
    root@ns3096378 [~]# 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
    
    ===
    
    root@ns3096378 [~]# 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
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,665
    Likes Received:
    1,787
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello :)

    This is more of a filesystem issue and not necessarily related to the cPanel software. You will likely receive better input by searching for guides on this on a search engine or checking on a forum dedicated to discussions of RAID. For instance, searching "how to break raid1" on Google yields several results that you might find useful.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice