From: Duncan <1i5t5.duncan@cox.net>
To: linux-btrfs@vger.kernel.org
Subject: Re: receive snapshot, complains about missing file
Date: Sat, 30 Apr 2016 11:28:31 +0000 (UTC) [thread overview]
Message-ID: <pan$6f3dc$4726806a$a5dc5eab$10f59711@cox.net> (raw)
In-Reply-To: CAGGqMYQH7h4-atS+ecBzngBMLu7iRe4-CehjavUAcJMje+v=wA@mail.gmail.com
Alexander Fougner posted on Sat, 30 Apr 2016 12:55:06 +0200 as excerpted:
>>> Receive side only outputs this:
>>> sudo btrfs check -p /dev/sdc Couldn't open file system
>>
>> It wasn't mounted at the time, right?
>
> Nope
>
>
>> Cuz btrfs check won't work with a mounted filesystem.
>>
>> Of course you'll need to be root to access the device as well,
>> but that's pretty much a given.
>
> I think sudo should do that, right?
Yes.
I wonder then why it couldn't access it?
Just to be sure, since I didn't think to ask the first time and with
subvolumes it's possible to mount other subvolumes and possibly forget
that they're actually part of the same filesystem, you didn't have /any/
subvolumes of that filesystem mounted, right?
What does btrfs fi show say about the filesystem?
I'm assuming it's mountable. Does a mount and umount then let it be
btrfs checked? On the other end of things, what about a reboot and btrfs
device scan, then btrfs check?
If it's not the low-hanging fruit like that, perhaps check is keying off
the same error that receive is, but I haven't the foggiest what the
problem would be.
I guess another possibility would be that btrfs check is violating some
sort of security policy such as selinux. I don't run anything of that
nature here so know little more about it beyond the possibility, but from
previous posts I think Chris Murphy has at some experience in that area.
--
Duncan - List replies preferred. No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master." Richard Stallman
next prev parent reply other threads:[~2016-04-30 11:28 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-29 20:01 receive snapshot, complains about missing file Alexander Fougner
2016-04-29 20:17 ` Chris Murphy
2016-04-29 20:20 ` Alexander Fougner
2016-04-29 20:28 ` Chris Murphy
2016-04-30 10:27 ` Alexander Fougner
2016-04-30 10:28 ` Alexander Fougner
2016-04-30 10:49 ` Duncan
2016-04-30 10:55 ` Alexander Fougner
2016-04-30 11:28 ` Duncan [this message]
2016-05-03 19:00 ` Alexander Fougner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='pan$6f3dc$4726806a$a5dc5eab$10f59711@cox.net' \
--to=1i5t5.duncan@cox.net \
--cc=linux-btrfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).