From: Max <ma...@ag...> - 2012-01-10 19:27:53
|
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! |
From: Benjamin A. <bs...@la...> - 2012-01-10 22:27:39
|
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 |
From: Max <ma...@ag...> - 2012-01-12 18:54:18
|
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 |
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 > > |
From: Michał B. <mic...@ge...> - 2012-01-12 09:50:51
|
Hi Max! User running mfsmaster process needs to have write privileges to its working folder. What do you have in your mfsmaster.cfg at DATA_PATH and WORKING_USER options? If your user is 'mfs' you shoud have 'WORKING_USER = mfs'. By default DATA_PATH points to '/usr/local/var/mfs' - you need to check if 'mfs' user has write privilege to this folder (the best if 'mfs' user was the owner of this folder). Kind regards Michał Borychowski MooseFS Support Manager _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Gemius S.A. ul. Wołoska 7, 02-672 Warszawa Budynek MARS, klatka D Tel.: +4822 874-41-00 Fax : +4822 874-41-01 -----Original Message----- From: Max [mailto:ma...@ag...] Sent: Tuesday, January 10, 2012 8:01 PM To: moo...@li... Subject: [Moosefs-users] Trying to install MooseFS but EACCES error 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 |