[Linux-cluster] can not mount GFS, "no such device"

Diamond Li diamondiona at gmail.com
Wed Dec 30 03:36:02 UTC 2009


Hello, everyone:

I failed to mount GFS with error message "no such device". But I have
confirmed that the device exists and all relevant kernel modules have
been loaded.

I am using RH5.4 and no any customization at all.

Would someone kindly help?

[root at wplccdlvm445 ~]# mount -t gfs -v /dev/vg100/lvol0 /gfs
/sbin/mount.gfs: mount /dev/mapper/vg100-lvol0 /gfs
/sbin/mount.gfs: parse_opts: opts = "rw"
/sbin/mount.gfs:   clear flag 1 for "rw", flags = 0
/sbin/mount.gfs: parse_opts: flags = 0
/sbin/mount.gfs: parse_opts: extra = ""
/sbin/mount.gfs: parse_opts: hostdata = ""
/sbin/mount.gfs: parse_opts: lockproto = ""
/sbin/mount.gfs: parse_opts: locktable = ""
/sbin/mount.gfs: message to gfs_controld: asking to join mountgroup:
/sbin/mount.gfs: write "join /gfs gfs lock_dlm clearcase:gfs rw
/dev/mapper/vg100-lvol0"
/sbin/mount.gfs: message from gfs_controld: response to join request:
/sbin/mount.gfs: lock_dlm_join: read "0"
/sbin/mount.gfs: message from gfs_controld: mount options:
/sbin/mount.gfs: lock_dlm_join: read "hostdata=jid=0:id=327681:first=1"
/sbin/mount.gfs: lock_dlm_join: hostdata: "hostdata=jid=0:id=327681:first=1"
/sbin/mount.gfs: lock_dlm_join: extra_plus: "hostdata=jid=0:id=327681:first=1"
/sbin/mount.gfs: mount(2) failed error -1 errno 19
/sbin/mount.gfs: lock_dlm_mount_result: write "mount_result /gfs gfs -1"
/sbin/mount.gfs: message to gfs_controld: asking to leave mountgroup:
/sbin/mount.gfs: lock_dlm_leave: write "leave /gfs gfs 19"
/sbin/mount.gfs: message from gfs_controld: response to leave request:
/sbin/mount.gfs: lock_dlm_leave: read "0"
/sbin/mount.gfs: error mounting /dev/mapper/vg100-lvol0 on /gfs: No such device

[root at wplccdlvm445 ~]# ls /dev/mapper/vg100-lvol0
/dev/mapper/vg100-lvol0

[root at wplccdlvm445 ~]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.4 (Tikanga)
[root at wplccdlvm445 ~]# uname -r
2.6.18-164.el5

[root at wplccdlvm445 ~]# lsmod |grep gfs
gfs2                  347529  1 lock_dlm
configfs               28753  2 dlm
[root at wplccdlvm445 ~]# lsmod |grep dl
lock_dlm               20193  0
gfs2                  347529  1 lock_dlm
dlm                   113749  11 lock_dlm
configfs               28753  2 dlm




More information about the Linux-cluster mailing list