Originally Posted by till
All mounts are in the fstab file so the linux system mounts and unmounts them automatically at boot time and shutdow. If you need to unmount your /var/www filesystem maually, you can e.g. create a script to unmount your volume.
This doesn´t work with ocfs2 on a drbd-volume.
Currently one logfolder is mounted:
/dev/drbd5 150G 25G 126G 17% /srv/www
/dev/sda8 10G 1.4G 8.1G 15% /srv/www/clients/client2/web323/log
If I run umount /srv/www with the --bind-mount active, i get:
umount: /srv/www: device is busy.
(In some cases useful info about processes that use
the device is found by lsof(8) or fuser(1))
Neither "lsof|grep www" nor "fuser -km /srv/www" show anything.
I must first unmount the log-dir by hand before "umount /srv/www" could be executed.
I`m not sure if this is related to drbd or to ocfs.