Skip to contentSkip to conversation

Failed to lookup path for root 0

DISCUSSION Russell Coker 2 participants 2 messages Apr 25, 2013 Btrfs file system

lore
Share & tools
lore
#0 lore raw
# 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.

Signature · 2 lines
My Main Blog         http://etbe.coker.com.au/
My Documents Blog    http://doc.coker.com.au/
#1 lore raw

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

Quoted 13 lines
# 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.