All, After I followed this post for creating mirror ispconfig, the glusterfs-server will not work normally to mount the volume. I added following line to fstab and run " mount -a". It is fine to mount the volume. After I restart the server, the volumes will not be mount and show df: `/var/lib/mysql/.': Transport endpoint is not connected df: no file systems processed /etc/rc2.d/S19mysql: ERROR: The partition with /var/lib/mysql is too full! failed! And run df, will show below : df: `/var/lib/mysql': Transport endpoint is not connected df: `/var/vmail': Transport endpoint is not connected df: `/var/www': Transport endpoint is not connected Anyone can help me to solve the problem.
Have you tried to add Code: mount -a to /etc/rc.local? /etc/rc.local is run at the end of the boot process, after all other services have started. Maybe that solves the problem.
Falko, Thanks for reply. I added to rc.local but the problem still happen. It seem to be boot order issue with following setting : ------------------------------- Change the GlusterFS boot order to ensure that the GlusterFS server gets always started before MySQL. mv /etc/rc2.d/S20glusterfs-server /etc/rc2.d/S19glusterfs-server mv /etc/rc3.d/S20glusterfs-server /etc/rc3.d/S16glusterfs-server mv /etc/rc4.d/S20glusterfs-server /etc/rc4.d/S16glusterfs-server mv /etc/rc5.d/S20glusterfs-server /etc/rc5.d/S16glusterfs-server -------------------------------------- Any idea above boot order ?? I try to change to S13 but still not mount.
falk, Please see below output and waiting your advise, drwxr-xr-x 2 root root 4096 2010-11-12 00:12 . drwxr-xr-x 89 root root 4096 2010-11-12 08:39 .. -rw-r--r-- 1 root root 556 2008-08-12 22:09 README lrwxrwxrwx 1 root root 17 2010-11-06 23:34 S10rsyslog -> ../init.d/rsyslog lrwxrwxrwx 1 root root 15 2010-11-06 23:36 S12acpid -> ../init.d/acpid lrwxrwxrwx 1 root root 15 2010-11-08 17:18 S15bind9 -> ../init.d/bind9 lrwxrwxrwx 1 root root 26 2010-11-08 17:26 S16glusterfs-server -> ../init.d/glusterfs-server lrwxrwxrwx 1 root root 13 2010-11-09 00:09 S16ssh -> ../init.d/ssh lrwxrwxrwx 1 root root 23 2010-11-08 16:47 S17mysql-ndb-mgm -> ../init.d/mysql-ndb-mgm lrwxrwxrwx 1 root root 19 2010-11-08 16:47 S18mysql-ndb -> ../init.d/mysql-ndb lrwxrwxrwx 1 root root 16 2010-11-08 16:52 S19amavis -> ../init.d/amavis lrwxrwxrwx 1 root root 15 2010-11-08 16:47 S19mysql -> ../init.d/mysql lrwxrwxrwx 1 root root 22 2010-11-08 16:52 S19spamassassin -> ../init.d/spamassassin lrwxrwxrwx 1 root root 23 2010-11-08 16:52 S20clamav-daemon -> ../init.d/clamav-daemon lrwxrwxrwx 1 root root 26 2010-11-08 16:52 S20clamav-freshclam -> ../init.d/clamav-freshclam lrwxrwxrwx 1 root root 15 2010-11-06 23:51 S20exim4 -> ../init.d/exim4 lrwxrwxrwx 1 root root 20 2010-11-06 23:51 S20nfs-common -> ../init.d/nfs-common lrwxrwxrwx 1 root root 23 2010-11-06 23:51 S20openbsd-inetd -> ../init.d/openbsd-inetd lrwxrwxrwx 1 root root 17 2010-11-08 16:47 S20postfix -> ../init.d/postfix lrwxrwxrwx 1 root root 25 2010-11-08 17:11 S20pure-ftpd-mysql -> ../init.d/pure-ftpd-mysql lrwxrwxrwx 1 root root 18 2010-11-08 17:11 S21quotarpc -> ../init.d/quotarpc lrwxrwxrwx 1 root root 13 2010-11-09 00:36 S23ntp -> ../init.d/ntp lrwxrwxrwx 1 root root 17 2010-11-08 16:56 S24dovecot -> ../init.d/dovecot lrwxrwxrwx 1 root root 13 2010-11-06 23:51 S89atd -> ../init.d/atd lrwxrwxrwx 1 root root 14 2010-11-06 23:34 S89cron -> ../init.d/cron lrwxrwxrwx 1 root root 17 2010-11-08 16:54 S91apache2 -> ../init.d/apache2 lrwxrwxrwx 1 root root 18 2010-11-08 17:25 S99fail2ban -> ../init.d/fail2ban lrwxrwxrwx 1 root root 18 2010-11-06 23:34 S99rc.local -> ../init.d/rc.local lrwxrwxrwx 1 root root 19 2010-11-06 23:34 S99rmnologin -> ../init.d/rmnologin lrwxrwxrwx 1 root root 23 2010-11-06 23:34 S99stop-bootlogd -> ../init.d/stop-bootlogd
Try to start glusterfs-server even earlier, e.g. use S14glusterfs-server instead of S16glusterfs-server.
falk, The problem solved by your suggestion. I want to say thanks. And I also added "_netdev" in fstab for all gluster mount point. It is working normal now... thanks Keith
Hello Keith I had the same problem an have solved it in the way above e.g. S14gluster-server ... the question is ... how looks the line you have _netdev added /etc/glusterfs/glusterfs-mysql.vol /var/lib/mysql glusterfs defaults 0 0 thanks a stack hel