Bruno Cornec | 25 Jul 2012 21:08
Picon
Favicon

Re: Mondo-devel Digest, Vol 74, Issue 7

Garg Siddharth (UK) said on Thu, Jul 19, 2012 at 12:07:47PM +0100:

> On the startup I am getting a weird error with /boot being inconsistent.
> I have tried to fsck it several times but the system is not booting up.

Did you keep the mondorestore.log file ? That could help understand
whether any issue occured. Also did you see anything wrong when
unmounting the FS at the end ? One could have been not unmounted,
creating the corruption.

> Any help to get me out of this situation and make my server bootable again will be much appreciated.

> > mkfs.ext3 /dev/vg00/lvol1
> > mkfs.ext3 /dev/vg00/lvol2
> > mkfs.ext3 /dev/vg00/lvol3
> > mkfs.ext3 /dev/vg00/lvol4
> > mount /dev/vg00/lvol0 /mnt/RESTORING
> > mount /dev/vg00/lvol1 /mnt/RESTORING/usr mount /dev/vg00/lvol2 
> > /mnt/RESTORING/var mount /dev/vg00/lvol3 //mnt/RESTORING/opt mount 
> > /dev/vg00/lvol4 //mnt/RESTORING/home

Did you also format the /boot partition correctly, and mounted it ?

That may explain the issue...
Bruno.
--

-- 
Open Source & Linux Profession Lead EMEA         http://opensource.hp.com
EMEA Open Source HPISC Chief Technologist        http://hpintelco.net
FLOSS projects:     http://mondorescue.org     http://project-builder.org 
Musique ancienne? http://www.musique-ancienne.org http://www.medieval.org
(Continue reading)

Garg Siddharth (UK | 27 Jul 2012 10:22

Re: Mondo-devel Digest, Vol 74, Issue 7

Hi All,

I have fixed the issue (somehow).
While the server was booting up it was repeatedly reading the native swap labels which I had not created
while manually partitioning.

I had to remove all the labels from the init file in initrd image and then recompile.
Ran fsck again for /boot and the server booted up fine.

Still need to do a thorough POC as this was a really hit and trial process, probably not a convincing thing to
implement still on production.

Sid 

-----Original Message-----
From: Bruno Cornec [mailto:Bruno.Cornec <at> hp.com] 
Sent: 25 July 2012 20:09
To: Garg Siddharth (UK)
Cc: Garg, Siddharth; Mondo mailing list; Cornec, Bruno (Open Source and Linux Technology Architect); bruno <at> mondorescue.org
Subject: Re: [Mondo-devel] Mondo-devel Digest, Vol 74, Issue 7

Garg Siddharth (UK) said on Thu, Jul 19, 2012 at 12:07:47PM +0100:

> On the startup I am getting a weird error with /boot being inconsistent.
> I have tried to fsck it several times but the system is not booting up.

Did you keep the mondorestore.log file ? That could help understand whether any issue occured. Also did you
see anything wrong when unmounting the FS at the end ? One could have been not unmounted, creating the corruption.

> Any help to get me out of this situation and make my server bootable again will be much appreciated.
(Continue reading)

Bruno Cornec | 21 Aug 2012 16:40
Picon
Favicon

Re: Mondo-devel Digest, Vol 74, Issue 7

Hello,

It's a frequent issue to have non matching LABELS for swap partitions.
Check with blkid e.g. to see what you have, and what is expected, and
fix /etc/fstab accordingly.

MondoRescue does restore LABELS and UUIDs, as they were originally. Is
they were lready incorrect, then it restores incorrect stuff :-)

Best regards,
Bruno.

Garg Siddharth (UK) said on Fri, Jul 27, 2012 at 09:22:36AM +0100:

> Hi All,
> 
> I have fixed the issue (somehow).
> While the server was booting up it was repeatedly reading the native swap labels which I had not created
while manually partitioning.
> 
> I had to remove all the labels from the init file in initrd image and then recompile.
> Ran fsck again for /boot and the server booted up fine.
> 
> Still need to do a thorough POC as this was a really hit and trial process, probably not a convincing thing to
implement still on production.
> 
> Sid 
> 
> -----Original Message-----
> From: Bruno Cornec [mailto:Bruno.Cornec <at> hp.com] 
(Continue reading)


Gmane