Still getting btrfsck errors with this: git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-progs-unstable.git # ./btrfstest.sh Using /mnt/sdb1 /dev/sdb1 on /dev/sdb + mkfs.btrfs -L BTRFStest /dev/sdb1 WARNING! - Btrfs v0.19-35-g1b444cd IS EXPERIMENTAL WARNING! - see http://btrfs.wiki.kernel.org before using fs created label BTRFStest on /dev/sdb1 nodesize 4096 leafsize 4096 sectorsize 4096 size 2.00GB Btrfs v0.19-35-g1b444cd + mount -o noatime /dev/sdb1 /mnt/sdb1 + btrfs subvolume snapshot /mnt/sdb1 /mnt/sdb1/snap1 Create a snapshot of ''/mnt/sdb1'' in ''/mnt/sdb1/snap1'' + btrfs subvolume snapshot /mnt/sdb1/snap1 /mnt/sdb1/snap2 Create a snapshot of ''/mnt/sdb1/snap1'' in ''/mnt/sdb1/snap2'' + btrfs subvolume snapshot /mnt/sdb1/snap2 /mnt/sdb1/snap3 Create a snapshot of ''/mnt/sdb1/snap2'' in ''/mnt/sdb1/snap3'' + btrfs subvolume snapshot /mnt/sdb1/snap3 /mnt/sdb1/snap4 Create a snapshot of ''/mnt/sdb1/snap3'' in ''/mnt/sdb1/snap4'' + btrfs subvolume snapshot /mnt/sdb1/snap4 /mnt/sdb1/snap5 Create a snapshot of ''/mnt/sdb1/snap4'' in ''/mnt/sdb1/snap5'' + umount /dev/sdb1 + btrfsck /dev/sdb1 fs tree 256 refs 6 unresolved ref root 256 dir 256 index 2 namelen 5 name snap1 error 600 unresolved ref root 257 dir 256 index 2 namelen 5 name snap1 error 600 unresolved ref root 258 dir 256 index 2 namelen 5 name snap1 error 600 unresolved ref root 259 dir 256 index 2 namelen 5 name snap1 error 600 unresolved ref root 260 dir 256 index 2 namelen 5 name snap1 error 600 found 49152 bytes used err is 1 total csum bytes: 0 total tree bytes: 49152 total fs tree bytes: 28672 btree space waste bytes: 39360 file data blocks allocated: 0 referenced 0 Btrfs v0.19-35-g1b444cd -- | Ian! D. Allen - idallen@idallen.ca - Ottawa, Ontario, Canada | Home Page: http://idallen.com/ Contact Improv: http://contactimprov.ca/ | College professor (Free/Libre GNU+Linux) at: http://teaching.idallen.com/ | Defend digital freedom: http://eff.org/ and have fun: http://fools.ca/ -- 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 Fri, Jan 21, 2011 at 6:52 AM, Ian! D. Allen <idallen@idallen.ca> wrote:> Still getting btrfsck errors with this: > > git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-progs-unstable.git > > # ./btrfstest.sh > Using /mnt/sdb1 /dev/sdb1 on /dev/sdb > + mkfs.btrfs -L BTRFStest /dev/sdb1 > > WARNING! - Btrfs v0.19-35-g1b444cd IS EXPERIMENTAL > WARNING! - see http://btrfs.wiki.kernel.org before using > > fs created label BTRFStest on /dev/sdb1 > nodesize 4096 leafsize 4096 sectorsize 4096 size 2.00GB > Btrfs v0.19-35-g1b444cd > + mount -o noatime /dev/sdb1 /mnt/sdb1 > + btrfs subvolume snapshot /mnt/sdb1 /mnt/sdb1/snap1 > Create a snapshot of ''/mnt/sdb1'' in ''/mnt/sdb1/snap1'' > + btrfs subvolume snapshot /mnt/sdb1/snap1 /mnt/sdb1/snap2 > Create a snapshot of ''/mnt/sdb1/snap1'' in ''/mnt/sdb1/snap2'' > + btrfs subvolume snapshot /mnt/sdb1/snap2 /mnt/sdb1/snap3 > Create a snapshot of ''/mnt/sdb1/snap2'' in ''/mnt/sdb1/snap3'' > + btrfs subvolume snapshot /mnt/sdb1/snap3 /mnt/sdb1/snap4 > Create a snapshot of ''/mnt/sdb1/snap3'' in ''/mnt/sdb1/snap4'' > + btrfs subvolume snapshot /mnt/sdb1/snap4 /mnt/sdb1/snap5 > Create a snapshot of ''/mnt/sdb1/snap4'' in ''/mnt/sdb1/snap5'' > + umount /dev/sdb1 > + btrfsck /dev/sdb1 > fs tree 256 refs 6 > unresolved ref root 256 dir 256 index 2 namelen 5 name snap1 error 600 > unresolved ref root 257 dir 256 index 2 namelen 5 name snap1 error 600 > unresolved ref root 258 dir 256 index 2 namelen 5 name snap1 error 600 > unresolved ref root 259 dir 256 index 2 namelen 5 name snap1 error 600 > unresolved ref root 260 dir 256 index 2 namelen 5 name snap1 error 600 > found 49152 bytes used err is 1 > total csum bytes: 0 > total tree bytes: 49152 > total fs tree bytes: 28672 > btree space waste bytes: 39360 > file data blocks allocated: 0 > referenced 0 > Btrfs v0.19-35-g1b444cd > >These is caused by a design flaw, you can safely ignore them. -- 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
Ian! D. Allen
2011-Jan-23 10:44 UTC
Re: v0.19-35-g1b444cd btrfsck says snapshots have errors
On Fri, Jan 21, 2011 at 09:15:49AM +0800, Yan, Zheng wrote:> On Fri, Jan 21, 2011 at 6:52 AM, Ian! D. Allen <idallen@idallen.ca> wrote: > > Still getting btrfsck errors with this: > > git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-progs-unstable.git > > unresolved ref root 256 dir 256 index 2 namelen 5 name snap1 error 600 > > found 49152 bytes used err is 1 > These is caused by a design flaw, you can safely ignore them.If it isn''t an error, shouldn''t btrfsck be ignoring it, not me? At minimum it could say "warning" and not "err is 1". -- | Ian! D. Allen - idallen@idallen.ca - Ottawa, Ontario, Canada | Home Page: http://idallen.com/ Contact Improv: http://contactimprov.ca/ | College professor (Free/Libre GNU+Linux) at: http://teaching.idallen.com/ | Defend digital freedom: http://eff.org/ and have fun: http://fools.ca/ -- 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 Sun, Jan 23, 2011 at 05:44:34AM -0500, Ian! D. Allen wrote:> On Fri, Jan 21, 2011 at 09:15:49AM +0800, Yan, Zheng wrote: > > On Fri, Jan 21, 2011 at 6:52 AM, Ian! D. Allen <idallen@idallen.ca> wrote: > > > Still getting btrfsck errors with this: > > > git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-progs-unstable.git > > > unresolved ref root 256 dir 256 index 2 namelen 5 name snap1 error 600 > > > found 49152 bytes used err is 1 > > These is caused by a design flaw, you can safely ignore them. > > If it isn''t an error, shouldn''t btrfsck be ignoring it, not me? > At minimum it could say "warning" and not "err is 1".Yes, it probably should, but there''s not a great deal of point in fixing this particular issue, because Chris is working on the all-new (offline) repairing fsck, which should replace the current checking-only fsck very soon now. Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk == PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk --- O tempura! O moresushi! ---