Joined: 14 Jun 2007
Location: KUUSANKOSKI, Finland
|Posted: Thu Jul 13, 2017 3:38 pm Post subject: Switching to UEFI+GPT+GRUB2 on btrfs -based system.
|I'm planning to repartition my server and desktop filesystem layouts so that hotswappable hard drives only contain (bare) btrfs. I plan to put boot files and at least (hibernation) swap on a USB flash. Currently I have one kind of hack on my desktop that has swap on mdraid5. It makes waking up from hibernation faster and gives me the possibility to swap out one drive at the time without doing swapoff. While I would like to preserve that feature It's not mandatory. Leaving swap out would make the hotswappable hard drives btrfs only. Which would make swapping drives a breeze (maybe even automated).
My main concern is if GRUB2 can boot from 5 or 6 disk btrfs filesystem. Also can I make /boot a btrfs subvolume? That way I could have only /boot/efi on the USB flash... among with possible swap.
I also would like to put some rescue .isos on the USB flash for grub to load if something goes wrong.
Suggestions? How would you build the system if the target was to have most of the data on single multi-device btrfs?
Note that my PCs have 16GB and 32GB of RAM and I rarely see swap usage. And if needed I can tune vm.swappiness.
..: Zucca :..
|ERROR: '--failure' is not an option. Aborting... |