v0.19-35-g1b444cd btrfsck says snapshots have errors
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
Signature · 4 lines
| Ian! D. Allen - [email protected] - 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/
On Fri, Jan 21, 2011 at 6:52 AM, Ian! D. Allen <[email protected]> wro= te:
Quoted 3 lines
Still getting btrfsck errors with this:
git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-progs-unsta=
ble.git
Quoted 10 lines
# ./btrfstest.sh Using /mnt/sdb1 /dev/sdb1 on /dev/sdb + mkfs.btrfs -L BTRFStest /dev/sdb1WARNING! - Btrfs v0.19-35-g1b444cd IS EXPERIMENTAL WARNING! - see http://btrfs.wiki.kernel.org before using
fs created label BTRFStest on
/dev/sdb1
=A0 =A0 =A0 =A0nodesize 4096 leafsize 4096 sectorsize 4096 size 2.00G=
B
Quoted 8 lines
Btrfs v0.19-35-g1b444cd
+ mount -o noatime/dev/sdb1/mnt/sdb1
+ btrfs subvolume snapshot/mnt/sdb1/mnt/sdb1/snap1Create a snapshot of '/mnt/sdb1' in '/mnt/sdb1/snap1'
+ btrfs subvolume snapshot/mnt/sdb1/snap1/mnt/sdb1/snap2Create a snapshot of '/mnt/sdb1/snap1' in '/mnt/sdb1/snap2'
+ btrfs subvolume snapshot/mnt/sdb1/snap2/mnt/sdb1/snap3Create a snapshot of '/mnt/sdb1/snap2' in '/mnt/sdb1/snap3'
Quoted 8 lines
+ btrfs subvolume snapshot
/mnt/sdb1/snap3/mnt/sdb1/snap4Create a snapshot of '/mnt/sdb1/snap3' in '/mnt/sdb1/snap4'
+ btrfs subvolume snapshot/mnt/sdb1/snap4/mnt/sdb1/snap5Create a snapshot of '/mnt/sdb1/snap4' in '/mnt/sdb1/snap5'
+ umount/dev/sdb1
+ btrfsck/dev/sdb1
fs tree 256 refs 6
=A0 =A0 =A0 =A0unresolved ref root 256 dir 256 index 2 namelen 5 name=
snap1 error 600
Quoted 1 line
=A0 =A0 =A0 =A0unresolved ref root 257 dir 256 index 2 namelen 5 name=
snap1 error 600
Quoted 1 line
=A0 =A0 =A0 =A0unresolved ref root 258 dir 256 index 2 namelen 5 name=
snap1 error 600
Quoted 1 line
=A0 =A0 =A0 =A0unresolved ref root 259 dir 256 index 2 namelen 5 name=
snap1 error 600
Quoted 1 line
=A0 =A0 =A0 =A0unresolved ref root 260 dir 256 index 2 namelen 5 name=
snap1 error 600
Quoted 10 lines
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
=A0referenced 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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 6 lines · Zheng
Quoted 4 lines · Ian! D. Allen
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 1These 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".
Signature · 4 lines
| Ian! D. Allen - [email protected] - 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/
Quoted 10 lines · Ian! D. Allen
Quoted 6 lines · Zheng
Quoted 4 lines · Ian! D. Allen
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 1These 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.
Signature · 3 lines
=== 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! ---