- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Very strange behaviour listing a directory
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
Discussions
Forums
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
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
тАО02-24-2011 01:10 AM
тАО02-24-2011 01:10 AM
Very strange behaviour listing a directory
This is a weird thing. We have a directory mounted over cifs from windows to hp-ux 11.11. In a particular subdirectory there are more than 400.000 files and they are seen from the windows box. But, in the unix we only see 62 files. We have found out a file is causing the
problem. If this file is removed, we can list all the files. BUT if we create a file with the same name, the ll command only
list 62 files again. We can create files with other names and it works. The name of the file is similar to others in the same subdirectory. And to get the thing worse, sometimes the ll works when the file exists and sometimes it only shows 62 files.....
HPUX:/path/path/path#touch filename.001
HPUX:/path/path/path#ll filename.001
-rwxrwxrwx 1 root sys 0 Feb 24 08:45 filename.001
HPUX:/path/path/path#ll |wc -l
62
HPUX:/path/path/path#rm filename.001
HPUX:/path/path/path#ll |wc -l
449260
HPUX:/path/path/path#
Any idea what is going on ?
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-24-2011 01:18 AM
тАО02-24-2011 01:18 AM
Re: Very strange behaviour listing a directory
What happen when executes "ll -a"?
Rgds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-24-2011 01:24 AM
тАО02-24-2011 01:24 AM
Re: Very strange behaviour listing a directory
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-24-2011 02:05 AM
тАО02-24-2011 02:05 AM
Re: Very strange behaviour listing a directory
There is nothing different with "ls -a", except the "." and ".." entries. The cifs version is:
/opt/cifsclient/sbin/cifsclientd:
$Revision: 92453-07 linker linker crt0.o B.11.37 031205 $
HP CIFS Client - Version A.02.02.01
It only happens in a subdirectory and with a file name.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-25-2011 12:39 PM - last edited on тАО08-04-2011 11:29 AM by Kevin_Paul
тАО02-25-2011 12:39 PM - last edited on тАО08-04-2011 11:29 AM by Kevin_Paul