1 Feb 2012 01:22
RE: btrfs-raid questions I couldn't find an answer to on the wiki
Kyle Gates <kylegates <at> hotmail.com>
2012-02-01 00:22:51 GMT
2012-02-01 00:22:51 GMT
>> I've been having good luck with my /boot on a separate 1GB RAID1 btrfs >> filesystem using grub2 (2 disks only! I wouldn't try it with 3). I >> should note, however, that I'm NOT using compression on this volume >> because if I remember correctly it may not play well with grub (maybe >> that was just lzo though) and I'm also not using subvolumes either for >> the same reason. > > Thanks! I'm on grub2 as well. It's is still masked on gentoo, but I > recently unmasked and upgraded to it, taking advantage of the fact that I > have two two-spindle md/raid-1s for /boot and its backup to test and > upgrade one of them first, then the other only when I was satisfied with > the results on the first set. I'll be using a similar strategy for the > btrfs upgrades, only most of my md/raid-1s are 4-spindle, with two sets, > working and backup, and I'll upgrade one set first. > > I'm going to keep /boot a pair of two-spindle raid-1s, but intend to make > them btrfs-raid1s instead of md/raid-1s, and will upgrade one two-spindle > set at a time. > > More on the status of grub2 btrfs-compression support based on my > research. There is support for btrfs/gzip-compression in at least grub > trunk. AFAIK, it's gzip-compression in grub-1.99-release and > lzo-compression in trunk only, but I may be misremembering and it's gzip > in trunk only and only uncompressed in grub-1.99-release. I believe you are correct that btrfs zlib support is included in grub2 version 1.99 and lzo is in trunk. I'll try compressing the files on /boot for one installed kernel with the defrag -czlib option and see how it goes. Result: Seemed to work just fine.(Continue reading)
RSS Feed