Hi, I have a btrfs ''pool'' of x2 Samsung 500GB HDD''s in non-raid format. It works fine for the most part except for mounting on bootup. Every bootup I have to change the block-device to and fro /dev/sda & /dev/sdb. This happens on linux-2.6.32.2 and 2.6.33-rc2. My relevant fstab section is: /dev/sda /mnt/btrfs btrfs defaults 0 0 /dev/sda /home btrfs subvol=HOME 0 1 /dev/sdb /media/data btrfs subvol=DATA 0 0 I get some output in /var/log/messages (2.6.32.2) also: Dec 31 11:05:17 funtoo-pc kernel: device label BTRFS devid 1 transid 12372 /dev/sda Dec 31 11:05:17 funtoo-pc kernel: btrfs: failed to read the system array on sda Dec 31 11:05:17 funtoo-pc kernel: btrfs: open_ctree failed Is this a known issue as I know of one other person with exactly the same issue? Regards Reg -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Hi Reg, > Hi, I have a btrfs ''pool'' of x2 Samsung 500GB HDD''s in non-raid > format. It works fine for the most part except for mounting on > bootup. Every bootup I have to change the block-device to and fro > /dev/sda & /dev/sdb. This happens on linux-2.6.32.2 and > 2.6.33-rc2. Are you running "btrfsctl -a" in an initrd? It''s necessary to do that before the mount call on a multi-disk volume. - Chris. -- Chris Ball <cjb@laptop.org> One Laptop Per Child -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On Thursday 31 December 2009 19:24:12 Chris Ball wrote:> Hi Reg, > > > Hi, I have a btrfs ''pool'' of x2 Samsung 500GB HDD''s in non-raid > > format. It works fine for the most part except for mounting on > > bootup. Every bootup I have to change the block-device to and fro > > /dev/sda & /dev/sdb. This happens on linux-2.6.32.2 and > > 2.6.33-rc2. > > Are you running "btrfsctl -a" in an initrd? It''s necessary to do that > before the mount call on a multi-disk volume.I did not know that. I''ve just given it a try on Funtoo and Ubuntu and it makes no difference. On Funtoo, my small script runs ''btrfsctl -a'' at the boot runlevel but I still get those 3 errors. I even try running ''btrfsctl -a'' again before I try ''mount -av'' but still no luck.> - Chris. >-- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On Thursday 31 December 2009 21.44:58 regomodo wrote:> On Thursday 31 December 2009 19:24:12 Chris Ball wrote: > > Hi Reg, > > > > > Hi, I have a btrfs ''pool'' of x2 Samsung 500GB HDD''s in non-raid > > > format. It works fine for the most part except for mounting on > > > bootup. Every bootup I have to change the block-device to and fro > > > /dev/sda & /dev/sdb. This happens on linux-2.6.32.2 and > > > 2.6.33-rc2. > > > > Are you running "btrfsctl -a" in an initrd? It''s necessary to do that > > before the mount call on a multi-disk volume. > > I did not know that. I''ve just given it a try on Funtoo and Ubuntu and it > makes no difference. On Funtoo, my small script runs ''btrfsctl -a'' at the > boot runlevel but I still get those 3 errors. I even try running > ''btrfsctl -a'' again before I try ''mount -av'' but still no luck.I had a similar issue and discovered that "btrfsctl -a" doesn''t load the btrfs module. So I do "modprobe btrfs; btrfsctl -a" cheers -- vbi -- The idea is that you can only get in trouble for what you actually did. What a concept. -- Pam Jones, Groklaw
On Friday 01 January 2010 13:51:26 Adrian von Bidder wrote:> On Thursday 31 December 2009 21.44:58 regomodo wrote: > > On Thursday 31 December 2009 19:24:12 Chris Ball wrote: > > > Hi Reg, > > > > > > > Hi, I have a btrfs ''pool'' of x2 Samsung 500GB HDD''s in non-raid > > > > format. It works fine for the most part except for mounting on > > > > bootup. Every bootup I have to change the block-device to and fro > > > > /dev/sda & /dev/sdb. This happens on linux-2.6.32.2 and > > > > 2.6.33-rc2. > > > > > > Are you running "btrfsctl -a" in an initrd? It''s necessary to do that > > > before the mount call on a multi-disk volume. > > > > I did not know that. I''ve just given it a try on Funtoo and Ubuntu and it > > makes no difference. On Funtoo, my small script runs ''btrfsctl -a'' at the > > boot runlevel but I still get those 3 errors. I even try running > > ''btrfsctl -a'' again before I try ''mount -av'' but still no luck.btrfs is compiled into my kernel. Should I make it a module instead?> I had a similar issue and discovered that "btrfsctl -a" doesn''t load the > btrfs module. So I do "modprobe btrfs; btrfsctl -a" > > cheers > -- vbi >-- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html