Re: [Gluster-devel] NFS problem (write error: Operation not permitted)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi avati,

Yes I did already following the README.NFS from fuse source
package. 

I tried with fsid=0 and fsid=1.
I also tried to mount it with vers=2, vers=3 and vers=4
(using protocol V2, V3 and V4 of NFS).
I tried locally (on fedora fc4 linux box) with kernel
2.6.15-1.1833_FC4 and kernel 
2.6.17-1.2142_FC4
I tried with Aix and linux client.

Nothing change. Does it work for you ? 

The test is trivial:
1) mount /gfs file on another directory
mount --bind /gfs/fs1 /export/fs2
2) Export it for localhost
cat >> /etc/exports <<!
/export/fs2 localhost(rw,insecure,sync,fsid=0)
!

restart NFS:
nfs_shut()
{
service nfs stop                #K20
service rpcidmapd stop          #K68
/etc/init.d/rpcgssd stop        #K69
/etc/init.d/rpcsvcgssd stop     #K69
service nfslock stop            #K86
service portmap stop            #K87
}
nfs_shut

nfs_start()
{
exportfs -ra
service portmap start           #K87
sleep 2
service nfs start               #K20
sleep 2
service nfslock start           #K86
}
nfs_start

3) mount it locally
mount -o vers=3 localhost:/export/fs2 /gfs/nfs1
4) try it
touch /gfs/nfs1/file  # work
rm /gfs/nfs1/file # work
ls > /gfs/nfs1/file # fail


Regards FT


------------------------ ALICE C'EST ENCORE MIEUX AVEC CANAL+ LE BOUQUET ! ---------------
Découvrez vite l'offre exclusive ALICEBOX et CANAL+ LE BOUQUET, en cliquant ici http://alicebox.fr
Soumis à conditions.






[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux