Re: Can anyone boot a system using btrfs root with linux 3.14 or newer?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Пламен Петров <plamen@xxxxxxxxxxxxxxxxxx> schrieb:

I'm going with the module suggestion from Marc, too.

> /dev/sda2              /         btrfs     relatime,compress=zlib 0      0

This line looks kinda useless to me. The compress=zlib option won't be 
applied at boot and cannot be changed at runtime because AFAIR btrfs does 
not allow that yet.

This is because during initial mount by the kernel, /etc/fstab has not yet 
been read (and cannot for obvious reasons). The only way around it is to 
also append rootflags= to the kernel cmdline. This also explains why in a 
few other cases btrfs cannot be mounted, although it should make no 
difference in your case except the compress option won't be applied to the 
running file system.

Also, you may want to try rootdelay=2 or something similar, it sometimes 
help mounting btrfs at boot. But first try the suggestion abount baking the 
btrfs module right into the kernel.

-- 
Replies to list only preferred.

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux