I have the following problem:
I can't figure out, how to create a snapshot of a btrfs volume residing on a crypted disk.
This is the setup:
/dev/sdb is a 1TB USB 3 disk. it has a partition /dev/sdb1, which fills the whole space.
This partition was overwritten with random data before creating a luks device with
cryptsetup luksFormat -v -y -c aes-xts-plain64 -s 512 /dev/sdb1
it was then opened with
cryptsetup luksOpen /dev/sdb1 platte
and a filesystem was created via
mkfs.btrfs -L MuPla /dev/mapper/platte
/dev/mapper/platte mounts nicely, i was able to fill it with files last night.
At this point i wanted to make a snapshot to be able to track file changes. Here comes the problem:
btrfs device scan
does not list the filesystem.
Neither
btrfs subvolume snapshot /dev/mapper/platte snap-2014-11-10
nor
btrfs subvolume snapshot /run/media/mymountpoint snap-2014-11-10
work Could you help me with that?
Thanks in advance.