SOLVED: BTRFS how to find the volume which is the parent of sub-volumes
Hi there !
Code:
localhost:/home/miguel # btrfs subvolume list -t /var I expect to see all theses sub-volumes as regular folders in the parent folder. thank you in advance, |
Just guessing. Maybe
Code:
btrfs inspect-internal subvolid-resolve <ID> <MountPoint> |
Quote:
Code:
root@fenix:/home/miguel# btrfs inspect-internal subvolid 272 /home/miguel/tmp |
SOLVED
Code:
root@fenix:/home/miguel# btrfs filesystem show | awk '/ +uuid:/ {print $4}' | xargs -L 1 -I{} blkid -t UUID={} You have to figure out based on the UUID returned by "btrfs filesystem show" and using blkid, return the device that match that UUID. I hope this could be useful to someone. cheers, |
Thanks for coming back and sharing your solution :).
|
All times are GMT -5. The time now is 05:15 AM. |