From: Ricardo J. B. <ric...@da...> - 2010-06-23 21:29:28
|
El Martes 22 Junio 2010, kuer ku escribió: > Hi, all, > > In document, I found that mfs can be mounted via /etc/fstab : > > http://www.moosefs.org/reference-guide.html > > As of 1.6.x the mfsmount may be set up in the /etc/fstab to facilitate > having MooseFS mounted on the system startup: > MFSMASTER_IP:9421 on /mnt/mfs type fuse.mfs (rw, nosuid, nodev, > allow_other, default_permissions) > And additionally, the system dependent mount script would need to invoke > something like mount -a -t fuse.mfs. > > > But when I try that, I failed. > > I add following to /etc/fstab : > > 192.168.0.23:9421 /var/mfs/tesa fuse.mfs rw,nosuid,nodev,allow_other 0 0 > > then reboot the machine, and no fuse.mfs auto-remount. > > So, I try this on command line : > > $ sudo mount /var/mfs/tesa > *mount: unknown filesystem type 'fuse.mfs'* > > It does not work, either. > > Is there any other setting to tell system that there is a fuse.mfs > filesystem ?? > > thanks. > > -- kuer I have MooseFS installed in CentOS 5 clients, it should work if you add this in /etc/fstab: mfsmount /mnt/mfs fuse defaults,nosuid,nodev,_netdev,mfsmaster=MASTER_IP,mfssubfolder=/ 0 0 Then edit /etc/init.d/netfs to add the next line to the "stop" section [1], so MooseFS is cleanly unmounted on shutdown: action $"Unmounting MFS filesystems: " umount -a -t fuse Lastly, to have network FSs (marked with _netdev in fstab) auto mounted on boot you have to execute: # chkconfig netfs on [1] I also have "/sbin/modprobe fuse" in the "start" section of netfs, just in case. HTH Regards, -- Ricardo J. Barberis Senior SysAdmin - I+D Dattatec.com :: Soluciones de Web Hosting Su Hosting hecho Simple..! ------------------------------------------ Nota de confidencialidad: Este mensaje y los archivos adjuntos al mismo son confidenciales, de uso exclusivo para el destinatario del mismo. La divulgación y/o uso del mismo sin autorización por parte de Dattatec.com queda prohibida. Dattatec.com no se hace responsable del mensaje por la falsificación y/o alteración del mismo. De no ser Ud. el destinatario del mismo y lo ha recibido por error, por favor notifique al remitente y elimínelo de su sistema. Confidentiality Note: This message and any attachments (the message) are confidential and intended solely for the addressees. Any unauthorised use or dissemination is prohibited by Dattatec.com. Dattatec.com shall not be liable for the message if altered or falsified. If you are not the intended addressee of this message, please cancel it immediately and inform the sender. Nota de Confidencialidade: Esta mensagem e seus eventuais anexos podem conter dados confidenciais ou privilegiados. Se você os recebeu por engano ou não é um dos destinatários aos quais ela foi endereçada, por favor destrua-a e a todos os seus eventuais anexos ou copias realizadas, imediatamente. É proibida a retenção, distribuição, divulgação ou utilização de quaisquer informações aqui contidas. Por favor, informe-nos sobre o recebimento indevido desta mensagem, retornando-a para o autor. |