linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Marc MERLIN <marc@merlins.org>
To: linux-btrfs <linux-btrfs@vger.kernel.org>
Subject: Can a snapshot become a parent subvolume when its parent is deleted?
Date: Wed, 14 May 2014 06:50:57 -0700	[thread overview]
Message-ID: <20140514135057.GA12849@merlins.org> (raw)

So, I had btrfs_pool1 that was trashed/lost as discussed here recently.

I did btrfs send btrfs_pool2/root_ro.date | btrfs receive /mnt/btrfs_pool1

Then btrfs subvolume snapshot root_ro.date root

Now, after I delete root_ro.date on btrfs_pool1, shouldn't root become a
parent subvolume?

Right now, I have:
legolas:/mnt/btrfs_pool1# btrfs subvolume list -q . 
ID 390 gen 5954 top level 5 parent_uuid faea7df8-d51a-6b4b-994b-887d55267cce path root
legolas:/mnt/btrfs_pool1# btrfs subvolume list  -u .  |grep faea7df8-d51a-6b4b-994b-887d55267cce
legolas:/mnt/btrfs_pool1#

Is it possible not to have a parent?

If so, shouldn't you become a parent at that time?

Thanks,
Marc
-- 
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems ....
                                      .... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/                         | PGP 1024R/763BE901

             reply	other threads:[~2014-05-14 13:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-14 13:50 Marc MERLIN [this message]
2014-05-14 18:09 ` Can a snapshot become a parent subvolume when its parent is deleted? Chris Murphy
2014-05-19  1:11   ` Marc MERLIN

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=20140514135057.GA12849@merlins.org \
    --to=marc@merlins.org \
    --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).