Thread (12 messages) 12 messages, 6 authors, 2012-12-28

Re: Another novice question & comment

From: Chris Murphy <hidden>
Date: 2012-12-27 16:55:24

On Dec 27, 2012, at 9:47 AM, Swâmi Petaramesh [off-list ref] wrote:
Le 27/12/2012 16:03, Hugo Mills a écrit :
quoted
  Right now, no, there isn't any way of telling which subvolume is
mounted at a given location.
Er... Check "subvol=" here...

root@tethys:/# mount | grep btrfs
/dev/mapper/VG1-BTR_POOL on / type btrfs
(rw,relatime,subvol=UBUNTU/@,autodefrag,compress=lzo)
/dev/mapper/VG1-BTR_POOL on /tmp type btrfs
(rw,relatime,subvol=UBUNTU/@tmp,compress=lzo)
/dev/sda2 on /boot type btrfs (rw,relatime,subvol=UBUNTU/@boot,autodefrag)
/dev/mapper/VG1-BTR_POOL on /home type btrfs
(rw,relatime,subvol=UBUNTU/@home,autodefrag,compress=lzo)
/dev/mapper/VG1-BTR_POOL on /storage type btrfs
(rw,relatime,subvol=STORAGE,autodefrag,compress=lzo)
/dev/mapper/VG1-BTR_POOL on /data/BIG type btrfs
(rw,noatime,subvol=DATA/BIG,compress=lzo)

That would only seem to work with btrfs on LVM which I'd think is uncommon and complicated.


Chris Murphy
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help