Thread (21 messages) 21 messages, 7 authors, 2017-08-23

Re: finding root filesystem of a subvolume?

From: Austin S. Hemmelgarn <hidden>
Date: 2017-08-22 13:37:13

On 2017-08-22 09:30, Ulli Horlacher wrote:
On Tue 2017-08-22 (09:27), Austin S. Hemmelgarn wrote:
quoted
quoted
quoted
quoted
root@fex:~# df -T
Filesystem     Type  1K-blocks      Used Available Use% Mounted on
-              -    1073740800 104244552 967773976  10% /local/.backup/home
     I've never seen the "- -" output from df before. Is this a bind
mount or something?
No, /local/.backup/home is just a btrfs subvolume
It arguably shouldn't be showing up here then if it's not been
explicitly mounted.  I'm betting you're running OpenSUSE or SLES
No:

root@fex:~# cat /etc/os-release
NAME="Ubuntu"
VERSION="14.04.5 LTS, Trusty Tahr"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 14.04.5 LTS"
VERSION_ID="14.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"

root@fex:~# df -T /local/.backup/home
Filesystem     Type  1K-blocks      Used Available Use% Mounted on
-              -    1073740800 104252160 967766336  10% /local/.backup/home

root@fex:~# type df
df is hashed (/bin/df)

root@fex:~# dpkg -S /bin/df
coreutils: /bin/df
Hmm, now I'm really confused, I just checked on the Ubuntu 17.04 and 
16.04.3 VM's I have (I only run current and the most recent LTS 
version), and neither of them behave like this.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help