mount - How to get more information about a mountpoint - Ask Ubuntu
i have had problems ispconfig morning fixed now, noticed mounts:
/dev/sda2 on /var/www/clients/client1/web1/log type ext4 (rw,relatime,errors=remount-ro,data=ordered,jqfmt=vfsv0,usrjquota=quota.user,grpjquota=quota.group,_netdev)   there many of them, every client , web there is.
this looked weird. how ispconfig mount /dev/sda2 on many different folders , yet, don't share content. also, sda2 mounted on /.
i got some information though googeling , found /proc/self/mountinfo gives more helpful informations:
83 24 8:2 /var/log/ispconfig/httpd/example.net /var/www/clients/client1/web1/log rw,relatime shared:1 - ext4 /dev/sda2 rw,errors=remount-ro,data=ordered,jqfmt=vfsv0,usrjquota=quota.user,grpjquota=quota.group   now we're getting somewhere. seems like, ispconfig mounts subfolder of sda2 (namely /var/log/ispconfig/httpd/example.net) /var/www/clients/client1/web1/log.
i don't know why ispconfig this, if knows, feel free comment on question, question is:
is there better way information mountpoint possible?
/proc/self/mountinfo good, prints lot of information, it's hard read, i'd need remember each column means understand it. it's nice programs parse not nice humans read.
the command
df -h   of just
df   gives informations
Comments
Post a Comment