Automount FS (from NAS) and file issues


 
Thread Tools Search this Thread
Operating Systems Solaris Automount FS (from NAS) and file issues
# 1  
Old 07-14-2010
Automount FS (from NAS) and file issues

Folks,
I hope you can help me. I am automounting a filesystem shared from a NAS.

I can create files on the nas, and delete them.

When I go to compress with gzip the command failed saying "Not owner".

Compressing the file with 'compress' works but still gives the same error.

I can't chown or chgrp the files.

I can add data to a text file and shrink it when I remove characters.

My /etc/auto_master looks like this ->

Code:
# Master map for automounter
#
+auto_master
/net            -hosts          -nosuid,nobrowse
/home           auto_home       -nobrowse
/nas            auto_nas        -nosuid,nobrowse,soft,timeo=100,retrans=4

My /etc/auto_nas looks like this

Code:
<directory> hostname:/shared_out_directory

Nothing special is being set by my NAS guys.

Any clues?

Last edited by aleith; 07-15-2010 at 12:27 AM..
# 2  
Old 07-15-2010
Is is possible that ACLs are in play? Roles (RBAC)?

What user? What exactly did you type? What exactly came back.
# 3  
Old 07-15-2010
Quote:
Originally Posted by cjcox
Is is possible that ACLs are in play? Roles (RBAC)?

What user? What exactly did you type? What exactly came back.
Here 'tis...

Code:
myserver:root /my_nas_dir/my_nas_sub_dir/my_test_dir # touch test
myserver:root /my_nas_dir/my_nas_sub_dir/my_test_dir # ls -al test
-rwxrwxrwx   1 root     root           0 Jul 15 13:44 test
myserver:root /my_nas_dir/my_nas_sub_dir/my_test_dir # df -h>> test
myserver:root /my_nas_dir/my_nas_sub_dir/my_test_dir # df -h>> test
myserver:root /my_nas_dir/my_nas_sub_dir/my_test_dir # ls -al test
-rwxrwxrwx   1 root     root        6188 Jul 15 13:44 test
myserver:root /my_nas_dir/my_nas_sub_dir/my_test_dir # chown some_other_user test
chown: test: Not owner
myserver:root /my_nas_dir/my_nas_sub_dir/my_test_dir # gzip test
gzip: test.gz: Not owner
myserver:root /my_nas_dir/my_nas_sub_dir/my_test_dir # compress test
test.Z: Not owner
myserver:root /my_nas_dir/my_nas_sub_dir/my_test_dir # ls -al test*
-rwxrwxrwx   1 root     root        2114 Jul 15 13:44 test.Z
myserver:root /my_nas_dir/my_nas_sub_dir/my_test_dir # uncompress test.Z
test: Not owner
myserver:root /my_nas_dir/my_nas_sub_dir/my_test_dir # ls -al tes*
-rwxrwxrwx   1 root     root        6188 Jul 15 13:44 test
myserver:root /my_nas_dir/my_nas_sub_dir/my_test_dir # rm test

And the flags for this automounted fs: -

Code:
/my_nas_dir/my_nas_sub_dir on my_nas_server:my_nas_share remote/read/write/nosuid/soft/timeo=100/retrans=4/xattr/dev=52c11a9 on Thu Jul 15 13:43:57 2010

(Actual path hostnames of course modified for security)
# 4  
Old 07-15-2010
Hi

you do not have full permission from storage, get full permission, check with "showmount -e storage" "dfshare -h storagename"

Regards
Aftab
# 5  
Old 07-15-2010
Quote:
Originally Posted by m_aftab
Hi

you do not have full permission from storage, get full permission, check with "showmount -e storage" "dfshare -h storagename"

Regards
Aftab
Output from the two commands :-

Code:
myserver:root / # showmount -e my_nas_server
export list for my_nas_server:
/vol/my_nas_dir/my_directory          (everyone)

myserver:root / # dfshares -h my_nas_server
my_nas_server:/vol/my_nas_dir/my_directory    my_nas_server  -         -

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Backup for NAS huge File system

Gents, I have NAS File System mounted in Solaris as \Sysapp with size 8 TB the problem once the backup stared it is impacting the performance of the OS. Do you have any idea how to can we backup this FS with fast scenario without impacting the OS. Backup type : Netbackup (3 Replies)
Discussion started by: AbuAliiiiiiiiii
3 Replies

2. Red Hat

Related to "NAS" some file system (mounted volumes) were not writable

Dear friends, I have been facing an issue with one of my red hat unix machine, suddenly lost to switch sudo users. My all colleagues lost to switch to access sudo users. Then, we have realized its related to NAS issue which does not allowing to write the file. because of this we got so many... (1 Reply)
Discussion started by: Chand
1 Replies

3. UNIX for Dummies Questions & Answers

Extremely slow file writing with many small files on mounted NAS

I am working on a CentOS release 6.4 server which has two mounted NAS devices, one with 20 x 3TB HDD running in FreeBSD with Zfs2 and one NAS which I don't know much about, but which has 7 HDDs in RAID-6. I was running tar -zxvf on a tarball that is 80Mb with 50,000 small files inside. Even... (4 Replies)
Discussion started by: TupTupBoom
4 Replies

4. Red Hat

Need help with automount.. is not working!!

When i export the directory where the data really is, i can specify which hosts can mount it. On the remote server i create a mount point directory and then mount it to the source servers directory (that has the data). I need to run my script on Server X , i would login there and type in the... (11 Replies)
Discussion started by: bkilaru
11 Replies

5. AIX

AIX 6.1 automount issues from Linux/Openfiler

Hello folks... have a problem here hopefully can find some direction with... we have a network using NIS authentication and automount for home dirs and other shared resources. Recently migrated some of our shares off of an EMC Celerra to an Openfiler solution. All of the clients in the NIS domain... (0 Replies)
Discussion started by: cruzshark
0 Replies

6. Linux

Automount problem

Hi, Please give step by step how to do automount in linux Thanks, Mani (9 Replies)
Discussion started by: Mani_apr08
9 Replies

7. Shell Programming and Scripting

automount script

I'm attempting to take an fstab that looks something like this: /proc /proc proc rw,nosuid,nodev,noexec 0 0 /sys /sys sysfs rw,nosuid,nodev,noexec 0 0 /dev/shm /dev/shm tmpfs rw,nosuid,nodev,noexec 0 0 /dev/pts /dev/pts devpts mode=0622 0 0... (6 Replies)
Discussion started by: unclecameron
6 Replies

8. UNIX for Advanced & Expert Users

AutoMount

Hi All How do I do a auto mount to a directory in a different unix server. I am using Solaris. Please advise!! TIA Jana (7 Replies)
Discussion started by: janavenki
7 Replies

9. UNIX for Advanced & Expert Users

Automount

My site has a few sun solaris server including out NIS server and NFS server on solaris machines. we also have few suse linux and redhat linux machine. All our home directory is on our NFS server(sun Solaris) and this is automounted through /etc/auto_master and /etc/auto_home this worked fine... (1 Reply)
Discussion started by: hassan2
1 Replies

10. UNIX for Advanced & Expert Users

automount

I install an external disk on my sun solaris 8 this went fine and I was able to access all filesystem on the disk. the new disk is mounted on /local then 6 hours later files under /local/files was 1 byte in size at the same time I received the following error message in... (4 Replies)
Discussion started by: hassan2
4 Replies
Login or Register to Ask a Question