screwed up big time help
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix administration > screwed up big time help




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    screwed up big time help  
nobody


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
11-03-07 06:18 PM

Can someone please help. I messed with resizing logical partitions and now
system will not boot

i shrank /dev/VolGroup00/LogVol05  where /home partition was mounted

df on /home showed 4GB

I shrank the logical partition to 2.9GB and system will not boot now

the error is

checking filesystems
/dev/VolGroup00/LogVol00: clean, 12856/1048576 files, 351209/1048576 blocks
/boot: clean, 45/50400 fiiles, 46367/200812 blocks
/dev/VolGroup00/LogVol05: The filesystem size (according to the superblock)
is 1048576
The physical size of the device is 409600 blocks
Either the superblock or the partition table is likely to be corrupt!

/dev/VolGroup00/LogVol05: UNEXPECTED INCONSISTENCY: Run fsck manually.
(i.e, without -a or -p options)
/dev/VolGroup00/LogVol03: clean, 19/1048576 files, 67709/1048576 blocks
/dev/VolGroup00/LogVol02: clean, 152219/2097152 files, 1009309/2097152
blocks
/dev/VolGroup00/LogVol04: clean, 1982/13107200 files, 1423680/13107200
blocks {FAILED]

*** 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):_


help please







[ Post a follow-up to this message ]



    Re: screwed up big time help  
Dave Hinz


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
11-04-07 12:18 AM

On Sat, 3 Nov 2007 10:30:27 -0700, nobody <nobody@nobody.com> wrote:
> Can someone please help. I messed with resizing logical partitions and now
> system will not boot

Ouch.

> I shrank the logical partition to 2.9GB and system will not boot now
> the error is
>
> checking filesystems
> /dev/VolGroup00/LogVol00: clean, 12856/1048576 files, 351209/1048576 block
s
> /boot: clean, 45/50400 fiiles, 46367/200812 blocks
> /dev/VolGroup00/LogVol05: The filesystem size (according to the superblock
)
> is 1048576
> The physical size of the device is 409600 blocks
> Either the superblock or the partition table is likely to be corrupt!

There's a way to fsck with alternate superblocks.  There's a way to use
newfs to tell you what those would be.  For better answers provide
system details.

> *** 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):_

> help please

How are your backups?





[ Post a follow-up to this message ]



    Re: screwed up big time help  
nobody


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
11-04-07 12:18 AM

this is redhat enterprise 5.

well the /home partition has nothing on it. that was mounted to
/dev/VolGroup00/LogVol05

that was the partition i was messing around with and screwed it up


"Dave Hinz" <DaveHinz@gmail.com> wrote in message
news:5p41hsFpfh7iU1@mid.individual.net...
> On Sat, 3 Nov 2007 10:30:27 -0700, nobody <nobody@nobody.com> wrote: 
>
> Ouch.
> 
>
> There's a way to fsck with alternate superblocks.  There's a way to use
> newfs to tell you what those would be.  For better answers provide
> system details.
> 
> 
>
> How are your backups?







[ Post a follow-up to this message ]



    Re: screwed up big time help  
Dave Hinz


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
11-04-07 12:18 AM

On Sat, 3 Nov 2007 13:01:16 -0700, nobody <nobody@nobody.com> wrote:
> this is redhat enterprise 5.
>
> well the /home partition has nothing on it. that was mounted to
> /dev/VolGroup00/LogVol05
>
> that was the partition i was messing around with and screwed it up

1.  Please don't top-post, it really farks up any hope of quoting with
context.

2. How are your backups.






[ Post a follow-up to this message ]



    Re: screwed up big time help  
nobody


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
11-04-07 12:18 AM

no backups at all.







[ Post a follow-up to this message ]



    Re: screwed up big time help  
Doug Freyburger


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
11-04-07 12:18 AM

"nobody" <nob...@nobody.com> wrote:
>
> Can someone please help. I messed with resizing logical partitions and now
> system will not boot
>
> i shrank /dev/VolGroup00/LogVol05  where /home partition was mounted
>
> df on /home showed 4GB
>
> I shrank the logical partition to 2.9GB and system will not boot now

Go to the single user prompt.  Comment out /home from /etc/fstab
then reboot.  Once up run newfs or mkfs on the new partition.

Lessons learn - Don't resize mounted partitions unless the tool you
are using explicitly supports that.  Do read all the man pages on
both LVM and filesystem layer.  Do make backups before doing
changes.






[ Post a follow-up to this message ]



    Re: screwed up big time help  
nobody


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
11-04-07 12:18 AM

it wont let me edit fstab. says read only file
"Doug Freyburger" <dfreybur@yahoo.com> wrote in message
news:1194126434.247285.285350@50g2000hsm.googlegroups.com...
> "nobody" <nob...@nobody.com> wrote: 
>
> Go to the single user prompt.  Comment out /home from /etc/fstab
> then reboot.  Once up run newfs or mkfs on the new partition.
>
> Lessons learn - Don't resize mounted partitions unless the tool you
> are using explicitly supports that.  Do read all the man pages on
> both LVM and filesystem layer.  Do make backups before doing
> changes.
>







[ Post a follow-up to this message ]



    Re: screwed up big time help  
Dave Hinz


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
11-04-07 05:34 AM

On Sat, 3 Nov 2007 15:03:10 -0700, nobody <nobody@nobody.com> wrote:
> it wont let me edit fstab. says read only file

What part of "don't top-post because it XXXXs up being able to
communicate effectively" are you having a hard time with.

Sounds like you've got the potential to learn several useful things from
this experience.  Or not.  Your choice.






[ Post a follow-up to this message ]



    Re: screwed up big time help  
Doug Freyburger


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
11-05-07 06:28 PM

Dave Hinz <DaveH...@gmail.com> wrote:
> nobody <nob...@nobody.com> wrote:
> 

More like read-only filesystem.  Check the man pages for fsck
and mount (look for -o remount).
[vbcol=seagreen]
> What part of "don't top-post because it XXXXs up being able to
> communicate effectively" are you having a hard time with.

Some folks don't get that UseNet has been around for decades
and has the standards it has for good reasons.

> Sounds like you've got the potential to learn several useful things from
> this experience.  Or not.  Your choice.







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 03:02 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register