Alexander Skwar
2013-May-02 17:41 UTC
btrfs subv list -> ERROR: Failed to lookup path for root 0 - No such file or directory
Hello I''m on Ubuntu 13.04 with Ubuntu kernel 3.8.0-19-lowlatency and Btrfs v0.20-rc1. Sometimes, I''m unable to list the subvolumes of a filesystem, like so: root@ask-home:~# btrfs subv list /home ERROR: Failed to lookup path for root 0 - No such file or directory This was after I removed a few snapshots of this subvolume. To be able to list again, I''ve got to do a "list -a": root@ask-home:~# btrfs subv list -a /home ID 256 gen 28692 top level 5 path <FS_TREE>/home ID 257 gen 28695 top level 256 path a ID 258 gen 28695 top level 5 path <FS_TREE>/Cloud ID 276 gen 28695 top level 5 path <FS_TREE>/Media ID 277 gen 28695 top level 5 path <FS_TREE>/Cloud/Dropbox ID 283 gen 28695 top level 5 path <FS_TREE>/VirtualBox Then the normal list works again: root@ask-home:~# btrfs subv list /home ID 257 gen 28695 top level 256 path a Reg. the "<FS_TREE>" - that''s (I guess...) because I mounted the subvolume at /home; see /etc/fstab: root@ask-home:~# grep /home /etc/fstab /dev/ssd/Data /home btrfs defaults,noatime,ssd,discard,subvol=home 0 0 Why''s that happening? Should I report this as a bug on bugzilla? Regards, Alexander -- => Google+ => http://plus.skwar.me <==> Chat (Jabber/Google Talk) => a.skwar@gmail.com <=-- 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
Russell Coker
2013-May-02 22:57 UTC
Re: btrfs subv list -> ERROR: Failed to lookup path for root 0 - No such file or directory
On Fri, 3 May 2013, Alexander Skwar <alexanders.mailinglists+nospam@gmail.com> wrote:> Hello > > I''m on Ubuntu 13.04 with Ubuntu kernel 3.8.0-19-lowlatency and > Btrfs v0.20-rc1. > > Sometimes, I''m unable to list the subvolumes of a filesystem, like so: > > root@ask-home:~# btrfs subv list /home > ERROR: Failed to lookup path for root 0 - No such file or directoryI asked a similar question about 10 days ago and got the below response which solved it for me. On Thu, 25 Apr 2013, Wang Shilong <wangsl-fnst@cn.fujitsu.com> wrote:> 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-- My Main Blog http://etbe.coker.com.au/ My Documents Blog http://doc.coker.com.au/ -- 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
Alexander Skwar
2013-May-03 11:24 UTC
Re: btrfs subv list -> ERROR: Failed to lookup path for root 0 - No such file or directory
Hi Russel Russell Coker <russell <at> coker.com.au> writes:> I asked a similar question about 10 days ago and got the below responsewhich> solved it for me.Thanks a lot. This solved it for me as well. Cheers, Alexander -- 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
Alexander Skwar
2013-May-04 10:45 UTC
Re: btrfs subv list -> ERROR: Failed to lookup path for root 0 - No such file or directory
Hi again. Well, it still doesn''t work reliably. a@ask-home:~$ sudo `which btrfs` subv list /data ERROR: Failed to lookup path for root 0 - No such file or directory While I ran the "list" command, I had, in another terminal, "btrfs subv snapshot" or "btrfs subv delete" running. At the very same time. Which additional information should I provide? Thanks, Alexander On Fri, May 3, 2013 at 1:24 PM, Alexander Skwar <alexanders.mailinglists+nospam@gmail.com> wrote:> Hi Russel > > Russell Coker <russell <at> coker.com.au> writes: > >> I asked a similar question about 10 days ago and got the below response > which >> solved it for me. > > > Thanks a lot. This solved it for me as well. > > Cheers, > Alexander > > -- > 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-- Alexander -- => Google+ => http://plus.skwar.me <==> Chat (Jabber/Google Talk) => a.skwar@gmail.com <=-- 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
Wang Shilong
2013-May-04 14:50 UTC
Re: btrfs subv list -> ERROR: Failed to lookup path for root 0 - No such file or directory
hello,> Hi again. > > Well, it still doesn''t work reliably. > > a@ask-home:~$ sudo `which btrfs` subv list /data > ERROR: Failed to lookup path for root 0 - No such file or directoryThis error message should not be printed, in fact, we only print this error message when errors except ENOENT happens. I use the latest btrfs-progs, and i can not reproduce the problem, would you please double check with this url: https://git.kernel.org/cgit/linux/kernel/git/mason/btrfs-progs.git/ By the way, what kernel version do you use.. I just use the latest Btrfs, and hit a kernel bug but not the user-land problems. Thanks, Wang>> While I ran the "list" command, I had, in another terminal, "btrfs > subv snapshot" or "btrfs subv delete" running. At the very same time. > > Which additional information should I provide? > > Thanks, > Alexander > > On Fri, May 3, 2013 at 1:24 PM, Alexander Skwar > <alexanders.mailinglists+nospam@gmail.com> wrote: >> Hi Russel >> >> Russell Coker <russell <at> coker.com.au> writes: >> >>> I asked a similar question about 10 days ago and got the below response >> which >>> solved it for me. >> >> >> Thanks a lot. This solved it for me as well. >> >> Cheers, >> Alexander >> >> -- >> 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 > > > > -- > > > Alexander > -- > => Google+ => http://plus.skwar.me <=> => Chat (Jabber/Google Talk) => a.skwar@gmail.com <=> -- > 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-- 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
Alexander Skwar
2013-May-05 20:06 UTC
Re: btrfs subv list -> ERROR: Failed to lookup path for root 0 - No such file or directory
Hi Wang On Sat, May 4, 2013 at 4:50 PM, Wang Shilong <wangshilong1991@gmail.com> wrote:> I use the latest btrfs-progs, and i can not reproduce the problem, would you please > double check with this url: > https://git.kernel.org/cgit/linux/kernel/git/mason/btrfs-progs.git/Must be so, that I by accident used the "stable" version that got shipped with Ubuntu. If I use the one from git, I also cannot reproduce. Thanks Alexander -- => Google+ => http://plus.skwar.me <==> Chat (Jabber/Google Talk) => a.skwar@gmail.com <=-- 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