folder not visible in ls -l


 
Thread Tools Search this Thread
Operating Systems Solaris folder not visible in ls -l
# 1  
Old 09-06-2011
folder not visible in ls -l

Hi,

I have a strange problem. when i do ls i see a folder, say 'abc', but it disappears when i do ls -l. I cannot access or mv that folder. Solaris 10 (SPARC) doesn't allow me to create a new folder with the same name, as it already exists.
'file' command also doesn't recognize i 'abc' existance.
# 2  
Old 09-06-2011
NFS? If not check the file system if you can.
# 3  
Old 09-06-2011
its local disk. i can't run an fsck on it right now. du -sh * shows it as an empty folder (0k)
# 4  
Old 09-06-2011
What's the output of ls -lba? Any funny \-escapes?
# 5  
Old 09-06-2011
nope, any use of -l, and 'ban_output' is not listed.
Code:
[root@server] # ls
ban_output                    disableusers.txt              process.txt                   user_20100601_102804.xml.log
cal.txt                       disableusers.txt_20110904     sctssb.txt                    user_20110104_121943.xml.log
calendar_bak_old              dse.ldif.bak                  stscripts                     wipeluminis
config.txt                    dse.ldif.startOK              tmp                           working
configman.lst                 media                         user_20100523_113801.xml.log
dead.letter                   migration                     user_20100531_113208.xml.log
disable_users_20100713        plumcrt01.conf                user_20100601_081926.xml.log

[root@server] # ls -l
total 24288
-rw-r--r--   1 root root    11457237 Jun  6  2010 cal.txt
drwx------   2 root root        512 Apr 13  2010 calendar_bak_old
-rw-r--r--   1 root root     244072 Dec 11  2010 config.txt
-rw-r--r--   1 root root     230512 Apr 28  2010 configman.lst
-rw-------   1 root root        931 Apr 12  2010 dead.letter
-rw-r--r--   1 root root        241 Jul 13  2010 disable_users_20100713
-rw-r--r--   1 root root        627 Sep  4 13:43 disableusers.txt
-rw-r--r--   1 root root        427 Jul  3 10:51 disableusers.txt_20110904
-rw-------   1 root root     185245 Nov 25  2010 dse.ldif.bak
-rw-------   1 root root     185245 Nov 25  2010 dse.ldif.startOK
drwxr-xr-x   2 root root        512 Apr 13  2010 media
drwxr-xr-x   5 root root        512 Apr 18  2010 migration
-rw-r--r--   1 root root       1240 Apr 12  2010 plumcrt01.conf
-rw-r--r--   1 root root       8685 Apr 28  2010 process.txt
-rw-r--r--   1 root root        169 Apr 14  2010 sctssb.txt
drwxr-xr-x   2 root root        512 Apr 14  2010 stscripts
drwxr-xr-x   2 root root      29184 Sep  5 11:12 tmp
-rw-r--r--   1 root root        326 May 23  2010 user_20100523_113801.xml.log
-rw-r--r--   1 root root        326 May 31  2010 user_20100531_113208.xml.log
-rw-r--r--   1 root root        326 Jun  1  2010 user_20100601_081926.xml.log
-rw-r--r--   1 root root        326 Jun  1  2010 user_20100601_102804.xml.log
-rw-r--r--   1 root root        326 Jan  4  2011 user_20110104_121943.xml.log
-rwxr-xr-x   1 root root      16453 Apr 12  2010 wipeluminis
drwxr-xr-x   3 root root        512 Apr 14  2010 working


Last edited by Mack1982; 09-06-2011 at 12:32 PM..
# 6  
Old 09-06-2011
try an "ls -i" to get the inode number?
# 7  
Old 09-06-2011
That works.
67115 ban_output

but can i access it using inode. I can't find it using the inum option in the find command
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