Check the permissions on the directory where the file system is mounted. If
only root can write to that directory, then that is likely why. You could
either change those permissions to allow write access as needed or you could
require that any writes to the OrangeFS file system by users other than root
occur in a subdirectory that has appropriate permissions.

 

Hope that helps,

Elaine

 

From: [email protected]
[mailto:[email protected]] On Behalf Of Ionescu,
A.
Sent: Tuesday, March 06, 2012 9:46 AM
To: [email protected]
Subject: [Pvfs2-users] "Permission denied" issue

 

Dear Pvfs2 users,

I've just installed Orangefs 2.8.5 on two nodes of a small cluster and I'm
facing the following problem:  I keep getting "Permission denied" errors
whenever I try to create a new file or directory on the virtual volume.
However, pvfs2-mkdir and pvfs2-cp work fine and the files thus created can
be removed with the regular rm command on the mounted volume. Note that I
have been running everything as root.

Both nodes run Centos 6.2 (Linux kernel version 2.6.32-220.el6.x86_64) and I
chose --with-openib and --without-bm-tcp. Only the node01 is a metadata
server and therefore, when mounting, I used the following command: 

#mount -t pvfs2 ib://node01:3335/pvfs2-fs /mnt/pvfs2

I would really appreciate your help on this issue and I'd be happy to
provide any information you might need.

Thanks,
Adrian

  _____  

#cat /etc/pvfs2-fs.conf
/etc/pvfs2-fs.conf 
<Defaults>
    UnexpectedRequests 50
    EventLogging none
    EnableTracing no
    LogStamp datetime
    BMIModules bmi_ib
    FlowModules flowproto_multiqueue
    PerfUpdateInterval 1000
    ServerJobBMITimeoutSecs 30
    ServerJobFlowTimeoutSecs 30
    ClientJobBMITimeoutSecs 300
    ClientJobFlowTimeoutSecs 300
    ClientRetryLimit 5
    ClientRetryDelayMilliSecs 2000
    PrecreateBatchSize 0,32,512,32,32,32,0
    PrecreateLowThreshold 0,16,256,16,16,16,0

    DataStorageSpace /mnt/md0/orangefs/storage
    MetadataStorageSpace /mnt/md0/orangefs/metadata

    LogFile /mnt/md0/orangefs/server.log
</Defaults>

<Aliases>
    Alias NLAM-CLUSTER01 ib://NLAM-CLUSTER01:3335
    Alias NLAM-CLUSTER02 ib://NLAM-CLUSTER02:3335
</Aliases>

<Filesystem>
    Name pvfs2-fs
    ID 1740101641
    RootHandle 1048576
    FileStuffing no
    <MetaHandleRanges>
        Range NLAM-CLUSTER01 3-3074457345618258603
    </MetaHandleRanges>
    <DataHandleRanges>
        Range NLAM-CLUSTER01 3074457345618258604-6148914691236517204
        Range NLAM-CLUSTER02 6148914691236517205-9223372036854775805
    </DataHandleRanges>
    <StorageHints>
        TroveSyncMeta yes
        TroveSyncData no
        TroveMethod alt-aio
    </StorageHints>
</Filesystem>

_______________________________________________
Pvfs2-users mailing list
[email protected]
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users

Reply via email to