Josep Manel Andrés
2016-Oct-19 16:17 UTC
[Gluster-users] gluster volume not mounted on boot
Hi , I am trying to mount a volume during boot time, here are the logs from boot.log, everything seems ok: [ OK ] Started GlusterFS, a clustered file-system server. [ OK ] Reached target Network is Online. Starting Login and scanning of iSCSI devices... Mounting /glusterfs-data... [ OK ] Started Login and scanning of iSCSI devices. [ OK ] Mounted /glusterfs-data. I am running : Repository: GlusterFS-3.8 (SLE_12_SP1) Name: glusterfs Version: 3.8.0-100.1 but when I do df , no volume has been mounted: 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 10M 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 805M 97G 1% /var/log Any hint? Cheers. -- 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
Lindsay Mathieson
2016-Oct-19 20:19 UTC
[Gluster-users] gluster volume not mounted on boot
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) -- Lindsay Mathieson
On Wed, Oct 19, 2016 at 06:17:07PM +0200, Josep Manel Andr?s wrote:> Hi , > I am trying to mount a volume during boot time, here are the logs fromIs your client also your server ? If yes, the problem is that gluster hasn't started yet when fstab is processed, we use autofs as a workaround. -- Kevin Lemonnier PGP Fingerprint : 89A5 2283 04A0 E6E9 0111 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 801 bytes Desc: Digital signature URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20161020/623f9803/attachment.sig>