[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



after I use mkfs.gfs2, it works. However, I did not see any document
to mention this command,  always gfs_mkfs.

in my humble opnion, redhat has a log way to provide real enterprise
solution, both from software quality and documentation.



On Wed, Dec 30, 2009 at 11:36 AM, Diamond Li <diamondiona gmail com> wrote:
> 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 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 wplccdlvm445 ~]# ls /dev/mapper/vg100-lvol0
> /dev/mapper/vg100-lvol0
>
> [root wplccdlvm445 ~]# cat /etc/redhat-release
> Red Hat Enterprise Linux Server release 5.4 (Tikanga)
> [root wplccdlvm445 ~]# uname -r
> 2.6.18-164.el5
>
> [root wplccdlvm445 ~]# lsmod |grep gfs
> gfs2                  347529  1 lock_dlm
> configfs               28753  2 dlm
> [root wplccdlvm445 ~]# lsmod |grep dl
> lock_dlm               20193  0
> gfs2                  347529  1 lock_dlm
> dlm                   113749  11 lock_dlm
> configfs               28753  2 dlm
>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]