[rhn-users] error file system check
Sterling, James A
james.a.sterling at boeing.com
Fri Jul 7 17:49:03 UTC 2006
First thing that I would do is to check that the / partition is not full
First do a df
You should get something like the following
/dev/sda1 9760327 3755020 61% /
/dev/sda2 9760327 7275070 87% /data
If the / partition is at or over 100% then it is filled and yes I have
seen 105%
Next do the following
ls -lt | more <ret>
This will list all the "newest" files first and also show the sizes..
IF ( and I have had ) you have a few coreXXXXXXXXXX files then you
should get rid of them.
IF you have too many unix* files, from rebuilding the kernel several
times, then you may remove any of the old ones or any that are not
wanted.
Also cd into /tmp and do a ls -lt there. If you have more then ?? 10
?? files you may delete all of them (rm * <ret>) to clean out the /tmp
directory and to free up space
Then do a reboot.
Hope this helps
Jim Sterling
-----Original Message-----
From: Prodromos Zanis [mailto:pzanis at geol.uoa.gr]
Sent: Friday, July 07, 2006 7:54 AM
To: Red Hat Network Users List
Subject: RE: [rhn-users] error file system check
Dear RHN users
After doing mount -o remount,rw /
I modified the fstab file according to the partions I have in my
maschine.
When I reboot though I get an error message like:
Sarting automount: Cannot create temp file /tmp/autofs.V4sVLm could not
make tmp file /etc/rc5.d/S90lmgrd:line 82
/usr/pgifortan/flexlm.log: Read-only file system I also get for a number
of other files the warning Read-only file system In the end I got a
message like:
INIT: Id "1" respawning too fast: disabled for 5 minutes which is
repeated again and again and I cannot enter a command line to check and
modify things.
Do you have any suggestion?
Sorry again for the trouble but we do not have a LINUX specialist at our
Institute to work it out.
With kind regards
Prodromos Zanis
>
> Well, arguably what ever is relevant to make your system work,
> however, the fact its 0 is a worry, you would need to put a line in
> for each of the essential partitions/disks you have. However, what to
> write is really dependant on your setup. Use the examples I gave you
> previously for the kinds of things you should be looking to add
>
> -----Original Message-----
> From: rhn-users-bounces at redhat.com
> [mailto:rhn-users-bounces at redhat.com]
> On Behalf Of Prodromos Zanis
> Sent: 05 July 2006 15:05
> To: Red Hat Network Users List
> Subject: RE: [rhn-users] error file system check
>
> Dear RHN user
>
> Thanks for the hint. Now I can modify the fstab file.
>
> Just a last question, hopefully. As I told you the fstab file is
empty.
> What should I write in it or how can I recover the info in the fstab
> file?
>
> Sorry for the trouble
>
> best regards
>
> Prodromos
>
>>
>> Long as the drive is actually accessible, you can still mount it even
>> when it has errors
>>
>> You can do
>>
>> mount -o remount,rw /
>>
>> Edit the fstab
>>
>> mount -o remount,ro /
>>
>> Should put it back in read only. Then run the fsck on it.
>>
>> -----Original Message-----
>> From: rhn-users-bounces at redhat.com
>> [mailto:rhn-users-bounces at redhat.com]
>> On Behalf Of Prodromos Zanis
>> Sent: 05 July 2006 14:19
>> To: Red Hat Network Users List
>> Subject: RE: [rhn-users] error file system check
>>
>> Hallo again
>>
>> I tryed to edit fstab but it is a zero bytes file (it is actually
>> empty).
>> I assume this is my problem.
>>
>> The other problem is that when I enter with my root password to the
>> Repair filesystem shell I have Read-only file system and hence I
>> cannot modify the fstab file.
>>
>> What can I do?
>>
>> I look forward for your help.
>>
>> With kind regards
>>
>> Prodromos Zanis
>>
>>
>>>
>>> Did you edit the fstab which is what it was complaining about and I
>>> explained?
>>>
>>> -----Original Message-----
>>> From: rhn-users-bounces at redhat.com
>>> [mailto:rhn-users-bounces at redhat.com]
>>> On Behalf Of Prodromos Zanis
>>> Sent: 05 July 2006 12:08
>>> To: Red Hat Network Users List
>>> Subject: RE: [rhn-users] error file system check
>>>
>>> Dear Linux users
>>>
>>> In continuation of my yesterday email I tryed to do what it was
>>> suggested to fix my error in file system check as follows:
>>>
>>> a) first i did fdisk -l to see the partions in my hard disk I
>>> identified the partitions /dev/hdg1 and /dev/hdg2 with fstype ext3
>>> and
>>> /dev/gdg3 with fstype swap.
>>> Then
>>> b) I run e2fsck -b 8193 /dev/hdg1 and e2fsck -b 8193 /dev/hdg2
>>>
>>> However when I reboot the maschine I still had the same error
> message.
>>>
>>> I also tryed alternatively the following to repair the file system
>>>
>>> b) I run e2fsck -p -f /dev/hdg1 and e2fsck -p -f /dev/hdg2
>>>
>>> Still the problem remains and I do not know how to overcome this
>>> problem.
>>> I look forward for any hints.
>>>
>>> With kind regards
>>> Prodromso Zanis
>>>
>>>>
>>>> In /etc/fstab you should see something like
>>>>
>>>> LABEL=/ / ext3 defaults
>>>> 1 1
>>>>
>>>> Or
>>>>
>>>> /dev/sda1 / ext3 defaults
>>>> 1 1
>>>>
>>>> Which goes
>>>>
>>>> Label/disk path_to_mount fstype options fs_freq fs_passno
>>>>
>>>> Check man fstab for mor einfo
>>>>
>>>> -----Original Message-----
>>>> From: rhn-users-bounces at redhat.com
>>>> [mailto:rhn-users-bounces at redhat.com]
>>>> On Behalf Of Prodromos Zanis
>>>> Sent: 04 July 2006 13:26
>>>> To: rhn-users at redhat.com
>>>> Subject: [rhn-users] error file system check
>>>>
>>>>
>>>> Dear RHN users
>>>>
>>>> I run Red Hat 9.
>>>> I would be glad if someone could give a hint on the following
error.
>>>>
>>>> when I reboot my mashine I got the following error message:
>>>> **************************************
>>>> checking root filesystem
>>>> WARNING: Your /etc/fstab does not contain the fsck passno field. I
>>>> will kludge around things for you, but you should fix your
>>>> /etc/fstab
>>
>>>> file as soon as you can.
>>>> fsck.ext2/:
>>>> The superblock could not be read or does not describe a correct
>>>> ext2
>
>>>> filesystem. If the device is valid and it really contains an ext2
>>>> filesystem (and not swap or ufs or sometghing else), then the
>>>> superblock is corrupt, and you might try running e2fsck with an
>>>> alternative
>>>> superblock:
>>>> e2fsck -b 8193 <device>
>>>> : Is a directory while trying to open /
>>>>
>>>> *** An error occured during the file system check.
>>>> *** Dropping you to a shell; the system will reboot
>>>> *** when you leave the shell.
>>>> Give root password for maintenance
>>>> (or type Control-D to continue):
>>>>
>>>> ************************************************
>>>>
>>>>
>>>> With kind regards
>>>>
>>>> Prodromos
>>>>
>>>> --
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> rhn-users mailing list
>>>> rhn-users at redhat.com
>>>> https://www.redhat.com/mailman/listinfo/rhn-users
>>>>
>>>> ******************************************
>>>> The information contained in, or attached to, this e-mail, may
>>>> contain
>>>
>>>> confidential information and is intended solely for the use of the
>>>> individual or entity to whom they are addressed and may be subject
>>>> to
>>
>>>> legal privilege. If you have received this e-mail in error you
>>>> should
>>>
>>>> notify the sender immediately by reply e-mail, delete the message
>>>> from
>>>
>>>> your system and notify your system manager. Please do not copy it
>>>> for
>>>
>>>> any purpose, or disclose its contents to any other person. The
>>>> views
>>
>>>> or opinions presented in this e-mail are solely those of the author
>>>> and do not necessarily represent those of the company. The
>>>> recipient
>>
>>>> should check this e-mail and any attachments for the presence of
>>>> viruses. The company accepts no liability for any damage caused,
>>>> directly or indirectly, by any virus transmitted in this email.
>>>> ******************************************
>>>>
>>>> _______________________________________________
>>>> rhn-users mailing list
>>>> rhn-users at redhat.com
>>>> https://www.redhat.com/mailman/listinfo/rhn-users
>>>>
>>>
>>>
>>> --
>>> ****************************************************
>>> Dr. Prodromos Zanis
>>> Centre for Atmospheric Physics and Climatology Academy of Athens 3rd
>>> September 131, Athens 11251, Greece Tel. +30 210 8832048
>>> Fax: +30 210 8832048
>>> e-mail: pzanis at geol.uoa.gr
>>> Web address: http://users.auth.gr/~zanis/
>>> *****************************************************
>>>
>>>
>>> _______________________________________________
>>> rhn-users mailing list
>>> rhn-users at redhat.com
>>> https://www.redhat.com/mailman/listinfo/rhn-users
>>>
>>> ******************************************
>>> The information contained in, or attached to, this e-mail, may
>>> contain
>>
>>> confidential information and is intended solely for the use of the
>>> individual or entity to whom they are addressed and may be subject
>>> to
>
>>> legal privilege. If you have received this e-mail in error you
>>> should
>>
>>> notify the sender immediately by reply e-mail, delete the message
>>> from
>>
>>> your system and notify your system manager. Please do not copy it
>>> for
>>
>>> any purpose, or disclose its contents to any other person. The
>>> views
>
>>> or opinions presented in this e-mail are solely those of the author
>>> and do not necessarily represent those of the company. The
>>> recipient
>
>>> should check this e-mail and any attachments for the presence of
>>> viruses. The company accepts no liability for any damage caused,
>>> directly or indirectly, by any virus transmitted in this email.
>>> ******************************************
>>>
>>> _______________________________________________
>>> rhn-users mailing list
>>> rhn-users at redhat.com
>>> https://www.redhat.com/mailman/listinfo/rhn-users
>>>
>>
>>
>>
>>
>> _______________________________________________
>> rhn-users mailing list
>> rhn-users at redhat.com
>> https://www.redhat.com/mailman/listinfo/rhn-users
>>
>> ******************************************
>> The information contained in, or attached to, this e-mail, may
>> contain
>
>> confidential information and is intended solely for the use of the
>> individual or entity to whom they are addressed and may be subject to
>> legal privilege. If you have received this e-mail in error you
>> should
>
>> notify the sender immediately by reply e-mail, delete the message
>> from
>
>> your system and notify your system manager. Please do not copy it
>> for
>
>> any purpose, or disclose its contents to any other person. The views
>> or opinions presented in this e-mail are solely those of the author
>> and do not necessarily represent those of the company. The recipient
>> should check this e-mail and any attachments for the presence of
>> viruses. The company accepts no liability for any damage caused,
>> directly or indirectly, by any virus transmitted in this email.
>> ******************************************
>>
>> _______________________________________________
>> rhn-users mailing list
>> rhn-users at redhat.com
>> https://www.redhat.com/mailman/listinfo/rhn-users
>>
>
>
>
>
> _______________________________________________
> rhn-users mailing list
> rhn-users at redhat.com
> https://www.redhat.com/mailman/listinfo/rhn-users
>
> ******************************************
> The information contained in, or attached to, this e-mail, may contain
> confidential information and is intended solely for the use of the
> individual or entity to whom they are addressed and may be subject to
> legal privilege. If you have received this e-mail in error you should
> notify the sender immediately by reply e-mail, delete the message from
> your system and notify your system manager. Please do not copy it for
> any purpose, or disclose its contents to any other person. The views
> or opinions presented in this e-mail are solely those of the author
> and do not necessarily represent those of the company. The recipient
> should check this e-mail and any attachments for the presence of
> viruses. The company accepts no liability for any damage caused,
> directly or indirectly, by any virus transmitted in this email.
> ******************************************
>
> _______________________________________________
> rhn-users mailing list
> rhn-users at redhat.com
> https://www.redhat.com/mailman/listinfo/rhn-users
>
_______________________________________________
rhn-users mailing list
rhn-users at redhat.com
https://www.redhat.com/mailman/listinfo/rhn-users
More information about the rhn-users
mailing list