folder not visible in ls -l


 
Thread Tools Search this Thread
Operating Systems Solaris folder not visible in ls -l
# 8  
Old 09-06-2011
Code:
find ./ -inum 67115 -exec ls -ial {} \;

try that to see if you can find the information based on its inode. if it does show anything try changing the ls command for a cat command or vi command depending on what you want to do with it.
# 9  
Old 09-06-2011
no luck, finding using inode doesn't work. du works too. I just want to remove the directory and create a new one. I don't think it contains any data.

Code:
[root@server] # find ./ -inum 67115 -exec ls -ial {} \;
find: stat() error ./ban_output: No such file or directory
[root@server] # find ./ -inum 67115 -exec cat {} \;
find: stat() error ./ban_output: No such file or directory
[root@server] # find ./ -inum 67115 -exec vi {} \;
find: stat() error ./ban_output: No such file or directory
[root@server] # du -sh * | grep -i ban
   0K   ban_output
[root@server] # rmdir ban_output
rmdir: directory "ban_ouput": Directory does not exist

df -h -> what does the following mean:
Code:
df: cannot statvfs /export/home/lumadmin/ban_output: No such file or directory


Last edited by Mack1982; 09-06-2011 at 01:59 PM..
# 10  
Old 09-06-2011
That probably means that the directory name contains a special character, which is why I asked you to post the output of ls -lba. The b is an additional option to show these specials, which makes it a whole lot easier to clear the problem!
# 11  
Old 09-07-2011
Tried
Code:
ls -lba

but with no luck. I doubt it uses a special character, because i cannot
Code:
mkdir ban_output

---------- Post updated at 09:16 AM ---------- Previous update was at 02:43 AM ----------

Fixed. sorry, it turns out the folder was an NFS mount point after all. Smilie
Just restarted the NFS client and it worked.

Thank You guys for all your time and effort.
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Solaris

Disks are not visible in Veritas Volume manager

Hi I have created a new setup for VCS for doing some testing on virtual box. After creating 3 Solaris 10 machine (147148-26) with VCS. Here I have used one machine as ISCSI Storage. VCS Version is bash-3.2# /opt/VRTS/bin/haclus -value EngineVersion 6.0.10.0 bash-3.2# bash-3.2# pkginfo... (4 Replies)
Discussion started by: hb00
4 Replies

2. Solaris

Groups is not visible

OS : SunOS 5.8 I am trying to add a user ad3059 to the following groups, A B C D ( four groups A,B,C,D) When i use usermod command and add the user to the above groups, and go to > groups ad3059 other C D It doesnt show A and B groups and shows it as other.Please advice on how... (13 Replies)
Discussion started by: Revathi2089
13 Replies

3. Post Here to Contact Site Administrators and Moderators

Thread 2nd page not visible

Hi, I am not able to see second page of my last post, giving me message database corrupted. Please check. (7 Replies)
Discussion started by: learnbash
7 Replies

4. Shell Programming and Scripting

Not visible hidden folder

Hi, In one folder there is a hidden folder. Whenever i do any ls -a i can't see the folder. However i can get into the folder by cd .foldername. Would you please help me to identify what is the problem here. (13 Replies)
Discussion started by: anupdas
13 Replies

5. Red Hat

[ URGENT] - HDD visible to OS without reboot

Hi, I have added 30 GB Vmware Scsci disk in RHEL # cat /etc/redhat-release Red Hat Enterprise Linux Server release 5.3 (Tikanga) I want to make this 30 GB visible to OS without reboot. Pls help (1 Reply)
Discussion started by: saurabh84g
1 Replies

6. UNIX for Advanced & Expert Users

A file system visible for solaris and windows?

Hi, I have a 1TB external iomega hard disk, and I want to plug it to a solaris 8 machine. The problem is that solaris doesn't recognize the NTFS file system partition. I was thinking of formatting it to FAT32, but I would like to know if anyone knows a better file system, considering: - I... (6 Replies)
Discussion started by: Dann-E
6 Replies

7. Web Development

images are not visible

hi, why my uploaded images are not visible both in front-end and back-end of my CMS ? See the picture: http://dl-client.getdropbox.com/u/72686/noPics.png I checked the GD library in php. It seems ok... http://dl.getdropbox.com/u/72686/GD.png thanks ---------- Post updated at... (0 Replies)
Discussion started by: aneuryzma
0 Replies

8. Shell Programming and Scripting

Why are the xml tags not visible?

Could some one please tell me why, when I run the following php code: <HTML> <HEAD> <TITLE></TITLE> </HEAD> <BODY> <?php $readfile = file("rss_file.xml"); for ($k=0; $k<=count($readfile)-1; $k++) { echo "$readfile<br>"; } </BODY> </HTML> the tags do not appear in... (1 Reply)
Discussion started by: photon
1 Replies
Login or Register to Ask a Question