- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: NFS/NAS ls problem
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2012 10:05 PM
04-30-2012 10:05 PM
NFS/NAS ls problem
hi guys,
i have a network drive mounted by sys admin, I dont have root privilege.
192.168.10.13:/vol/staging/disk1 /disk1 nfs rw 0 2
i can not ls all the files on this file system but if i list individual files it can be displayed ....
e.g.
hosta: /disk1/path/to/file> ls -lart file1
file1 not found
hosta: /disk1/path/to/file> ls -lart
-rw-rw-r-- 1 user1 group1 7920222 Apr 30 16:26 server1.log
-rw-rw-r-- 1 user1 group1 10485827 Apr 30 23:33 server2.log
-rw-rw-r-- 1 user1 group1 10485903 Apr 30 23:34 servier3.log
hosta: /disk1/path/to/file> touch file1
hosta: /disk1/path/to/file> ls -lart
-rw-rw-r-- 1 user1 group1 7920222 Apr 30 16:26 server1.log
-rw-rw-r-- 1 user1 group1 10485827 Apr 30 23:33 server2.log
-rw-rw-r-- 1 user1 group1 10485903 Apr 30 23:34 servier3.log
hosta: /disk1/path/to/file> ls -lart file1
-rw-r--r-- 1 user1 group1 0 May 1 01:00 file1
i m sure there is no hidden characters in the file name, what could be the reason that the file1 can not be shown by ls -lart ?
Thanks !
- Tags:
- NFS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2012 11:07 AM
05-01-2012 11:07 AM
Re: NFS/NAS ls problem
Does "file1" ever show up in the ls output or only when specified? I'm wondering if this is a caching problem and it's taking a long time for the directory cache on your NFS client to expire and get new information that includes "file1".
I'd say you could try testing by disabling caching by mounting with the "noac" option, but since you don't have admin privs I guess you'll have to ask someone else to do that for you.
Dave
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2012 10:11 AM
05-02-2012 10:11 AM
Re: NFS/NAS ls problem
>> Does "file1" ever show up in the ls output or only when specified?
only when specified then it will show up .....
Thanks for the suggestion, I will discuss it with SA .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2012 11:25 AM
05-02-2012 11:25 AM
Re: NFS/NAS ls problem
Ran,
What is the permission showing in the parent directory.
ls -ld /disk1/path/to/file/
It could be a permission related issue,
Please check/add perm with the help of SA/NAS admin, and thenyou can try again,
Hth,
Raj D.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2012 12:57 PM
05-02-2012 12:57 PM
Re: NFS/NAS ls problem
parent dir permission is
drwxr-xr-x 3 user1 group1 14860288 May 2 15:52 /path/to/file
i will check with admins. Thanks for your reply.