[gpfsug-discuss] mount: /dev/gpfs01 already mounted or /gpfs01 busy

Tejas Rao raot at bnl.gov
Wed Jun 29 16:43:25 BST 2016


Hi all,

I cannot get the filesystem mounted again on few nodes.

[root@ ~]# /usr/lpp/mmfs/bin/mmmount gpfs01
Wed Jun 29 11:29:50 EDT 2016: mmmount: Mounting file systems ...
mount: /dev/gpfs01 already mounted or /gpfs01 busy
mmmount: Command failed. Examine previous error messages to determine cause.



Things I have tried and checked.



1. Checked /proc/mounts and /etc/mtab and lsof /dev/gpfs01 and both 
/dev/gpfs01 and /gpfs01 are not seen anywhere.

2. Tried mmshutdown/mmstartup and it fails to unload mmfs modules. See 
below.

3. mmumount gpfs01 -f


A reboot of the client would probably fix it but as the client is used 
in production, this is not easy to do.


Are there any tricks/hacks to remount the filesystem again without 
rebooting the client.


[root@~]# /usr/lpp/mmfs/bin/mmshutdown
Wed Jun 29 11:10:52 EDT 2016: mmshutdown: Starting force unmount of GPFS 
file systems
Wed Jun 29 11:10:57 EDT 2016: mmshutdown: Shutting down GPFS daemons
Shutting down!
'shutdown' command about to kill process 11431
Unloading modules from /lib/modules/2.6.32-504.8.1.el6.x86_64/extra
mmfsenv: Module mmfslinux is still in use.
Unmount all GPFS file systems and issue the command:
   mmfsadm cleanup
Unloading module mmfs26
ERROR: Module mmfs26 is in use
mmfsenv: Error unloading module mmfs26.
Unloading module mmfslinux
ERROR: Module mmfslinux is in use by mmfs26
mmfsenv: Error unloading module mmfslinux.
Wed Jun 29 11:11:03 EDT 2016: mmshutdown: Finished
[root@~]#

Thanks.



More information about the gpfsug-discuss mailing list