
On Sunday, 20 May 2018 10:05:55 AM AEST Andrew Greig via luv-main wrote:
Drives are in and Ubuntu 18.04 is installing, I am offered an LVM option will that mess with RAID?
If you use LVM then you would use it on top of the Linux software RAID.
One other thing, will choosing btrfs orZFS just utilise the matched drives as a RAID pair?
That would depend on the installer options. With BTRFS the easiest thing to do is to make it a single disk filesystem at installation time (I recall that the Debian installer used to not support a BTRFS RAID-1 at installl time) and then convert it afterwards, see btrfs-balance(8) for details. One major feature of BTRFS is the ability to change RAID setup etc at run-time.
If I go XFS, as my file system for all drives, then will I need the install to complete, then run mdadm to set the RAID?
If you choose XFS for everything then you would setup mdadm in the installer, then maybe LVM, then XFS. On Sunday, 20 May 2018 12:21:56 AM AEST Andrew Pam via luv-main wrote:
Is mdadm a part of this process or does it get involved later ? ZFS for the pair of drives?
If you use ZFS or btrfs, you probably don't want to use mdadm (software RAID) as well. Better to take advantage of the filesystem-level mirroring. If you use another filesystem (such as XFS, which is what I use on my 4T RAID-1 mirror on my desktop workstation) you will need to install and set up mdadm first, yes.
BTRFS and ZFS store hashes of all data and metadata which are checked at read time to prevent corruption. If you use the RAID built-in to those filesystems then they will detect and correct errors. If you use Linux software RAID (or any other RAID including hardware RAID) under ZFS or BTRFS then they can only detect errors not correct them. -- My Main Blog http://etbe.coker.com.au/ My Documents Blog http://doc.coker.com.au/