夏期劇場 夏期劇場 - 22 days ago 5
Linux Question

Linux: "fstab" with additional mount options?

I'm using "GlusterFS" Client, to mount the GlusterFS Volume on my Web Server. Below is the MOUNT command when i manually mount from commandline:

# mount -t glusterfs -o aux-gfid-mount gluster1:/gv0 /var/www/html


I don't know how to put that
-o aux-gfid-mount
option inside the
/etc/fstab
. So my
fstab
is still, lacking of that option:

gluster1:/gv0 /var/www/html/ glusterfs defaults,_netdev,fetch-attempts=5 0 0


How do i put that
-o aux-gfid-mount
option inside the
fstab
please?

Answer

As per my comment:

gluster1:/gv0 /var/www/html/ glusterfs defaults,_netdev,aux-gfid-mount,fetch-attempts=5 0 0