All of lore.kernel.org
 help / color / mirror / Atom feed
From: don fisher <hdf3@comcast.net>
To: "linux-btrfs@vger.kernel.org" <linux-btrfs@vger.kernel.org>
Subject: Re: nube trying to backup my systems
Date: Thu, 19 Mar 2015 19:34:26 -0700	[thread overview]
Message-ID: <550B8732.5000302@comcast.net> (raw)
In-Reply-To: <CAJCQCtTO89u8203U+Oc_eyUbEDrT4YZU8xf1gG6omGWS0ehhSQ@mail.gmail.com>

On 03/19/2015 07:15 PM, Chris Murphy wrote:
> On Thu, Mar 19, 2015 at 7:49 PM, don fisher <hdf3@comcast.net> wrote:
>> My rot
>> is mounted at /usr11. I tried:
>>
>> UUID=26d63d99-92f4-4a49-878b-236f5e88af69 /usr11/srv btrfs
>> subvol=usr11/srv       0 0
>>
>> but /usr11/srv did not mount. I replaced the number and it did mount. Would
>> like to use string like you suggested since they are more understandable. Do
>> you see what I did wrong?
>
> Use 'btrfs subvolume list -a' like I suggested and use that path minus
> any leading /. Chances are the path to the subvolume srv is just srv,
> in which case it should be subvol=srv
>
>> Any thoughts on stability of the IDs across boots?
>
> They're completely reliable between reboots and renames. They're
> assigned at creation, and either btrfs sub create or btfs sub snap
> creates subvolumes.

Thanks. I will try that. How does the mount distinguish between /srv and 
/usr11/srv if the subvol=srv is the same for both? It appears to work, 
for when I do a df the sizes are different. I guess it can tell from the 
UUID of / as opposed to that of /usr11. I missed that one completely.

/dev/sdc2       20972544   6117628  14641012  30% /srv
/dev/sdb2       20972544   9492892  11112580  47% /usr11/srv

I would still like to know why we need to mount the subvolumes at all. I 
tried to dismount one of the subvolumes mounted on / and got a:

umount: /var/log: target is busy

message, so could not test to /var/log access without a mount. It is 
easy to access /usr11/var/log without it being mounted. Again, why mount 
it? I understood mounting partitions, because that was the only access. 
But the appears to be two access channels here.

I made another openSuse system on a 2.5" USB drive. I will use it for 
the test tomorrow when more of my neurons are firing.

Thanks
Don






  reply	other threads:[~2015-03-20  2:34 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-19 23:31 nube trying to backup my systems don fisher
2015-03-20  0:16 ` Chris Murphy
2015-03-20  1:49   ` don fisher
2015-03-20  2:15     ` Chris Murphy
2015-03-20  2:34       ` don fisher [this message]
2015-03-20  3:04         ` Chris Murphy
2015-03-20  4:34     ` Duncan

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=550B8732.5000302@comcast.net \
    --to=hdf3@comcast.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 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.