On Sat, Feb 21, 2004 at 07:50:28PM +0100, Michaeljohn Clement wrote: > Hi, > > I recently upgraded lvm2 to 2.00.08 on my Gentoo installation. After > rebooting, LVM fails to activate my volume group. Since I have /home, /usr, and > /var on LVM, this creates a huge problem for me, and I can't downgrade the LVM > user-space tools to see if it fixes the problem. > > My main disk is a SATA drive, which is only supported by linux 2.6 kernels. > > I am using kernel 2.6.1, with device-mapper compiled into the kernel. > Here's the problem: > > # /sbin/lvchange -a y vg You mean "vgchange -ay vg", right ? > /dev/cdrom: open failed: Read-only file system > device-mapper ioctl cmd 0 failed: Invalid argument > 0 logical volume(s) in volume group "vg" now active Set up a device filter in /etc/lvm/lvm.conf in order to avoid needless spinning on the cdrom device. (see the filter= line). Run: "vgscan ; vgchange -ay vg" > > I don't know what the /dev/cdrom error is related to, I've never seen that > before. Obviously the device-mapper error is the show-stopper. Is this a > kernel problem, an LVM2 problem, or something else, and how can I fix it? > > If there's no good way to fix it, then how can I go about recovering my > data? KNOPPIX is still using 2.4 kernels, so it won't even be able to access my > main hard drive, unless there is a KNOPPIX built with 2.6 out there. Are > there any live CDs that include both SATA and LVM2 support? If not, is there > any other way to recover the data? Obviously any help would be greatly > appreciated! > > Thanks, > > Michaeljohn Clement > > -- > GMX ProMail (250 MB Mailbox, 50 FreeSMS, Virenschutz, 2,99 EUR/Monat...) > jetzt 3 Monate GRATIS + 3x DER SPIEGEL +++ http://www.gmx.net/derspiegel +++ > > _______________________________________________ > linux-lvm mailing list > linux-lvm@redhat.com > https://www.redhat.com/mailman/listinfo/linux-lvm > read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/ -- Regards, Heinz -- The LVM Guy -- *** Software bugs are stupid. Nevertheless it needs not so stupid people to solve them *** =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Heinz Mauelshagen Red Hat GmbH Consulting Development Engineer Am Sonnenhang 11 56242 Marienrachdorf Germany Mauelshagen@RedHat.com +49 2626 141200 FAX 924446 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- _______________________________________________ linux-lvm mailing list linux-lvm@redhat.com https://www.redhat.com/mailman/listinfo/linux-lvm read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/