[Gluster-users] gluster volume not mounted on boot

Josep Manel Andrés josep.andres at bsc.es
Thu Oct 20 06:32:50 UTC 2016


opsld04:/etc/tls/certs # cat /etc/fstab
UUID=9ad7cc4f-cafd-49fc-b0b0-4e68e118db46 swap                 swap 
   defaults              0 0
UUID=3307f813-d80b-49fa-a5f2-bc7b6b6ebdbc /                    ext4 
   acl,user_xattr        1 1
UUID=6E03-6160       /boot/efi            vfat 
umask=0002,utf8=true  0 0
UUID=bd565012-d92e-4686-b5de-e9ee92912355 /opt                 ext4 
   acl,user_xattr        1 2
UUID=f8f9eb7b-2044-46c4-9356-8c161805294d /tmp                 ext4 
   acl,user_xattr        1 2
UUID=568219ac-ea32-457e-b598-28f10c802dae /var/log             ext4 
   acl,user_xattr        1 2
/dev/sdb1                                 /mnt/.bricks         ext4 
   rw                    0 1
gluster2:/volume1                         /glusterfs-data      glusterfs 
  defaults,_netdev      0 0



And if I do mount -a, it just works:
opsld04:/etc/tls/certs # mount -a
opsld04:/etc/tls/certs # df -h
Filesystem         Size  Used Avail Use% Mounted on
/dev/sda2          119G  3.0G  115G   3% /
devtmpfs            16G     0   16G   0% /dev
tmpfs               16G     0   16G   0% /dev/shm
tmpfs               16G   26M   16G   1% /run
tmpfs               16G     0   16G   0% /sys/fs/cgroup
/dev/sdb1          3.6T  1.1G  3.4T   1% /mnt/.bricks
/dev/sda1          156M   12M  145M   8% /boot/efi
/dev/sda4           26G  255M   25G   2% /tmp
/dev/sda3          302G  467M  300G   1% /opt
/dev/sda5           99G  829M   97G   1% /var/log
gluster2:/volume1  3.6T  1.1G  3.4T   1% /glusterfs-data

But I cannot find the client log you say:

opsld04:/var/log/glusterfs # l
total 15332
drwxr-xr-x  6 root root     4096 Jun 16 15:14 ./
drwxr-xr-x 16 root root     4096 Oct 19 16:39 ../
drwxr-xr-x  2 root root     4096 Jun  3 17:41 bricks/
-rw-------  1 root root    46501 Sep 15 16:45 cli.log
-rw-------  1 root root     2039 Jul 11 17:43 cmd_history.log
-rw-------  1 root root 14926967 Oct 19 16:39 etc-glusterfs-glusterd.vol.log
drwxr-xr-x  2 root root     4096 Jun  3 17:09 geo-replication/
drwxr-xr-x  3 root root     4096 Jun  3 17:09 geo-replication-slaves/
-rw-------  1 root root   452770 Oct 20 08:27 glusterfs-data.log
-rw-------  1 root root   158687 Oct 19 16:39 glustershd.log
-rw-------  1 root root    53971 Jul 11 13:53 nfs.log
drwxr-xr-x  3 root root     4096 Jun  3 17:17 snaps/


Cheers.

On 19/10/16 22:19, Lindsay Mathieson wrote:
> On 20/10/2016 2:17 AM, Josep Manel Andrés wrote:
>> Hi ,
>> I am trying to mount a volume during boot time,  here are the logs
>> from boot.log, everything seems ok:
>
> Can we see
>
> - your fstab entry for the gluster mount
>
>
> - the client log (/var/log/gluster/<mnt dir>-<volumename>.log)
>

-- 
Josep Manel Andrés (josep.andres at bsc.es)
Operations - Barcelona Supercomputing Center
C/ Jordi Girona, 31  http://www.bsc.es
08034 Barcelona, Spain Tel: +34-93-405 42 14
e-mail: systems at bsc.es Fax: +34-93-413 77 21
-----------------------------------------------

WARNING / LEGAL TEXT: This message is intended only for the use of the
individual or entity to which it is addressed and may contain
information which is privileged, confidential, proprietary, or exempt
from disclosure under applicable law. If you are not the intended
recipient or the person responsible for delivering the message to the
intended recipient, you are strictly prohibited from disclosing,
distributing, copying, or in any way using this message. If you have
received this communication in error, please notify the sender and
destroy and delete any copies you may have received.

http://www.bsc.es/disclaimer


More information about the Gluster-users mailing list