Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#19792 - [initscripts] [mkinitcpio] Implement full btrfs support (including multiple devices)
Attached to Project:
Arch Linux
Opened by Mathias (jordi) - Monday, 14 June 2010, 17:45 GMT
Last edited by Andrea Scarpino (BaSh) - Saturday, 19 March 2011, 00:35 GMT
Opened by Mathias (jordi) - Monday, 14 June 2010, 17:45 GMT
Last edited by Andrea Scarpino (BaSh) - Saturday, 19 March 2011, 00:35 GMT
|
DetailsDescription:
Mounting one of multiple btrfs devices isn't possible at boot time. It says something along the unkown fs type / invalid partition. It doesn't work because btrfs needs to scan the devices with btrfsctl -a first. Additional info: * kernel 2.6.33 and kernel 2.6.34-1 from testing * See http://bugs.gentoo.org/show_bug.cgi?id=309219 * If the mkinitcpio-btrfs hook fixes this, let me know. From my understanding the mkinitcpio-btrfs package is only needed if you use btrfs on a root device.(?) Steps to reproduce: * create two btrfs partitions over 2 devices. * Try to mount that on boot for /home or something. * Reboot |
This task depends upon
Closed by Andrea Scarpino (BaSh)
Saturday, 19 March 2011, 00:35 GMT
Reason for closing: Implemented
Additional comments about closing: http://projects.archlinux.org/initscript s.git/commit/?id=ca372312062e7843ca69e2e dd54b58ab609a69ee
Saturday, 19 March 2011, 00:35 GMT
Reason for closing: Implemented
Additional comments about closing: http://projects.archlinux.org/initscript s.git/commit/?id=ca372312062e7843ca69e2e dd54b58ab609a69ee
What you need is probably btrfs support in initscripts. Try this: Add a new file /etc/rc.d/functions.d/btrfs (make it executable with chmod 755), write this into the file:
btrfs_init() {
btrfsctl -a
}
add_hook btrfs_init sysinit_prefsck
Maybe you need to use the absolute path (probably /sbin/btrfsctl). We need to add this to initsripts at some point, when we merge btrfs support into our repositories, initscripts and mkinitcpio.
I'll then add some kind of hook to btrfs-progs-unstable to get it working from initcpio,
last step is then to add code to initscripts.
Quite some work but it'll be finished soon.
http://github.com/heftig/mkinitcpio/tree/btrfs
e.g i have two partitions: /dev/sda1 for / in ext4 and /dev/sda2 for /home in btrfs
during the boot I see only /dev/sda1 clean but I don't see /dev/sda2...
This bug report is related right?
Thank's.
This should be closed.