Hai all,
I tried mounting a drive on the remote server and it is mounted and when am trying to create any directory in the mounted drive : am
getting the following error :
Client machine :
******************
[root@test ]# mkdir tes1
mkdir: cannot create directory `tes1': Permission denied
server :
*********
[root@oracle oracle]# cat /etc/exports
/d03 test.sud.com.kw(rw)
/d02 test.sud.com.kw(rw)
/d05 test.sud.com.kw(rw)
where /d05 is the drive which was mounted on the client test.
******************************************************
[root@oracle oracle]# cat /etc/fstab
# This file is edited by fstab-sync - see 'man fstab-sync' for details
LABEL=/ / ext3 defaults 1 1
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
none /proc proc defaults 0 0
LABEL=/stage /stage ext3 defaults 1 2
none /sys sysfs defaults 0 0
LABEL=SW-cciss/c0d0p3 swap swap defaults 0 0
/dev/sda5 /d01 ext3 defaults 0 0
/dev/sda6 /d02 ext3 defaults 0 0
/dev/sda7 /d03 ext3 defaults 0 0
/dev/sdb /d04 ext3 defaults 0 0
/dev/sdc1 /d05 ext3 defaults 0 0
/dev/hda /media/cdrom auto pamconsole,fscontext=system_u
bject_r:removable_t,exec,noauto,managed 0 0
*****************************************************************
where /d05 is the drive mounted on the client..
etc/fstab in the client
***********************
root@test ]# cat /etc/fstab
# This file is edited by fstab-sync - see 'man fstab-sync' for details
LABEL=/1 / ext3 defaults 1 1
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
none /proc proc defaults 0 0
LABEL=/stage1 /stage ext3 defaults 1 2
none /sys sysfs defaults 0 0
LABEL=SW-cciss/c0d0p3 swap swap defaults 0 0
/dev/sda5 /d01 ext3 defaults 0 0
/dev/sda6 /d02 ext3 defaults 0 0
/dev/sda7 /d03 ext3 defaults 0 0
oracle:/d05 /d08 nfs defaults 0 0oracle:/d02 /oracle nfs defaults 0 0
/dev/hdb /media/cdrecorder auto pamconsole,fscontext=system_u
bject_r:removable_t,exec,noauto,managed 0 0
*********************************************************************
where /d08 is the drive am mouting in the client machine..
Please help
Yusuf