- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- find: cannot stat
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
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
10-17-2011 05:47 AM
10-17-2011 05:47 AM
find: cannot stat
Hi,
when i try to execute this command
# find /comptel2/elink/data ! -user data -print
i facing this error
find: cannot stat /com/data/30/COLLECTED_0_1698/1-112/1318656117x001_0011698x_1
find: cannot stat /com/data/data/30/COLLECTED_0_1698/1-111
Although this file is available " 1318656117x001_0011698x_1 "
/com/data/30/COLLECTED_0_1698/1-112> ls
1318656117x001_0011698x_1
and this error message
Oct 17 15:21:27 ruhdbvmunix: vxfs: WARNING: msgcnt 819966 mesg 008: V-2-8: vx_direrr: vx_dirlook_4 - /com/data/30 file system dir inode 79180 dev/block 0/38715732 dirent inode 79513 error 6
and this is a file system, i using (VCS)
/dev/vx/dsk/medoffdg/datavol 1048576000 155273803 837542027 16% /com/data/30
pleas how can i resolve this issue ?
Thanks
- Tags:
- find
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2011 06:04 AM
10-17-2011 06:04 AM
Re: find: cannot stat
Hi:
It might be helpful to tell us the operating system release and particularly the version of VxFS software you are running. That said, it appears that you may have corruption of the filesystem. Unmount the filesystem and perform a full 'fsck'.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2011 06:14 AM
10-17-2011 06:14 AM
Re: find: cannot stat
> Oct 17 15:21:27 ruhdbvmunix: vxfs: WARNING: msgcnt 819966 mesg 008: V-2-8: vx_direrr: vx_dirlook_4 - /com/data/30 file system dir inode 79180 dev/block 0/38715732 dirent inode 79513 error 6
The filesystem may be corrupted (damaged). "cannot stat" means the filesystem cannot report all the fstat()/stat() information on the file, so something must be wrong with the file metadata. If you look at the problem files with "ll", do the file permissions/ownership/size etc. look sensible?
You should schedule some downtime, and then unmount the filesystem and run a full filesystem check.
You mentioned VCS (Veritas Cluster Suite?): if this filesystem is visible to multiple cluster nodes simultaneously, you'll need to unmount it from all of them before running a filesystem check.
If Serviceguard is involved, the cluster filesystem should unmount when you halt the appropriate multi-node packages. With VCS, you may have to do something similar: I'm not too familiar with VCS.
Once the filesystem is safely unmounted, a full filesystem check can be started like this:
fsck -F vxfs -o full /dev/vx/dsk/medoffdg/datavol
As this is a terabyte-sized filesystem, a full check for it may take a while.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2011 09:59 PM
10-17-2011 09:59 PM
Re: find: cannot stat
Hi,
the version of VxFS software
# fstyp -v /dev/vx/dsk/medoffdg/datavol
vxfs
version: 7
f_bsize: 8192
f_frsize: 1024
f_blocks: 1048576000
f_bfree: 892765077
f_bavail: 836967260
f_files: 223574756
f_ffree: 223191268
f_favail: 223191268
f_fsid: 33568434
f_basetype: vxfs
f_namemax: 254
f_magic: a501fcf5
f_featurebits: 0
f_flag: 16
f_fsindex: 9
f_size: 1048576000
# swlist | grep VCS
VRTSvcsvr 5.0.31.5 VERITAS Volume Replicator Agent for VCS
The operating system release is 11.31
And how can i check if this filesystem is visible to multiple cluster nodes simultaneously ? becuase also I'm not too familiar with VCS.
Thanks