All of lore.kernel.org
 help / color / mirror / Atom feed
* dracut does not mount iscsi targets specified using --mount option
@ 2012-04-18 22:28 Vivek Goyal
       [not found] ` <20120418222829.GG2224-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 27+ messages in thread
From: Vivek Goyal @ 2012-04-18 22:28 UTC (permalink / raw)
  To: Harald Hoyer, initramfs-u79uwXL29TY76Z2rM5mHXA; +Cc: Cong Wang, Dave Young

Hi,

I am trying to dump kernel vmcore to an software iscsi target (kdump).
kdump specifies the dump destination using "--mount" option. But dracut
does not even include the "iscsi" module and associated device is not
mounted in second kernel.

Following is the dracut command line as called by /sbin/mkdumprd.

dracut -m kdumpbase --add dash --add fstab-sys --add kernel-modules -c /dev/null -I /sbin/makedumpfile --mount '/dev/mapper/vg-lv_root / ext4 rw,seclabel,relatime,user_xattr,barrier=1,data=ordered' --mount '/dev/mapper/mpatha /mnt/common ext4 rw,seclabel,relatime,user_xattr,barrier=1,stripe=16,data=ordered' -M -f /boot/initramfs-3.3.2-1.fc17.x86_64kdump.img 3.3.2-1.fc17.x86_64

Note there is a multipath target over iscsi devices and that target is
mounted on /mnt/common. Hence specified using "--mount /dev/mapper/mpatha
/mnt/common"

Following is list of modules being included by dracut (printed on standard
output due to -M option).

rpmversion
dm
kernel-modules
lvm
multipath
fstab-sys
rootfs-block
udev-rules
base
fs-lib
kdumpbase
shutdown

I thought that once you specify a mount using "--mount" option, dracut
will traverse through the full device stack, figure out all the
dependencies, include all the modules and bring up the full stack in 
the kernel and mount the top level device. Is that not the case?

BTW,  I have done testing with multipath targets (without iscsi) and
it works. So multipath is not the issue. But iscsi is.

Thanks
Vivek

^ permalink raw reply	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2012-04-30 15:07 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-18 22:28 dracut does not mount iscsi targets specified using --mount option Vivek Goyal
     [not found] ` <20120418222829.GG2224-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2012-04-19  4:57   ` Cong Wang
2012-04-19  8:59   ` Harald Hoyer
     [not found]     ` <4F8FD3E5.90103-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2012-04-20  6:45       ` Cong Wang
2012-04-20  8:42         ` Harald Hoyer
     [not found]           ` <20120420155143.GK22419@redhat.com>
     [not found]             ` <20120420155143.GK22419-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2012-04-23  4:09               ` Cong Wang
2012-04-20 13:51       ` Vivek Goyal
     [not found]         ` <20120420135156.GE22419-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2012-04-23  4:11           ` Cong Wang
2012-04-23  7:40             ` Harald Hoyer
     [not found]               ` <4F95076A.9060504-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2012-04-23  7:53                 ` Cong Wang
2012-04-23  8:37                   ` Harald Hoyer
     [not found]                     ` <4F9514E5.3010003-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2012-04-23 12:54                       ` Vivek Goyal
     [not found]                         ` <20120423125449.GF8103-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2012-04-24  3:18                           ` Cong Wang
2012-04-24 21:02                             ` Vivek Goyal
     [not found]                               ` <20120424210224.GJ26708-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2012-04-25  9:26                                 ` Harald Hoyer
     [not found]                                   ` <4F97C337.8040604-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2012-04-25 13:46                                     ` Vivek Goyal
     [not found]                                       ` <20120425134606.GE12519-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2012-04-25 13:57                                         ` Harald Hoyer
     [not found]                                           ` <4F9802CE.2030601-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2012-04-25 14:14                                             ` Vivek Goyal
     [not found]                                               ` <20120425141421.GF12519-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2012-04-25 14:22                                                 ` Harald Hoyer
     [not found]                                                   ` <4F9808A1.50206-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2012-04-25 15:02                                                     ` Vivek Goyal
     [not found]                                                       ` <20120425150246.GG12519-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2012-04-25 16:14                                                         ` Harald Hoyer
     [not found]                                                           ` <4F9822FD.1010303-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2012-04-25 18:44                                                             ` Vivek Goyal
2012-04-30 15:07                                             ` Vivek Goyal
2012-04-25 13:34                                 ` Harald Hoyer
2012-04-23 14:49                       ` Vivek Goyal
     [not found]               ` <20120423151711.GD15561@redhat.com>
     [not found]                 ` <20120423151711.GD15561-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2012-04-23 16:11                   ` Harald Hoyer
     [not found]                     ` <4F957F4A.6090808-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2012-04-24  1:38                       ` Vivek Goyal

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.