简体   繁体   English

Linux:带有附加安装选项的“ fstab”?

[英]Linux: “fstab” with additional mount options?

I'm using "GlusterFS" Client, to mount the GlusterFS Volume on my Web Server. 我正在使用“ GlusterFS”客户端在我的Web服务器上安装GlusterFS卷。 Below is the MOUNT command when i manually mount from commandline: 下面是我从命令行手动挂载时的MOUNT命令:

# 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 . 我不知道如何将-o aux-gfid-mount选项放在/etc/fstab So my fstab is still, lacking of that option: 所以我的fstab仍然没有该选项:

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? 我如何将-o aux-gfid-mount选项放入fstab

根据我的评论:

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM