I had to perform a file recovery from a Vmware CentOS 7Vm with
BTRFS Filesystems v4.9.1.
From the vm view, the FS looks like :
Code: Select all
[root@lxdtomcat1 var]# df -k
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda2 9436160 4313792 4292736 51% /
devtmpfs 2016312 0 2016312 0% /dev
tmpfs 2023424 0 2023424 0% /dev/shm
tmpfs 2023424 8764 2014660 1% /run
tmpfs 2023424 0 2023424 0% /sys/fs/cgroup
/dev/sda2 9436160 4313792 4292736 51% /var
Code: Select all
[root@lxdtomcat1 var]# mount |grep -i btrf
/dev/sda2 on / type btrfs (rw,noatime,nodiratime,seclabel,compress=lzo,ssd,space_cache,autodefrag,subvolid=258,subvol=/root)
/dev/sda2 on /var type btrfs (rw,noatime,nodiratime,seclabel,compress=lzo,ssd,space_cache,autodefrag,subvolid=257,subvol=/var)
[root@lxdtomcat1 var]# btrfs subvolume list -apt /
ID gen parent top level path
-- --- ------ --------- ----
257 441709 5 5 <FS_TREE>/var
258 441713 5 5 <FS_TREE>/root
260 441360 257 257 <FS_TREE>/var/lib/machines
The problem is with file recovery :
When I open the file browser, I can see the 2 btrfs volumes from GUI
See pics at https://onedrive.live.com/?id=14190B6B5 ... 6B5B8ECCD5
When I expand the tree structure, both "sda2" btrfs volume-trees are
equals and correspond to the second file structure, the /var one.
(pics2 and 3), resulting in the fact I cannot perform file recovery from btrfs volume #1.
did I miss something ?
Thanks
Th