From: Allen, B. S <bs...@la...> - 2012-01-12 18:37:29
|
Max, Just set the root of the MFS from a client to whichever goal you want using the "mfssetgoal" command. Any newly created directories or files will inherit from its parent. To illustrate the behavior: $ mkdir test $ mfssetgoal 1 test test: 1 $ cd test $ touch test_file1 $ mfsgetgoal test_file1 test_file1: 1 $ cd .. $ mfssetgoal 3 test test: 3 $ cd test $ mfsgetgoal test_file1 test_file1: 1 $ touch test_file3 $ mfsgetgoal test_file3 test_file3: 3 Ben On Jan 12, 2012, at 11:27 AM, Max wrote: > Thank you guys! > > It works perfectly now! This system is absolutely great! > > I have another question: Is is possible to set a default goal for the > whole server? (Actual files plus any future file)? > > Thank you! > > On Tue, 2012-01-10 at 15:27 -0700, Benjamin Allen wrote: >> Max, >> >> In your mfsmaster.cfg set DATA_PATH to somewhere that is writable by WORKING_USER. Otherwise create and chown the directory its attempting to use (typically /var/mfs). Mfschunkserver, and mfsmetalogger have the same configuration variable and the same requirement of having a writable data directory. >> >> Ben >> >> On Jan 10, 2012, at 12:00 PM, Max wrote: >> >>> Hello! >>> >>> I am actually trying to install MooseFS with your step-by-step guide on >>> http://www.moosefs.org/tl_files/manpageszip/moosefs-step-by-step-tutorial-v.1.1.pdf >>> >>> Every step worked fine until I try to >>> #/usr/sbin/mfsmaster start >>> for the first time. I get this error: >>> "can't create lockfile in working directory: EACCES (Permission denied)" >>> >>> User mfs is part of the mfs group. I tried as root, as mfs and as >>> myself. >>> >>> Machine is: >>> Distributor ID: Ubuntu >>> Description: Ubuntu 8.04.4 LTS >>> Release: 8.04 >>> Codename: hardy >>> >>> Chunkservers are going to be Fedora 15 and ext3. >>> >>> Any idea? could it be a directory missing or something like that? >>> >>> Thank you! >>> >>> >>> ------------------------------------------------------------------------------ >>> Write once. Port to many. >>> Get the SDK and tools to simplify cross-platform app development. Create >>> new or port existing apps to sell to consumers worldwide. Explore the >>> Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join >>> http://p.sf.net/sfu/intel-appdev >>> _______________________________________________ >>> moosefs-users mailing list >>> moo...@li... >>> https://lists.sourceforge.net/lists/listinfo/moosefs-users > > |