[Bugs] [Bug 1340935] New: Automount fails because /sbin/ mount.glusterfs does not accept the -s option

bugzilla at redhat.com bugzilla at redhat.com
Mon May 30 18:57:26 UTC 2016


https://bugzilla.redhat.com/show_bug.cgi?id=1340935

            Bug ID: 1340935
           Summary: Automount fails because /sbin/mount.glusterfs does not
                    accept the -s option
           Product: GlusterFS
           Version: 3.8.0
         Component: fuse
          Assignee: ndevos at redhat.com
          Reporter: ndevos at redhat.com
                CC: bugs at gluster.org



Created attachment 1162954
  --> https://bugzilla.redhat.com/attachment.cgi?id=1162954&action=edit
/etc/auto.lan that enables automounting Gluster volumes

Description of problem:
automounting fails with the following error:

$ ls /lan/storage.lan.example.net/repos
ls: cannot open directory /lan/storage.lan.example.net/repos: Too many levels
of symbolic links


Version-Release number of selected component (if applicable):
3.8rc2

How reproducible:
100%

Steps to Reproduce:
0. install the autofs package
1. save the attached auto.lan as /etc/auto.lan and make executable
2. add a file /etc/auto.master.d/lan.autofs with the following contents
    /lan    /etc/auto.lan
3. enable the autofs service
4. access /lan/<storage-server>/<volume>/

Actual results:
Too many levels of symbolic links

Expected results:
access through /lan/... should just work

Additional info:
Enable debugging by putting OPTIONS="-d" in /etc/sysconfig/autofs and restart
autofs:

attempting to mount entry /lan/storage.lan.nixpanic.net/tftpboot
lookup_mount: lookup(program): /lan/storage.lan.nixpanic.net/tftpboot ->
-fstype=glusterfs,nodev,nosuid storage.lan.nixpanic.net:/tftpboot
parse_mount: parse(sun): expanded entry: -fstype=glusterfs,nodev,nosuid
storage.lan.nixpanic.net:/tftpboot
parse_mount: parse(sun): gathered options: fstype=glusterfs,nodev,nosuid
sun_mount: parse(sun): mounting root /lan/storage.lan.nixpanic.net/tftpboot,
mountpoint /lan/storage.lan.nixpanic.net/tftpboot, what
storage.lan.nixpanic.net:/tftpboot, fstype glusterfs, options nodev,nosuid
do_mount: storage.lan.nixpanic.net:/tftpboot
/lan/storage.lan.nixpanic.net/tftpboot type glusterfs options nodev,nosuid
using module generic
mount_mount: mount(generic): calling mkdir_path
/lan/storage.lan.nixpanic.net/tftpboot
mount_mount: mount(generic): calling mount -t glusterfs -s -o nodev,nosuid
storage.lan.nixpanic.net:/tftpboot /lan/storage.lan.nixpanic.net/tftpboot
spawn_mount: mtab link detected, passing -n to mount
>> /sbin/mount.glusterfs: illegal option -- s
>> Usage: /sbin/mount.glusterfs <volumeserver>:<volumeid/volumeport> -o<options> <mountpoint>
>> Options:
>> man 8 /sbin/mount.glusterfs
>> To display the version number of the mount helper: /sbin/mount.glusterfs -V
mount_mount: mount(generic): mounted storage.lan.nixpanic.net:/tftpboot type
glusterfs on /lan/storage.lan.nixpanic.net/tftpboot

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=sDS6p03kwt&a=cc_unsubscribe


More information about the Bugs mailing list