[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: FSCK Maintenance - no root password



The file system was unmounted during the maintenance mode.  What I ended up
doing was:
mdadm --assemble --force /dev/md0 /dev/hde1 ......
This recreated the RAID array, once that completed I was able to run fsck
/dev/md0 and it cleaned the file system.  I rebooted the server and it came
up as normal.
Thanks to all for your help.

On Mon, Oct 13, 2008 at 9:58 PM, Sanjay Chakraborty <sanjaychakrab gmail com
> wrote:

>  Are you unmounting the filesystem? Does not matter raid1 or 0 or 5.
> do cat on /etc/fstab find and unmount the filesystem /dev/mdx with
> /dev/sdx. run fsck -y /dev/sdx..
>
>
> On Sun, Oct 12, 2008 at 10:57 PM, Barry Brimer <lists brimer org> wrote:
> >> My file server locked up and I had to reboot it, when it came up its
> stuck
> >> in the FSCK maintenance.  Is there a way that I can run this without a
> >> root
> >> password or reset the password?  The file system is an ext3 in a raid 5
> >> configuration.
> >
> > I would be very cautious about interrupting an fsck.  If you reboot your
> > machine and press a key to bring up the grub menu, then type 'e' to edit
> > that kernel entry, move to the kernel line, hit 'a' to append .. place an
> > 's' at the end of the line and hit enter and then 'b' to boot you will
> boot
> > without the root password into single user mode.
> >
> > Barry
> >
> > --
> > redhat-list mailing list
> > unsubscribe mailto:redhat-list-request redhat com?subject=unsubscribe
> > https://www.redhat.com/mailman/listinfo/redhat-list
> >
>
>
>
> --
> Regards.
> Sanjay Chakraborty
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request redhat com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]