HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Negative "Link count" showing in the ls -ld ou...
Operating System - HP-UX
1834831
Members
3253
Online
110070
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
07-21-2006 07:38 AM
07-21-2006 07:38 AM
Negative "Link count" showing in the ls -ld output.
Hi,
I have this strange issue of having the Link count of a FS, showing as negative. Could anyone please help me......How to overcome that.
adeda22p:root [/eb_rak0_p/software/kintana] ls -ld logs
drwxr-xr-x -2 kintana kintana 1434624 Jul 21 15:18 logs/
adeda22p:root [/eb_rak0_p/software/kintana] cd logs
adeda22p:root [/eb_rak0_p/software/kintana/logs] mkdir test
mkdir: cannot access .: Permission denied
adeda22p:root [/eb_rak0_p/software/kintana/logs]
Thanks,
Sarwar.
I have this strange issue of having the Link count of a FS, showing as negative. Could anyone please help me......How to overcome that.
adeda22p:root [/eb_rak0_p/software/kintana] ls -ld logs
drwxr-xr-x -2 kintana kintana 1434624 Jul 21 15:18 logs/
adeda22p:root [/eb_rak0_p/software/kintana] cd logs
adeda22p:root [/eb_rak0_p/software/kintana/logs] mkdir test
mkdir: cannot access .: Permission denied
adeda22p:root [/eb_rak0_p/software/kintana/logs]
Thanks,
Sarwar.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2006 09:13 AM
07-21-2006 09:13 AM
Re: Negative "Link count" showing in the ls -ld output.
The only times I have ever seen negative link count values have been as a result of a signed integer overflow so that you might see something like -32767. However, the fact that this is -2 makes that unlikely and that is probably a flag value. The very first thing that I would do is umount this filesystem and run fsck on it.
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2006 09:26 AM
07-21-2006 09:26 AM
Re: Negative "Link count" showing in the ls -ld output.
doesn't look good. Anything in lost+found on the FS? Probably will want to run a full fsck regardless and hope for the best.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP