Sorry for bad english! [ebuild R ] sys-fs/lvm2-2.01.09 -nolvmstatic -readline 0 kB [ebuild R ] sys-apps/baselayout-1.11.13 -bootstrap -build -static +unicode dmsetup table vg-tmp: 0 10485760 linear 104:5 10486144 vg-u02: 0 20971520 linear 104:5 41943424 vg-u02: 20971520 31457280 linear 104:5 77595008 vg-log: 0 10485760 linear 104:5 31457664 vg-u01: 0 14680064 linear 104:5 62914944 vg-usr: 0 10485760 linear 104:5 384 vg-var: 0 10485760 linear 104:5 20971904 twice u02 causing error with creating second u02 ... Why second u02??? System not loaded! Reproducible: Always Steps to Reproduce: 1. After emerge baselayout, my values of RC_VOLUME_ORDER="raid evms lvm dm" is incorrect and system need change RC_VOLUME_ORDER to "raid evms dm lvm" for correct starting... 2. But correct starting is impossible, second value - u02 (in dmsetup table) report about error :-), System enter in emeregency mode (press Ctrl-D and etc) 3. I'm enter root password and try mount other partition's, "vgchange -a y" say me about _5_ active partition's w/o /usr ... Where /usr?? 4. In 30-60 second's "vgchange -a y" say me about 6 active partitions. OK 5. I'm press Ctrl-D and load my system in normal mode. What's problem dude's? Actual Results: Manual starting of my system :-E Expected Results: Automatic starting! Portage 2.0.51.22-r2 (hardened/x86/2.6, gcc-3.3.5-20050130, glibc-2.3.5-r0, 2.6.11-hardened-r15 i686) ================================================================= System uname: 2.6.11-hardened-r15 i686 Intel(R) Xeon(TM) CPU 3.00GHz Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.11 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=i686 -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=i686 -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j1" PKGDIR="/usr/portage//packages/x86/" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage/" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="crypt dlloader hardened java mmx ncurses nls nptl nptlonly pam pcre perl pic python readline sasl slang ssl symlink tcpd truetype ucs2 unicode userlocales x86 xml xml2 zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
[ebuild R ] sys-fs/udev-058 (-selinux) -static 0 kB [ebuild R ] sys-fs/device-mapper-1.01.00 0 kB
I know, about second u02 is second partition of u02 (i'm extended (u02) some month's ago)
(In reply to comment #0) > dmsetup table > vg-tmp: 0 10485760 linear 104:5 10486144 > vg-u02: 0 20971520 linear 104:5 41943424 > vg-u02: 20971520 31457280 linear 104:5 77595008 > vg-log: 0 10485760 linear 104:5 31457664 > vg-u01: 0 14680064 linear 104:5 62914944 > vg-usr: 0 10485760 linear 104:5 384 > vg-var: 0 10485760 linear 104:5 20971904 > > > twice u02 causing error with creating second u02 ... Why second u02??? System > not loaded! > Please expand on how you configure your dm/lvm arrays ... (meaning, include lvmtab/dmtab/whatever that is related)
(In reply to comment #3) > (In reply to comment #0) > > > Please expand on how you configure your dm/lvm arrays ... (meaning, include > lvmtab/dmtab/whatever that is related) lvscan ACTIVE '/dev/vg/usr' [5.00 GB] inherit ACTIVE '/dev/vg/tmp' [5.00 GB] inherit ACTIVE '/dev/vg/var' [5.00 GB] inherit ACTIVE '/dev/vg/log' [5.00 GB] inherit ACTIVE '/dev/vg/u02' [25.00 GB] inherit ACTIVE '/dev/vg/u01' [7.00 GB] inherit lvdisplay --- Logical volume --- LV Name /dev/vg/usr VG Name vg LV UUID 1PYZDd-km2s-CuiK-5Wum-EP8Q-Xmqw-h2pGct LV Write Access read/write LV Status available # open 2 LV Size 5.00 GB Current LE 1280 Segments 1 Allocation inherit Read ahead sectors 0 Block device 254:3 --- Logical volume --- LV Name /dev/vg/tmp VG Name vg LV UUID xbgEYu-n7Oz-qpS1-yIL9-c7kA-3eg2-Vqn8QI LV Write Access read/write LV Status available # open 1 LV Size 5.00 GB Current LE 1280 Segments 1 Allocation inherit Read ahead sectors 0 Block device 254:0 --- Logical volume --- LV Name /dev/vg/var VG Name vg LV UUID jW278g-LbFe-Pqqo-ho9k-sd4O-i4IB-ikZzJr LV Write Access read/write LV Status available # open 2 LV Size 5.00 GB Current LE 1280 Segments 1 Allocation inherit Read ahead sectors 0 Block device 254:4 --- Logical volume --- LV Name /dev/vg/log VG Name vg LV UUID rzB44D-TPf3-2mrx-qwS2-w17R-KQrB-JWsz23 LV Write Access read/write LV Status available # open 2 LV Size 5.00 GB Current LE 1280 Segments 1 Allocation inherit Read ahead sectors 0 Block device 254:1 --- Logical volume --- LV Name /dev/vg/u02 VG Name vg LV UUID 6yQwrX-pIfF-n1BJ-deNx-MwDZ-gasY-4ZN2Yv LV Write Access read/write LV Status available # open 1 LV Size 25.00 GB Current LE 6400 Segments 2 Allocation inherit Read ahead sectors 0 Block device 254:5 --- Logical volume --- LV Name /dev/vg/u01 VG Name vg LV UUID 1BLjlD-Nl02-gh8T-mVfz-QE5n-PPZG-jo0Yvl LV Write Access read/write LV Status available # open 2 LV Size 7.00 GB Current LE 1792 Segments 1 Allocation inherit Read ahead sectors 0 Block device 254:2 It's all? What's else?
fdisk /dev/cciss/c0d0 Command (m for help): p Disk /dev/cciss/c0d0: 72.8 GB, 72829501440 bytes 255 heads, 32 sectors/track, 17432 cylinders Units = cylinders of 8160 * 512 = 4177920 bytes Device Boot Start End Blocks Id System /dev/cciss/c0d0p1 1 13 53024 83 Linux /dev/cciss/c0d0p2 14 971 3908640 82 Linux swap / Solaris /dev/cciss/c0d0p3 972 2169 4887840 83 Linux /dev/cciss/c0d0p4 2170 17432 62273040 5 Extended /dev/cciss/c0d0p5 2170 17432 62273024 8e Linux LVM
Created attachment 64920 [details] /etc/lvm/* What's else?
Nothing in /etc/dmtab ?
(In reply to comment #7) > Nothing in /etc/dmtab ? > Yes. dmsetup table >> /etc/dmtab has run before. I'm tryed delete them, but no effect
Ok, I talked to rocket, and aparently its not an issue to have two volumes with the same name ... it will help however if you can: 1) copy the exact error message you are getting 2) if you can tell us if lvm is built in, or modules 3) if you can tell us if you are using udev.
(In reply to comment #9) > Ok, I talked to rocket, and aparently its not an issue to have two volumes with > the same name ... it will help however if you can: > > 1) copy the exact error message you are getting I's hard for now... But, i got next error's: 1. Error creating volume (error with second /u02) 2. in mounting /var/log system report about "No such device" or something 3. System stop with greeting's "Ctrl-D or root password". 4. I'm running vgchange -a y .... 5 active, 5 active, 5 active, 6 active - ok, mount -a and press Ctrl-D. 5. System loading normally. > 2) if you can tell us if lvm is built in, or modules Is server. No modules. > 3) if you can tell us if you are using udev. > > In my previous messages, i'm report about udev 058 (see up). If you want more exact error messages, i'm stop server and cut&paste messages, but is hard ....
(In reply to comment #9) > Ok, I talked to rocket, and aparently its not an issue to have two volumes with > the same name ... it will help however if you can: > > 1) copy the exact error message you are getting When system report about no such device (/var/log), lvdisplay report next messages: LV Status NOT AVAIABLE
freeze?
Rocket, any other ideas? I have nfi about LVM ...
Created attachment 66851 [details] .config for my kernel (+ patch for shfs)
Created attachment 66852 [details] dmesg file Hardware list ...
With new version device-mapper and baselayout, i remove dmtable - now all working fine. Bug closed. Thanks for support!