* Yet Another Newb Question...
@ 2011-12-07 21:14 Ken D'Ambrosio
2011-12-07 21:29 ` Hugo Mills
0 siblings, 1 reply; 2+ messages in thread
From: Ken D'Ambrosio @ 2011-12-07 21:14 UTC (permalink / raw)
To: linux-btrfs
(Asking this question on this list kinda makes me wonder if there shouldn't be
a btrfs-users list where folks could ask questions just like this without
pestering developers...)
Anyway -- I had a root partition with a /snapshots directory, in which I placed
a bunch of snapshots. At one point, I goofed stuff up, and decided to revert
my root (using "btrfs sub set-default") to one of the snapshots. Rebooted, and
it worked great -- just like I'd hoped.
But where'd the snapshots in /snapshots go?
I mean, I still see them if I do a "btrfs sub list", but how do I *get* to them
for, say, deleting? (I can still mount them via "-o subvolid", but that's not
quite the same thing.)
Suggestions?
Thanks kindly!
-Ken
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Yet Another Newb Question...
2011-12-07 21:14 Yet Another Newb Question Ken D'Ambrosio
@ 2011-12-07 21:29 ` Hugo Mills
0 siblings, 0 replies; 2+ messages in thread
From: Hugo Mills @ 2011-12-07 21:29 UTC (permalink / raw)
To: Ken D'Ambrosio; +Cc: linux-btrfs
[-- Attachment #1: Type: text/plain, Size: 1600 bytes --]
On Wed, Dec 07, 2011 at 04:14:46PM -0500, Ken D'Ambrosio wrote:
> (Asking this question on this list kinda makes me wonder if there shouldn't be
> a btrfs-users list where folks could ask questions just like this without
> pestering developers...)
>
> Anyway -- I had a root partition with a /snapshots directory, in which I placed
> a bunch of snapshots. At one point, I goofed stuff up, and decided to revert
> my root (using "btrfs sub set-default") to one of the snapshots. Rebooted, and
> it worked great -- just like I'd hoped.
>
> But where'd the snapshots in /snapshots go?
Where they always were -- it's just that you've mounted a different
bit of the filesystem, so you can't see them. :)
> I mean, I still see them if I do a "btrfs sub list", but how do I *get* to them
> for, say, deleting? (I can still mount them via "-o subvolid", but that's not
> quite the same thing.)
If you've got subvolumes outside your mounted filesystem, then you
can either reach them by mounting via subvolid, or by mounting the
top-level subvolume with subvolid=0 (on, say, /media/btrfs-top) and
then navigating through that to the subvolume you want.
See (my) recommended filesystem structure on the wiki[1].
Hugo.
http://btrfs.ipv5.de/index.php?title=SysadminGuide#Managing_snapshots
--
=== Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk ===
PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk
--- There are three things you should never see being made: laws, ---
standards, and sausages.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 190 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-12-07 21:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-07 21:14 Yet Another Newb Question Ken D'Ambrosio
2011-12-07 21:29 ` Hugo Mills
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).