Linux Btrfs filesystem development
 help / color / mirror / Atom feed
* Failed to lookup path for root 0
@ 2013-04-25  0:28 Russell Coker
  2013-04-25  2:03 ` Wang Shilong
  0 siblings, 1 reply; 2+ messages in thread
From: Russell Coker @ 2013-04-25  0:28 UTC (permalink / raw)
  To: linux-btrfs

# btrfs subvol list /home
ERROR: Failed to lookup path for root 0 - No such file or directory
# btrfs subvol list /home
ID 269 gen 449406 top level 5 path backup
...

I'm getting errors from the "btrfs subvol list" command as above, I'm running 
the Debian 3.8.3 kernel.  The errors occur after deleting a snapshot, so if I 
delete a snapshot and then immediately do a list of snapshots then the error 
is likely to occur.  It's repeatable in my cron jobs to remove old backups, 
they do a snapshot list, delete the hourly backups, then do another list to 
find daily snapshots to delete which fails.

-- 
My Main Blog         http://etbe.coker.com.au/
My Documents Blog    http://doc.coker.com.au/

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

* Re: Failed to lookup path for root 0
  2013-04-25  0:28 Failed to lookup path for root 0 Russell Coker
@ 2013-04-25  2:03 ` Wang Shilong
  0 siblings, 0 replies; 2+ messages in thread
From: Wang Shilong @ 2013-04-25  2:03 UTC (permalink / raw)
  To: russell; +Cc: linux-btrfs

Hello,
This problem has been fixed.Would you please try the latest btrfs-progs,
and see it this problem happens again.

Btrfs-progs commitid: 64edc851da59c47b92ee6830101be0854add7f09 fix this problem.
The latest btrfs-progs url:
http://git.kernel.org/cgit/linux/kernel/git/mason/btrfs-progs.git

Thanks,
Wang

> # btrfs subvol list /home
> ERROR: Failed to lookup path for root 0 - No such file or directory
> # btrfs subvol list /home
> ID 269 gen 449406 top level 5 path backup
> ...
> 
> I'm getting errors from the "btrfs subvol list" command as above, I'm running 
> the Debian 3.8.3 kernel.  The errors occur after deleting a snapshot, so if I 
> delete a snapshot and then immediately do a list of snapshots then the error 
> is likely to occur.  It's repeatable in my cron jobs to remove old backups, 
> they do a snapshot list, delete the hourly backups, then do another list to 
> find daily snapshots to delete which fails.
> 




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

end of thread, other threads:[~2013-04-25  2:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-25  0:28 Failed to lookup path for root 0 Russell Coker
2013-04-25  2:03 ` Wang Shilong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox