From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1MIUPE-0003YQ-Qd for garchives@archives.gentoo.org; Sun, 21 Jun 2009 21:16:53 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 201DAE0429; Sun, 21 Jun 2009 21:16:51 +0000 (UTC) Received: from mail-gx0-f207.google.com (mail-gx0-f207.google.com [209.85.217.207]) by pigeon.gentoo.org (Postfix) with ESMTP id D22E1E0429 for ; Sun, 21 Jun 2009 21:16:50 +0000 (UTC) Received: by gxk3 with SMTP id 3so12131549gxk.10 for ; Sun, 21 Jun 2009 14:16:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=2Vwd+4IlufHpWrkQS1KI7GT2B+g1VnNWoZS4nBOVRP4=; b=hAfQlamLu5wfkbVMecnOviGUDq3lNnHFpSVp2bOM2AgXXJv3XNQL2ynP2T6BGfP8rg VT5VY5I0Abxwc24Fudn6tZiTW+yuDxnQIVSsUkyVa4UZCDQjCYvCkFhCCn6rbgokR0XH fWBEUYod+v8gkxyDGjWTSXIirid5Vb5XCEToc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=PC5sZIfRiu0TRm7bryhpZWi3JEuzH8PCDRaapA9anBHQHeLFW8kPLjdcGu5i9c5XhF HLuU1/XSglL8TcSSPvtPJiZzFU8BK6w29cByRkLsrnmp5N1UADR3GAYcvGJy6ZQYE1Pc G5PlVqfIkwGeZI0ERuIQaMj1Tdeh3a1E+E7Nc= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.231.34.66 with SMTP id k2mr1663930ibd.17.1245619009737; Sun, 21 Jun 2009 14:16:49 -0700 (PDT) In-Reply-To: <200906210957.30381.dirk.heinrichs@online.de> References: <200906202248.49451.dirk.heinrichs@online.de> <200906210957.30381.dirk.heinrichs@online.de> Date: Sun, 21 Jun 2009 15:16:49 -0600 Message-ID: Subject: Re: [gentoo-user] lvm problem -- is timing? From: Maxim Wexler To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: f59b0a23-1e7c-41ab-a70b-cc2557748eff X-Archives-Hash: 25087799843385f8e226509b4e1ebc3a > Could you please remove rc.log, reboot and post the fresh rc.log? Done: rc shutdown logging started at Sun Jun 21 14:40:55 2009 * Stopping local... [ ok ] * Saving random seed... [ ok ] * Deactivating swap devices... [ ok ] * Unmounting network filesystems... [ ok ] * Bringing down interface lo * Removing addresses * Stopping gpm... [ ok ] * Stopping syslog-ng... [ ok ] Reading all physical volumes. This may take a while... Found volume group "vg" using metadata type lvm2 5 logical volume(s) in volume group "vg" now active mount: /dev/sda1 already mounted on /boot mount: /dev/vg/usr already mounted on /usr mount: /dev/vg/home already mounted on /home mount: /dev/vg/opt already mounted on /opt mount: /dev/vg/var already mounted on /var mount: /dev/vg/tmp already mounted on /tmp mount: shm already mounted on /dev/shm mount: tmpfs already mounted on /tmp nothing was mounted * Stopping prebootmisc... [ ok ] * Unmounting loopback devices * Unmounting filesystems * Unmounting /var... [ ok ] * Unmounting /opt... [ ok ] * Unmounting /home... [ ok ] * Unmounting /usr... [ ok ] * Unmounting /tmp... [ ok ] * Unmounting /boot... [ ok ] * lvm uses addon code which is deprecated * and may not be available in the future. * Shutting down the Logical Volume Manager * Shutting Down logical volume: /dev/vg/home ... [ ok ] * Shutting Down logical volume: /dev/vg/opt ... [ ok ] * Shutting Down logical volume: /dev/vg/tmp ... [ ok ] * Shutting Down logical volume: /dev/vg/usr ... [ ok ] * Shutting Down logical volume: /dev/vg/var ... [ ok ] * Shutting Down volume group: vg ... [ ok ] * Finished Shutting down the Logical Volume Manager * Stopping udevd... [ ok ] rc shutdown logging stopped at Sun Jun 21 14:41:04 2009 rc boot logging started at Sun Jun 21 08:41:52 2009 * Setting system clock using the hardware clock [Local Time]... [ ok ] * Autoloaded 0 module(s) * lvm uses addon code which is deprecated * and may not be available in the future. * Setting up the Logical Volume Manager... Locking type 1 initialisation failed. Couldn't find device with uuid 'ldwVeS-gwl4-HE4Z-M3Gw-DILI-Dbjh-2lHroF'. Couldn't find all physical volumes for volume group vg. Couldn't find device with uuid 'ldwVeS-gwl4-HE4Z-M3Gw-DILI-Dbjh-2lHroF'. Couldn't find all physical volumes for volume group vg. Couldn't find device with uuid 'ldwVeS-gwl4-HE4Z-M3Gw-DILI-Dbjh-2lHroF'. Couldn't find all physical volumes for volume group vg. Couldn't find device with uuid 'ldwVeS-gwl4-HE4Z-M3Gw-DILI-Dbjh-2lHroF'. Couldn't find all physical volumes for volume group vg. Volume group "vg" not found Couldn't find device with uuid 'ldwVeS-gwl4-HE4Z-M3Gw-DILI-Dbjh-2lHroF'. Couldn't find all physical volumes for volume group vg. Couldn't find device with uuid 'ldwVeS-gwl4-HE4Z-M3Gw-DILI-Dbjh-2lHroF'. Couldn't find all physical volumes for volume group vg. Couldn't find device with uuid 'ldwVeS-gwl4-HE4Z-M3Gw-DILI-Dbjh-2lHroF'. Couldn't find all physical volumes for volume group vg. Couldn't find device with uuid 'ldwVeS-gwl4-HE4Z-M3Gw-DILI-Dbjh-2lHroF'. Couldn't find all physical volumes for volume group vg. Volume group "vg" not found Couldn't find device with uuid 'ldwVeS-gwl4-HE4Z-M3Gw-DILI-Dbjh-2lHroF'. Couldn't find all physical volumes for volume group vg. Couldn't find device with uuid 'ldwVeS-gwl4-HE4Z-M3Gw-DILI-Dbjh-2lHroF'. Couldn't find all physical volumes for volume group vg. Couldn't find device with uuid 'ldwVeS-gwl4-HE4Z-M3Gw-DILI-Dbjh-2lHroF'. Couldn't find all physical volumes for volume group vg. Couldn't find device with uuid 'ldwVeS-gwl4-HE4Z-M3Gw-DILI-Dbjh-2lHroF'. Couldn't find all physical volumes for volume group vg. Volume group "vg" not found * Failed to setup the LVM [ !! ] * ERROR: lvm failed to start * device-mapper uses addon code which is deprecated * and may not be available in the future. * Checking local filesystems ... /dev/sda2: clean, 6837/65952 files, 41219/263424 blocks /dev/sda1: clean, 37/12544 files, 9602/50148 blocks fsck.ext2: No such file or directory while trying to open /dev/vg/usr /dev/vg/usr: The superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and it really contains an ext2 filesystem (and not swap or ufs or something else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock: e2fsck -b 8193 fsck.ext2: No such file or directory while trying to open /dev/vg/home /dev/vg/home: The superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and it really contains an ext2 filesystem (and not swap or ufs or something else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock: e2fsck -b 8193 fsck.ext2: No such file or directory while trying to open /dev/vg/opt /dev/vg/opt: The superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and it really contains an ext2 filesystem (and not swap or ufs or something else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock: e2fsck -b 8193 fsck.ext2: No such file or directory while trying to open /dev/vg/var /dev/vg/var: The superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and it really contains an ext2 filesystem (and not swap or ufs or something else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock: e2fsck -b 8193 fsck.ext2: No such file or directory while trying to open /dev/vg/tmp /dev/vg/tmp: The superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and it really contains an ext2 filesystem (and not swap or ufs or something else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock: e2fsck -b 8193 * Operational error [ !! ] * Remounting root filesystem read/write... [ ok ] * Updating /etc/mtab... [ ok ] * Mounting local filesystems... mount: special device /dev/vg/usr does not exist mount: special device /dev/vg/home does not exist mount: special device /dev/vg/opt does not exist mount: special device /dev/vg/var does not exist mount: special device /dev/vg/tmp does not exist * Some local filesystem failed to mount [ !! ] * Setting hostname to localhost... [ ok ] * Configuring kernel parameters... [ ok ] Reading all physical volumes. This may take a while... Couldn't find device with uuid 'ldwVeS-gwl4-HE4Z-M3Gw-DILI-Dbjh-2lHroF'. Couldn't find all physical volumes for volume group vg. Couldn't find device with uuid 'ldwVeS-gwl4-HE4Z-M3Gw-DILI-Dbjh-2lHroF'. Couldn't find all physical volumes for volume group vg. Couldn't find device with uuid 'ldwVeS-gwl4-HE4Z-M3Gw-DILI-Dbjh-2lHroF'. Couldn't find all physical volumes for volume group vg. Couldn't find device with uuid 'ldwVeS-gwl4-HE4Z-M3Gw-DILI-Dbjh-2lHroF'. Couldn't find all physical volumes for volume group vg. Volume group "vg" not found Couldn't find device with uuid 'ldwVeS-gwl4-HE4Z-M3Gw-DILI-Dbjh-2lHroF'. Couldn't find all physical volumes for volume group vg. Couldn't find device with uuid 'ldwVeS-gwl4-HE4Z-M3Gw-DILI-Dbjh-2lHroF'. Couldn't find all physical volumes for volume group vg. Couldn't find device with uuid 'ldwVeS-gwl4-HE4Z-M3Gw-DILI-Dbjh-2lHroF'. Couldn't find all physical volumes for volume group vg. Couldn't find device with uuid 'ldwVeS-gwl4-HE4Z-M3Gw-DILI-Dbjh-2lHroF'. Couldn't find all physical volumes for volume group vg. Volume group "vg" not found Couldn't find device with uuid 'ldwVeS-gwl4-HE4Z-M3Gw-DILI-Dbjh-2lHroF'. Couldn't find all physical volumes for volume group vg. Couldn't find device with uuid 'ldwVeS-gwl4-HE4Z-M3Gw-DILI-Dbjh-2lHroF'. Couldn't find all physical volumes for volume group vg. Couldn't find device with uuid 'ldwVeS-gwl4-HE4Z-M3Gw-DILI-Dbjh-2lHroF'. Couldn't find all physical volumes for volume group vg. Couldn't find device with uuid 'ldwVeS-gwl4-HE4Z-M3Gw-DILI-Dbjh-2lHroF'. Couldn't find all physical volumes for volume group vg. Volume group "vg" not found mount: /dev/sda1 already mounted on /boot mount: shm already mounted on /dev/shm mount: tmpfs already mounted on /tmp mount: special device /dev/vg/usr does not exist mount: special device /dev/vg/home does not exist mount: special device /dev/vg/opt does not exist mount: special device /dev/vg/var does not exist mount: special device /dev/vg/tmp does not exist mkdir: cannot create directory `/var/log': File exists * failed to create needed directory /var/log [ !! ] * ERROR: bootmisc failed to start * Setting terminal encoding [UTF-8]... [ ok ] * Setting console font [default8x16]... Cannot open font file default8x16 Cannot open font file default8x16 Cannot open font file default8x16 Cannot open font file default8x16 Cannot open font file default8x16 Cannot open font file default8x16 Cannot open font file default8x16 Cannot open font file default8x16 Cannot open font file default8x16 Cannot open font file default8x16 Cannot open font file default8x16 Cannot open font file default8x16 [ !! ] * ERROR: consolefont failed to start * Loading key mappings [us]... cannot open file windowkeys * Error loading key mappings [ !! ] * ERROR: keymaps failed to start * Bringing up interface lo * 127.0.0.1/8... [ ok ] * Adding routes * 127.0.0.0/8 via 127.0.0.1... [ ok ] * Activating swap devices... [ ok ] * Initializing random number generator... [ ok ] rc boot logging stopped at Sun Jun 21 14:41:54 2009 rc default logging started at Sun Jun 21 14:41:54 2009 * lvm uses addon code which is deprecated * and may not be available in the future. * Setting up the Logical Volume Manager... [ ok ] Reading all physical volumes. This may take a while... Found volume group "vg" using metadata type lvm2 5 logical volume(s) in volume group "vg" now active mount: /dev/sda1 already mounted on /boot mount: shm already mounted on /dev/shm mount: tmpfs already mounted on /tmp /dev/mapper/vg-usr on /usr type ext2 (rw,noatime) /dev/mapper/vg-home on /home type ext2 (rw,noatime) /dev/mapper/vg-opt on /opt type ext2 (rw,noatime) /dev/mapper/vg-var on /var type ext2 (rw,noatime) /dev/mapper/vg-tmp on /tmp type ext2 (rw,noatime) * Creating user login records... [ ok ] * Cleaning /var/run... [ ok ] * Wiping /tmp directory... [ ok ] * Setting console font [default8x16]... [ ok ] * Starting syslog-ng... [ ok ] * Starting gpm... [ ok ] * Loading key mappings [us]... [ ok ] * Setting keyboard mode [UTF-8]... [ ok ] * Mounting network filesystems... [ ok ] * Starting local... [ ok ] rc default logging stopped at Sun Jun 21 14:41:57 2009 > > BTW: Do you see messages like this: > > * device-mapper uses addon code which is deprecated > * and may not be available in the future. Yes > > Also: What are your versions of bl2 and openrc? OpenRC 0.4.4, bl-2.0.1 > Did you compare the contents of those packages (esp. openrc) with the > contents > of your /etc/runlevels? I assume you mean /usr/share/openrc/runlevels. Under /usr/share/openrc/runlevels/boot there are definitely differences: no device-mapper, no consolefont, no lvm, no root Under /usr/share/openrc/runlevels/default: no gpm, syslog-ng Under /usr/share/openrc/runlevels/sysinit: no udev. No /usr/share/openrc/runlevels/single also no nonetwork shutdown runlevels the same. > > It may also help to wipe /etc/runlevels and copy the contents of > /usr/share/openrc/runlevels/ into it, then add symlinks for lvm, > device-mapper > and (if needed) dmcrypt to the boot runlevel again. Don't understand. The links in /etc/runlevels and /usr/share/openrc/runlevels are identical(except for the omissions noted above) eg bootmisc -> /etc/init.d/bootmisc. Maybe if I add the missing links to /usr/share/openrc/runlevels that'll fix things...I'll try that in the meantime. Thanks for the hints! mw