All of lore.kernel.org
 help / color / mirror / Atom feed
* v0.19-35-g1b444cd btrfsck says snapshots have errors
@ 2011-01-20 22:52 Ian! D. Allen
  2011-01-21  1:15 ` Yan, Zheng 
  0 siblings, 1 reply; 4+ messages in thread
From: Ian! D. Allen @ 2011-01-20 22:52 UTC (permalink / raw)
  To: linux-btrfs

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/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: v0.19-35-g1b444cd btrfsck says snapshots have errors
  2011-01-20 22:52 v0.19-35-g1b444cd btrfsck says snapshots have errors Ian! D. Allen
@ 2011-01-21  1:15 ` Yan, Zheng 
  2011-01-23 10:44   ` Ian! D. Allen
  0 siblings, 1 reply; 4+ messages in thread
From: Yan, Zheng  @ 2011-01-21  1:15 UTC (permalink / raw)
  To: Ian! D. Allen; +Cc: linux-btrfs

On Fri, Jan 21, 2011 at 6:52 AM, Ian! D. Allen <idallen@idallen.ca> wro=
te:
> Still getting btrfsck errors with this:
>
> git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-progs-unsta=
ble.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
> =A0 =A0 =A0 =A0nodesize 4096 leafsize 4096 sectorsize 4096 size 2.00G=
B
> 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
> =A0 =A0 =A0 =A0unresolved ref root 256 dir 256 index 2 namelen 5 name=
 snap1 error 600
> =A0 =A0 =A0 =A0unresolved ref root 257 dir 256 index 2 namelen 5 name=
 snap1 error 600
> =A0 =A0 =A0 =A0unresolved ref root 258 dir 256 index 2 namelen 5 name=
 snap1 error 600
> =A0 =A0 =A0 =A0unresolved ref root 259 dir 256 index 2 namelen 5 name=
 snap1 error 600
> =A0 =A0 =A0 =A0unresolved 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
> =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 majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: v0.19-35-g1b444cd btrfsck says snapshots have errors
  2011-01-21  1:15 ` Yan, Zheng 
@ 2011-01-23 10:44   ` Ian! D. Allen
  2011-01-23 14:28     ` Hugo Mills
  0 siblings, 1 reply; 4+ messages in thread
From: Ian! D. Allen @ 2011-01-23 10:44 UTC (permalink / raw)
  To: linux-btrfs

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/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: v0.19-35-g1b444cd btrfsck says snapshots have errors
  2011-01-23 10:44   ` Ian! D. Allen
@ 2011-01-23 14:28     ` Hugo Mills
  0 siblings, 0 replies; 4+ messages in thread
From: Hugo Mills @ 2011-01-23 14:28 UTC (permalink / raw)
  To: Ian! D. Allen; +Cc: linux-btrfs

[-- Attachment #1: Type: text/plain, Size: 1108 bytes --]

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! ---                     

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 190 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-01-23 14:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-20 22:52 v0.19-35-g1b444cd btrfsck says snapshots have errors Ian! D. Allen
2011-01-21  1:15 ` Yan, Zheng 
2011-01-23 10:44   ` Ian! D. Allen
2011-01-23 14:28     ` Hugo Mills

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.