From: rxknhe <rx...@gm...> - 2011-06-06 18:01:18
|
In /etc/fstab put a line like below. (Assuming mount point as /net/mfs/foo and replace other parameters below for your setup) mfsmount /net/mfs/foo fuse mfsmaster=mfsmaster-foo.example.com,mfssubfolder=/ 0 0 then in /etc/rc.local put a line *mount /net/mfs/foo* (or you can put a mfsmount command directly in /etc/rc.local, that is executed last in the boot process after all init scripts.) ------ Other option is to use automounter. This will automatically mount a filesystem when accessed a path. Corresponding Automounter setup example here to mount /net/mfs/foo File /etc/auto.master:: /net/mfs /etc/auto.mfs --timeout=120 File /etc/auto.mfs:: foo -fstype=fuse,mfsmaster=mfsmaster-foo.example.com,mfssubfolder=/ \:mfsmount On Mon, Jun 6, 2011 at 1:44 PM, Stas Oskin <sta...@gm...> wrote: > Hi. > > Can you give some example, or point me to any resource explaining how to do > it? > > Thanks. > > > On Mon, Jun 6, 2011 at 8:38 PM, Ricardo J. Barberis < > ric...@da...> wrote: > >> El Lunes 06 Junio 2011, Stas Oskin escribió: >> >> > Hi. >> > >> > I have chunk-servers working as client of themselves, and I have an >> issue >> > of mounting the file system via fstab, as it happens before the >> > chunk-server was launched. >> > >> > What would be the best method of re-mounting the fstab, after the >> > chunk-server came up? >> > >> > Thanks. >> >> You could modify /etc/fstab so the filesystem doesn't get mounted by >> default >> and mount it from /etc/rc.local or similar. >> >> Regards, >> -- >> Ricardo J. Barberis >> Senior SysAdmin / ITI >> Dattatec.com :: Soluciones de Web Hosting >> Tu Hosting hecho Simple! >> >> >> ------------------------------------------------------------------------------ >> Simplify data backup and recovery for your virtual environment with >> vRanger. >> Installation's a snap, and flexible recovery options mean your data is >> safe, >> secure and there when you need it. Discover what all the cheering's about. >> Get your free trial download today. >> http://p.sf.net/sfu/quest-dev2dev2 >> _______________________________________________ >> moosefs-users mailing list >> moo...@li... >> https://lists.sourceforge.net/lists/listinfo/moosefs-users >> > > > > > ------------------------------------------------------------------------------ > Simplify data backup and recovery for your virtual environment with > vRanger. > Installation's a snap, and flexible recovery options mean your data is > safe, > secure and there when you need it. Discover what all the cheering's about. > Get your free trial download today. > http://p.sf.net/sfu/quest-dev2dev2 > _______________________________________________ > moosefs-users mailing list > moo...@li... > https://lists.sourceforge.net/lists/listinfo/moosefs-users > > |