Mailinglist Archive: opensuse (1503 mails)

< Previous Next >
[opensuse] grub and lvm
  • From: Dave Howorth <dhoworth@xxxxxxxxxxxxxxxxx>
  • Date: Fri, 02 Oct 2009 11:28:08 +0100
  • Message-id: <4AC5D5B8.2080900@xxxxxxxxxxxxxxxxx>
So I replaced my failed disk and copied all the files from the backup
and using an 11.1 DVD I was able to chroot into it (it's the root disk
of a self-contained 10.3 system) and check that it seemed to be working OK.

Then I ran grub to install it on the new disk but the system wouldn't
boot. I spent a day poking around with grub and various how-tos but
still wasn't able to get it to boot. Eventually I gave up and installed
11.1 into a new partition on the disk (it's twice as big as the failed
disk). On booting, I was taken to the grub menu installed by 11.1, which
had a choice for the 10.3 system, so I chose that, which took me to the
10.3 grub menu, which booted the 10.3 system.

Things seem to be working pretty much as before with one major exception
- I'm missing an LVM system. I have two 3ware RAID controllers on the
machine (as well as the root disk that failed) and the storage on each
controller is set up as an LVM physical volume with its own volume
group. One is imaginatively named "storage" and the other is "backup".
But backup is no longer there!

It was there when I chrooted and checked the new system disk, and the 3
ware 3dm2 program tells me that all the hardware is working fine. But:

# pvscan
PV /dev/sdc VG storage lvm2 [1.59 TB / 0 free]
Total: 1 [1.59 TB] / in use: 1 [1.59 TB] / in no VG: 0 [0 ]
# vgscan
Reading all physical volumes. This may take a while...
Found volume group "storage" using metadata type lvm2

I thought I had two problems left to investigate:
(1) why the booting only works in such a convoluted fashion
(2) why my backup volume has gone missing

It's just occurred to me that the two problems could be related. Is it
possible that installing grub has damaged whatever control information
LVM uses?

I'd appreciate any pointers to information, especially how-to repair
such damage! Meanwhile I'll RTFM :)

Oh, this is my main fileserver so the fewer reboots I have to do, the
better.

Thanks, Dave
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups