Linux filesystem error

mark m.roth2006 at rcn.com
Thu Feb 14 03:38:22 UTC 2008


auser wrote:
>mark wrote:
>> auser wrote:
>>> hi,redhat-list!
>>>
>>> When i login in a linux server by ssh and it prompt:
>>> -bash: /etc/profile: Input/output error
>>> -bash: /root/.bash_profile: Input/output error
>>> -bash-3.00# 
>> <snip>
>> Two questions:
>>  first, what's the output of df, and
> -bash-3.00# df -h
> Filesystem            Size  Used Avail Use% Mounted on
> /dev/sda2              29G  4.0G   24G  15% /
> /dev/sda1             190M   13M  168M   8% /boot
> /dev/sda6             362G   16G  328G   5% /data
> none                  2.0G     0  2.0G   0% /dev/shm
> /dev/sda3             7.7G  330M  7.0G   5% /opt

Ok, no full filesystems....

>>  second, have you looked in /var/log/messages
> there is nothing output when i check /var/log/messages and /var/log/secure :
> -bash-3.00# cat /var/log/messages
> -bash-3.00# cat /var/log/secure  
<snip>
Do an ll of /var/log - if /var/log/messages is an empty file, look at
/var/log/messages.1, the last logfile.

	mark




More information about the redhat-list mailing list