| Author |
Topic  |
|
|
vvs4
Junior Member
 
USA
40 Posts |
Posted - Jun 30 2010 : 07:15:53 AM
|
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
|
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 |
 |
|
|
vvs4
Junior Member
 
USA
40 Posts |
Posted - Jun 30 2010 : 09:36:29 AM
|
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 |
 |
|
|
petty
BIAC Staff
    
USA
453 Posts |
Posted - Jun 30 2010 : 10:12:00 AM
|
| 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 |
 |
|
| |
Topic  |
|