victorhooi
February 1st, 2015, 12:20 PM
Hi,
I'm trying to install Ubuntu 14.10 Server on a Dell R610 with three 250GB SATA drives.
The Ubuntu installer doesn't seem to support BTRFS RAID modes out of the box, so I had to create these manually using a console in the installer.
Firstly, I created a BTRFS RAID-5 array like so:
mkfs.btrfs -d raid5 -m raid5 /dev/sda /dev/sdb /dev/sdc
I then issued a:
btrfs device scan
However, the installer didn't seem to pickup the BTRFS partitions, even with the device scan - it said there was no filesystem on those disks.
I then rebooted the computer, and started the Ubuntu installer again - this time, it did pickup the drives, and I selected to use one of those disks as "/" (which should pickup the whole array), and to not erase those disks and use them as is.
My first question is - is there a way I could have gotten the Ubuntu installer to pickup the BTRFS partition the first time around?
Secondly, the installer complained about the lack of a swap device - what alternate partitioning schemes would you have recommended, in order to also include a swap device whilst still using BTRFS RAID-5?
Should I have created a swap partition on one of the drives? But then how will that work with the drives not being equal sizes now?
Also, apparently BTRFS doesn't support swap files (https://wiki.archlinux.org/index.php/Btrfs#Swap_file).
Finally, third question - the installer finally failed at the end, with installing the GRUB installer:
An installation step failed. You can try to run the failing item again from the menu, or skip it and choose something else. The failing step is: Install the GRUB boot loader on a hard disk
I'm guessing this is something to do with my partitioning here? Any ways around this?
Regards,
Victor
I'm trying to install Ubuntu 14.10 Server on a Dell R610 with three 250GB SATA drives.
The Ubuntu installer doesn't seem to support BTRFS RAID modes out of the box, so I had to create these manually using a console in the installer.
Firstly, I created a BTRFS RAID-5 array like so:
mkfs.btrfs -d raid5 -m raid5 /dev/sda /dev/sdb /dev/sdc
I then issued a:
btrfs device scan
However, the installer didn't seem to pickup the BTRFS partitions, even with the device scan - it said there was no filesystem on those disks.
I then rebooted the computer, and started the Ubuntu installer again - this time, it did pickup the drives, and I selected to use one of those disks as "/" (which should pickup the whole array), and to not erase those disks and use them as is.
My first question is - is there a way I could have gotten the Ubuntu installer to pickup the BTRFS partition the first time around?
Secondly, the installer complained about the lack of a swap device - what alternate partitioning schemes would you have recommended, in order to also include a swap device whilst still using BTRFS RAID-5?
Should I have created a swap partition on one of the drives? But then how will that work with the drives not being equal sizes now?
Also, apparently BTRFS doesn't support swap files (https://wiki.archlinux.org/index.php/Btrfs#Swap_file).
Finally, third question - the installer finally failed at the end, with installing the GRUB installer:
An installation step failed. You can try to run the failing item again from the menu, or skip it and choose something else. The failing step is: Install the GRUB boot loader on a hard disk
I'm guessing this is something to do with my partitioning here? Any ways around this?
Regards,
Victor