Hi,
I btrfs file system created with one device /dev/sdb and mounted under
/btrfs1.
created one file /btrfs1/errno.h, one directory /btrfs1/dir1 and
2 subvolumes /btrfs1/subvol1 and /btrfs/subvol2
create directories and files under subvolume /btrfs1/subvol1.
Nothing inside /btrfs1/subvol2.
Below is tree representation of the file system.
#cd /btrfs1
#tree /btrfs1
- errno.h
-dir1
- file1
- file2
-subvol1
-dir1
-file1
-file2
-subvol2
at root level of /btrfs1, i have one file errno.h, dir1, and 2
subvolumes subvol1, subvol2.
When I create snapshot for subvol1 (say snap_subvol1), I can able to see
all files and directories of subvol1 are showed in /btrfs1/snap_subvol1
But when I create snapshot at btrfs1 level by using below command
"btrfs subvolume snapshot /btrfs1 /btrfs1/root_snap"
and see contents of /btrfs1/root_snap, I can able to see all root level
files and directories but cannot find any files and directories inside
subvol1.
My question is can't we take btrfs root level snapshot and get snapshot
of everything under root file system ??
Is btrfs subvolume snapshot is only to take subvolume snapshot?
If it so, is there a way to take snapshot at root level? (in this case
/btrfs1)
I am just confused how subvolume snapshot work in this case.
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html