Re: dracut does not mount iscsi targets specified using --mount option

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

 



On Thu, 2012-04-19 at 10:59 +0200, Harald Hoyer wrote:
> Am 19.04.2012 00:28, schrieb Vivek Goyal:
> > 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
> 
> "-m kdumpbase" - This tells dracut to only use the kdumpbase dracut module
> So, because the iscsi dracut module is not added, dracut does not even check() it.

Interesting, multipath and lvm etc. modules are added by dracut when it
is needed by --mount, so why iscsi is special here?

> 
> Why is it "-m kdumpbase" and not "--add kdumpbase" ???

I thought "--add" is plus for "-m", so the initial module has to be
added via "-m" in cmdline? Seems I was wrong, but could this be the
reason that causes iscsi module not loaded?

Thanks!

--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux