"ls -la \" returns "total 0"

Hello,

If I am running "ls -la " I am getting:

ls -la /

total 0

But there is a system on the computer, and ls /usr gives ussual result:

ls /usr

bin include lib libexec opt share tmp x86_64-suse-linux
games java lib64 local sbin src X11R6

How do I fix / listings?

Thanks.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Comparing ‘ls -al /’ and ‘ls /usr’ doesn’t seem very valid. How about
‘ls -al /usr’? Also, are you sure you’re using a forward-slash and not
a backslash? It looks like you’re using ‘root’ but verify that as well.

Good luck.

kutsyy wrote:
> Hello,
>
> If I am running "ls -la " I am getting:
>
> # ls -la /
> total 0
>
>
> But there is a system on the computer, and ls /usr gives ussual
> result:
>
> # ls /usr
> bin include lib libexec opt share tmp x86_64-suse-linux
> games java lib64 local sbin src X11R6
>
>
> How do I fix / listings?
>
> Thanks.
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIvaim3s42bA80+9kRAv+kAJ4yP1uqWabvOcD1g+B+SLkoj9c7eACdH2xN
U79FGxikK/bl2zMTNbnzHKY=
=hJal
-----END PGP SIGNATURE-----

I ommited -al to save space, but here is it

ls -al /usr

total 308
drwxr-xr-x 16 root root 4096 2008-08-20 11:29 .
drwxr-xr-x 21 root root 4096 2008-09-02 13:02 …
drwxr-xr-x 2 root root 69632 2008-09-02 14:01 bin
drwxr-xr-x 2 root root 4096 2008-06-06 15:20 games
drwxr-xr-x 87 root root 12288 2008-09-02 14:00 include
drwxr-xr-x 3 root root 4096 2008-08-18 11:07 java
drwxr-xr-x 106 root root 36864 2008-09-02 13:58 lib
drwxr-xr-x 158 root root 114688 2008-09-02 14:01 lib64
drwxr-xr-x 3 root root 4096 2008-08-20 11:29 libexec
drwxr-xr-x 11 root root 4096 2008-08-15 09:45 local
drwxr-xr-x 2 root root 4096 2008-08-18 11:56 opt
drwxr-xr-x 2 root root 20480 2008-09-02 13:51 sbin
drwxr-xr-x 283 root root 12288 2008-09-02 14:00 share
drwxr-xr-x 4 root root 4096 2008-08-18 09:26 src
lrwxrwxrwx 1 root root 10 2008-08-15 09:45 tmp -> …/var/tmp
drwxr-xr-x 5 root root 4096 2008-08-15 09:45 X11R6
drwxr-xr-x 5 root root 4096 2008-08-15 09:45 x86_64-suse-linux

PS: I fixed the title.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Try the following:

cat /*

Good luck.

kutsyy wrote:
> ab@novell.com;1866189 Wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Comparing ‘ls -al /’ and ‘ls /usr’ doesn’t seem very valid. How about
>> ‘ls -al /usr’? Also, are you sure you’re using a forward-slash and
>> not
>> a backslash? It looks like you’re using ‘root’ but verify that as
>> well.
>>
>> Good luck.
>>
>
> I ommited -al to save space, but here is it
> # ls -al /usr
> total 308
> drwxr-xr-x 16 root root 4096 2008-08-20 11:29 .
> drwxr-xr-x 21 root root 4096 2008-09-02 13:02 …
> drwxr-xr-x 2 root root 69632 2008-09-02 14:01 bin
> drwxr-xr-x 2 root root 4096 2008-06-06 15:20 games
> drwxr-xr-x 87 root root 12288 2008-09-02 14:00 include
> drwxr-xr-x 3 root root 4096 2008-08-18 11:07 java
> drwxr-xr-x 106 root root 36864 2008-09-02 13:58 lib
> drwxr-xr-x 158 root root 114688 2008-09-02 14:01 lib64
> drwxr-xr-x 3 root root 4096 2008-08-20 11:29 libexec
> drwxr-xr-x 11 root root 4096 2008-08-15 09:45 local
> drwxr-xr-x 2 root root 4096 2008-08-18 11:56 opt
> drwxr-xr-x 2 root root 20480 2008-09-02 13:51 sbin
> drwxr-xr-x 283 root root 12288 2008-09-02 14:00 share
> drwxr-xr-x 4 root root 4096 2008-08-18 09:26 src
> lrwxrwxrwx 1 root root 10 2008-08-15 09:45 tmp → …/var/tmp
> drwxr-xr-x 5 root root 4096 2008-08-15 09:45 X11R6
> drwxr-xr-x 5 root root 4096 2008-08-15 09:45 x86_64-suse-linux
>
> PS: I fixed the title.
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIvcEK3s42bA80+9kRAk9TAJ9nU8EaQgYetQWC+GZE6thO0c3iRgCfX46U
MabwnQflAfsYiJdVArYct+o=
=sBWj
-----END PGP SIGNATURE-----

cat /*

cat: /*: No such file or directory

Also:

touch /tmp.tmp

touch: cannot touch `/tmp.tmp’: Input/output error

It seems to be some kind of disk error, but …

Try:

ls -ld /

and post the output. Maybe the permissions on / are too restrictive, that even root can’t read it. Should be 755.

chmod 755 /

# ls -ld /
drwxr-xr-x 21 root root 4096 2008-09-02 13:02 /
# chmod 755 /
# ls -ld /
drwxr-xr-x 21 root root 4096 2008-09-02 13:02 /
# ls -la /
total 0

Bizarre.

Maybe you should boot with a rescue CD and do a disk check.