答复: fstab problem

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

 



That's so strange, I am have two server with CentOS 7 and glusterfs-3.6.2.

But just one server with that problem , the other one can work with fstab.

Just update my information, thanks


________________________________________
发件人: Nico Schottelius [nico-gluster-users@xxxxxxxxxxxxxxx]
发送时间: 2015年3月6日 20:29
收件人: 何亦军
抄送: gluster-users@xxxxxxxxxxx
主题: Re:  fstab problem

Funny, I am running into the same problem with CentOS 7 and glusterfs-3.6.2
right now:

var-lib-one-datastores-100.mount - /var/lib/one/datastores/100
   Loaded: loaded (/etc/fstab)
   Active: failed (Result: exit-code) since Fri 2015-03-06 13:23:12 CET; 21s ago
    Where: /var/lib/one/datastores/100
     What: vmhost2-cluster1.place4.ungleich.ch:/cluster1
  Process: 2142 ExecMount=/bin/mount vmhost2-cluster1.place4.ungleich.ch:/cluster1 /var/lib/one/datastores/100 -t glusterfs -o defaults,_netdev,backupvolfile-server=vmhost1-cluster1.place4.ungleich.ch (code=exited, status=1/FAILURE)

Mar 06 13:23:12 vmhost1-cluster1 systemd[1]: Mounted /var/lib/one/datastores/100.
Mar 06 13:23:12 vmhost1-cluster1 mount[2142]: /sbin/mount.glusterfs: line 13: /dev/stderr: No such device or address
Mar 06 13:23:12 vmhost1-cluster1 systemd[1]: var-lib-one-datastores-100.mount mount process exited, code=exited status=1
Mar 06 13:23:12 vmhost1-cluster1 systemd[1]: Unit var-lib-one-datastores-100.mount entered failed state.
[13:23:33] vmhost1-cluster1:~# /bin/mount vmhost2-cluster1.place4.ungleich.ch:/cluster1 /var/lib/one/datastores/100 -t glusterfs -o defaults,_netdev,backupvolfile-server=vmhost1-cluster1.place4.ungleich.ch

I've found older problems with glusterd reporting this, but no real
solution for the fstab entry.


何亦军 [Fri, Mar 06, 2015 at 02:46:12AM +0000]:
> Hi Guys,
>
> I meet fstab problem,
> fstab config :   gwgfs01:/vol01  /mnt/gluster    glusterfs       defaults,_netdev        0 0
>
> The mount can’t take effect, I checked below:
>
> [root@gfsclient02 ~]# systemctl status mnt-gluster.mount -l
> mnt-gluster.mount - /mnt/gluster
>    Loaded: loaded (/etc/fstab)
>    Active: failed (Result: exit-code) since Fri 2015-03-06 10:39:05 CST; 53s ago
>     Where: /mnt/gluster
>      What: gwgfs01:/vol01
>   Process: 1324 ExecMount=/bin/mount gwgfs01:/vol01 /mnt/gluster -t glusterfs -o defaults,_netdev (code=exited, status=1/FAILURE)
>
> Mar 06 10:38:47 gfsclient02 systemd[1]: Mounting /mnt/gluster...
> Mar 06 10:38:47 gfsclient02 systemd[1]: Mounted /mnt/gluster.
> Mar 06 10:39:05 gfsclient02 mount[1324]: /sbin/mount.glusterfs: line 13: /dev/stderr: No such device or address
> Mar 06 10:39:05 gfsclient02 systemd[1]: mnt-gluster.mount mount process exited, code=exited status=1
> Mar 06 10:39:05 gfsclient02 systemd[1]: Unit mnt-gluster.mount entered failed state.
>
>
> BTW, I can manual mount that gluster.  by command : mount -t glusterfs gwgfs01:/vol01 /mnt/gluster
>
> What happened?

> _______________________________________________
> Gluster-users mailing list
> Gluster-users@xxxxxxxxxxx
> http://www.gluster.org/mailman/listinfo/gluster-users


--
New PGP key: 659B 0D91 E86E 7E24 FD15  69D0 C729 21A1 293F 2D24
_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://www.gluster.org/mailman/listinfo/gluster-users





[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux