I have configured raid1 on two of my disks. I am not using a partition, because I want to use the entire disk. Is this correct?

The command lsblk produces the following output for my disks:

sdc       8:32   0   1.8T  0 disk  
└─md4     9:4    0   1.8T  0 raid1 /home
sdd       8:48   0   1.8T  0 disk  
└─md4     9:4    0   1.8T  0 raid1 /home

Not using a partition is totally fine. The only struggle that can appear is, if you're exchanging a disk with a different vendor and your new disk is a few blocks smaller.

  • You have that with partitions too, if they max out the space on disk. – Halfgaar Jul 9 '15 at 12:56
  • If your partition max out definitely, but thats why you just make it a little smaller as the actual disk. – Henrik Jul 9 '15 at 13:10
  • If I would change out one of the disks and the new disk isn't the same size, is it sufficient to place a partition on the new disk to match the size of the other? – Zweedeend Jul 9 '15 at 14:10
  • Yes, if it is bigger. You can also use the complete disk and if all disks are exchanged to the new, bigger size you can grow you md to the new array size. – Henrik Jul 9 '15 at 14:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.