pass raw device as dracut argument

For raw device upon complex storage such as multipath and iscsi
dracut does not resolve the module dependency automaticlly,
I sent a patch for the device pass via dracut argument "--device"
see below for reference:
http://permalink.gmane.org/gmane.linux.kernel.initramfs/2836

Add --device <device> in mkdumprd for raw dump to fix this issue.

Testing:
raw dump on iscsi targets.

Signed-off-by: Dave Young <dyoung@redhat.com>
Tested-by: Chao Wang <chaowang@redhat.com>
Acked-by: Vivek Goyal <vgoyal@redhat.com>
This commit is contained in:
Dave Young 2012-08-09 11:17:10 +08:00
parent 679b4216fa
commit 5f68617954

View File

@ -200,6 +200,7 @@ do
echo "Bad raw disk $config_val"
exit 1
}
add_dracut_arg "--device" "$config_val"
check_size raw $config_val
;;
ssh)