- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - HP-UX
- >
- System Administration
- >
- Re: Very strange behaviour listing a directory
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
Re: Very strange behaviour listing a directory
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP