I have configured a 14 TB as RAID 5. How can I make it to two XFS partitions?
Details are as below:
Disk......cciss/c0d1: 14002.5 GB, 14002557116416 bytes 255 heads, 32 sectors/track, 3351561 cylinders Units = cylinders of 8160 * 512 = 4177920 bytes
feedback
|
|
First create a single partition (probably
Then on to configure LVM:
You can also create the physical volume directly on top of the raw disk; in that case use If you want to skip LVM you can also just use fdisk to create two partitions (use +7000G when queried about the limit to only span the first half of the disk with the first partition) and create the filesystems on top of them:
Of course you'll lose the LVM flexibility. | ||||
|
feedback
|
|
I would recommend using LVM for this. So, generally you just create 2 logical volumes of required size on your ...cciss/c0d1 device (i.e. pvcreate -> vgcreate -> 2 x lvcreate) and then format each logical volume with XFS. You may also want to align XFS to Raid array dimensions if you care about performance. Please have a look at my other reply for details. Also, I would not allocate all the available space to these two volumes. This is in case you will need to grow one partition in a future but not the other. Also, you may decide to do snapshot backups. This leaves your options open. Note, that with XFS you will not be able shrink volume, only grow it. | |||
|
feedback
|
|
You should be able to just use any of the standard partition editors, e.g. parted, fdisk, cfdisk, or gparted (if you have a GUI). If they don't recognize the RAID devices, try using LVM. I have found some forum posts suggesting that LVM will recognize these drives. | |||
|
feedback
|