Duke-UNC Brain Imaging and Analysis Center
BIAC Forums | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password   Forgot your Password?
 All Forums
 Support Forums
 Cluster Support
 Read Only File System?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

vvs4
Junior Member

USA
40 Posts

Posted - Jun 30 2010 :  07:15:53 AM  Show Profile  Visit vvs4's Homepage  Send vvs4 an AOL message  Reply with Quote
Hi,

I have a pretty simple error that I'm hoping will be a breeze to solve! I have a little script that does some analysis and then at the end copies some of the output to a different spot, for example:

cp wmsdns01-0005-00001-000001-01.nii $SPGR_OUTDIR/wmsdns01_05.nii

However, the copy doesn't work, and I get the following error:

cp: cannot create regular file `/wmsdns01_05.nii': Read-only file system

Read only file system? What? I was trying to troubleshoot online an I read something about people encountering this when a disk was re-mounted... but it doesn't make sense that I wouldn't be able to manipulate files because the analysis itself worked.

Many thanks for your help!


Best,

Vanessa

josh.bizzell
BIAC Staff

USA
118 Posts

Posted - Jun 30 2010 :  09:27:05 AM  Show Profile  Reply with Quote
Vanessa

Any idea what the variable $SPGR_OUTDIR is being set to?
(you could do "echo $SPGR_OUTDIR" before your copy command to print it to your output log file)

Josh
Go to Top of Page

vvs4
Junior Member

USA
40 Posts

Posted - Jun 30 2010 :  09:36:29 AM  Show Profile  Visit vvs4's Homepage  Send vvs4 an AOL message  Reply with Quote
ah! I just found the error. When I set the output directory variable, I did "SPRG_OUTPUT," which is of course, incorrect. So I was trying to copy them to a directory that didn't exist! That's very silly :P Thanks for helping me figure this out - I will know what to look for next time!

Best,

Vanessa

-Vanessa
Go to Top of Page

petty
BIAC Staff

USA
453 Posts

Posted - Jun 30 2010 :  10:12:00 AM  Show Profile  Reply with Quote
just as an FYI... all the cluster nodes have a "read-only" filesystem because they are sharing the same disk image. there are certain exceptions that have been set-up like $TMPDIR that are writeable, so you can only write things to the local machine if you are using the temporary space
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
BIAC Forums © 2000-2010 Brain Imaging and Analysis Center Go To Top Of Page
This page was generated in 0.48 seconds. Snitz Forums 2000