[rhn-users] error file system check

Prodromos Zanis pzanis at geol.uoa.gr
Wed Jul 5 13:18:33 UTC 2006


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
>







More information about the rhn-users mailing list