[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#575498: marked as done (initramfs-tools: LVM doesn't start when using Labels in grub as rootlocation)



Your message dated Sun, 4 Apr 2010 05:19:13 +0200
with message-id <20100404031913.GL6199@stro.at>
and subject line Re: initramfs-tools: LVM doesn't start when using Labels in grub as rootlocation
has caused the Debian Bug report #575498,
regarding initramfs-tools: LVM doesn't start when using Labels in grub as rootlocation
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
575498: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=575498
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: initramfs-tools
Version: 0.93.4
Severity: normal

Hello,

I'm using in my grub configuration Labels to point out, where my Rootfs
is located.
This looks like # kopt=root=LABEL=ROOT ro
When the vlm2 initramfs-tools script runs this is translated so that
$ROOT is something like /dev/disk/by-label/ROOT
The script don't activates the vg's so that my root-fs is missing.

I have in the switch statement in the activate_vg function the following
lines appended and now it works (for me):
	
	/dev/disk/by-label*)
		lvm vgchange -aly --ignorelockingfailure
		exit 0
		;;

I hope this can be fixed in the package,
Thanks and best regards
Ingo Rauschenberg


-- Package-specific info:
-- /proc/cmdline
root=LABEL=ROOT ro vga=791

-- /proc/filesystems
	ext3

-- lsmod
Module                  Size  Used by
loop                   11783  0 
sg                     18728  0 
sr_mod                 12602  0 
cdrom                  29399  1 sr_mod
snd_pcm                60615  0 
snd_timer              15502  1 snd_pcm
joydev                  8411  0 
snd                    46350  2 snd_pcm,snd_timer
soundcore               4598  1 snd
snd_page_alloc          6217  1 snd_pcm
dcdbas                  5048  0 
pcspkr                  1699  0 
psmouse                49505  0 
evdev                   7336  4 
serio_raw               3752  0 
power_meter             8302  0 
processor              30215  16 
ext3                  106486  3 
jbd                    37053  1 ext3
mbcache                 4970  1 ext3
dm_mod                 53674  9 
raid1                  18175  1 
md_mod                 73632  2 raid1
usb_storage            38521  0 
usbhid                 33132  0 
hid                    62825  1 usbhid
ses                     5096  0 
sd_mod                 29689  5 
crc_t10dif              1276  1 sd_mod
enclosure               5471  1 ses
uhci_hcd               18505  0 
igb                    77975  0 
qla2xxx               202926  0 
scsi_transport_fc      35275  1 qla2xxx
megaraid_sas           29052  3 
scsi_tgt                8434  1 scsi_transport_fc
ehci_hcd               30706  0 
scsi_mod              121925  9 sg,sr_mod,usb_storage,ses,sd_mod,qla2xxx,scsi_transport_fc,megaraid_sas,scsi_tgt
dca                     3729  1 igb
usbcore               121703  5 usb_storage,usbhid,uhci_hcd,ehci_hcd
nls_base                6377  1 usbcore
bnx2                   57289  0 
button                  4634  0 
thermal                11674  0 
fan                     3346  0 
thermal_sys            11878  3 processor,thermal,fan

-- /etc/kernel-img.conf
# Kernel image management overrides
# See kernel-img.conf(5) for details
do_symlinks = yes
do_bootloader = no
do_initrd = yes
link_in_boot = no

-- /etc/initramfs-tools/initramfs.conf
MODULES=most
BUSYBOX=y
KEYMAP=n
BOOT=local
DEVICE=eth0
NFSROOT=auto


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-3-amd64 (SMP w/16 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages initramfs-tools depends on:
ii  cpio                         2.11-1      GNU cpio -- a program to manage ar
ii  findutils                    4.4.2-1     utilities for finding files--find,
ii  klibc-utils                  1.5.15-1    small utilities built with klibc f
ii  module-init-tools            3.12~pre2-1 tools for managing Linux kernel mo
ii  udev                         151-3       /dev/ and hotplug management daemo

Versions of packages initramfs-tools recommends:
ii  busybox                       1:1.14.2-2 Tiny utilities for small and embed

initramfs-tools suggests no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
closing as bug is not really about initramfs,                                   
but more a lvm2 specific that it needs no UUID or LABEL
                                                                                
workaround to use real device aka /dev/mapper/vg-lv is easy                     
and recommend. it is the one that debian-installer uses.                        
                                                                                
thanks for report                                                               
                                                                                
--                                                                              
maks   


--- End Message ---

Reply to: