LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-03-2023, 07:43 AM   #1
Hiram_A
LQ Newbie
 
Registered: Aug 2020
Posts: 12

Rep: Reputation: Disabled
Two parent and current directories showing with ls -la


Ran into an interesting issue. We are running an Oracle Linux 6 server that has a directory mounted to a Windows NFS share. When we run a find command on that directory we got the following:

find: WARNING: Hard link count is wrong for ./: this may be a bug in your filesystem driver. Automatically turning on find's -noleaf option. Earlier results may have failed to include directories that should have been searched.
find: Filesystem loop detected; `./.@GMT-2023.02.02-18:00:01' has the same device number and inode as a directory which is 1 level higher in the filesystem hierarchy.
find: Filesystem loop detected; `./.@GMT-2023.02.02-13:00:01' has the same device number and inode as a directory which is 1 level higher in the filesystem hierarchy.
find: Filesystem loop detected; `./.@GMT-2023.02.01-18:00:00' has the same device number and inode as a directory which is 1 level higher in the filesystem hierarchy.
find: Filesystem loop detected; `./.@GMT-2023.02.01-13:00:01' has the same device number and inode as a directory which is 1 level higher in the filesystem hierarchy.

Doing an ls -la on the directory I see this at the top:

total 84024
drwxrwxrwx 2 jsmith 201 65536 Feb 3 07:00 .
drwxrwxrwx 2 jsmith 201 65536 Feb 3 07:00 .
dr-xr-xr-x. 74 root root 4096 Jan 17 13:27 ..
dr-xr-xr-x. 74 root root 4096 Jan 17 13:27 ..

I've there are quirky issues when using Windows NFS shares to Linux mounts but I've never run across this before. Anyone have any ideas how to correct this?
 
Old 02-03-2023, 08:14 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,879

Rep: Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317
what kind of filesystem is it? How is it shared and mounted? You need to upgrade your OS to the latest available patch level.
 
Old 02-03-2023, 09:45 AM   #3
Hiram_A
LQ Newbie
 
Registered: Aug 2020
Posts: 12

Original Poster
Rep: Reputation: Disabled
Share is on a Windows 2008 R2 server using Services for Network File System (directory is also shared as a CIFS share for Windows users).
Mount is on an Oracle Linux 6.9 server using default NFS settings.
Also tried mounting on an Oracle Linux 8 server and seeing the same thing.
Subdirectories look fine.
Other NFS mounts on the same servers pointing to the sharing server look fine as well. It just seems to be this one.
 
Old 02-03-2023, 10:12 AM   #4
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,879

Rep: Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317
So you see the same thing on two different hosts. That probably means a problem on the windows side. I would try umount it completely and run a filesystem check. And probably a reboot.
 
Old 02-03-2023, 10:21 AM   #5
Hiram_A
LQ Newbie
 
Registered: Aug 2020
Posts: 12

Original Poster
Rep: Reputation: Disabled
The Windows box is a production server so I'll need to set up a maintenance window.
In the meantime if someone has any other ideas feel free to chime in.
Thanks!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Move and Extract specific files from sub-directories into parent directory. hack3rcon Linux - Newbie 5 05-23-2015 07:22 AM
Create 5 processes from a common parent and ensure that the parent terminates after c pro_learner Linux - Newbie 1 03-06-2013 09:25 AM
File descriptors shared between child and parent causing parent to hang. bharadiaam Linux - Newbie 1 03-02-2009 01:01 AM
pwd: error retrieving current directory: getcwd: cannot access parent directories: Pe bootkernel Linux - General 1 05-05-2008 05:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration