linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* snapshot strange behaviour
@ 2011-01-23  7:17 Lubos Kolouch
  2011-01-23 12:17 ` Goffredo Baroncelli
  0 siblings, 1 reply; 7+ messages in thread
From: Lubos Kolouch @ 2011-01-23  7:17 UTC (permalink / raw)
  To: linux-btrfs

Hello,

During doing backups I found strange behaviour... 2.6.37, latest btrfs-
progs from git

nbgentoo ~ # btrfs subv crea a
Create subvolume './a'
nbgentoo ~ # cd a
nbgentoo a # btrfs subv crea b
Create subvolume './b'
nbgentoo a # touch b/file
nbgentoo a # ls -l b/
total 0
-rw-r--r-- 1 root root 0 Jan 23 08:14 file
nbgentoo a # cd ..
nbgentoo ~ # btrfs subv snap a x
Create a snapshot of 'a' in './x'
nbgentoo ~ # ls -l x/b/
total 0

and also

nbgentoo ~ # cd x/
nbgentoo x # btrfs subv dele b 
ERROR: 'b' is not a subvolume

Is this a bug or intended behaviour and I am missing something something?
How to snapshot a subvolume, containing another subvolumes?

(I create subvolume backup, under this another subvolumes as not always I 
want to snapshot the whole backup subvolume).

Thank you

Lubos


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-01-24  2:01 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-23  7:17 snapshot strange behaviour Lubos Kolouch
2011-01-23 12:17 ` Goffredo Baroncelli
2011-01-23 15:05   ` Lubos Kolouch
2011-01-23 18:02     ` Goffredo Baroncelli
2011-01-23 19:02       ` Chester
2011-01-23 20:06       ` Lubos Kolouch
2011-01-24  2:01       ` Fajar A. Nugraha

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).