View Single Post
  #6  
Old 18th January 2013, 11:04
florian030 florian030 is offline
Senior Member
 
Join Date: Oct 2012
Posts: 222
Thanks: 8
Thanked 62 Times in 53 Posts
Default

Quote:
Originally Posted by till View Post
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:

Code:
/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:

Code:
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.
__________________
regards
Florian

blog.schaal-24.de
Reply With Quote