On 10/16/14 at 09:15am, Vivek Goyal wrote:
On Thu, Oct 16, 2014 at 11:15:16AM +0800, Minfei Huang wrote:
> On 10/15/14 at 04:43pm, Vivek Goyal wrote:
> > On Wed, Oct 15, 2014 at 03:35:22PM +0800, Minfei Huang wrote:
> > > From: mhuang <mhuang(a)redhat.com>
...
> > >
> > > In the initramfs, we will generate the config dasd.conf which contains
> > > all of the online devices by sysfs.
> >
> > Why are we putting all dasd devices in $initramfs/etc/dasd.conf. Shouldn't
> > we only add those devices which fall in dump path. System might have
> > many other dasd devices and we don't want to bring these up. These
> > will just add to extra memory usage.
>
> That is a good way to collect the useful device.
This is not preferred. This needs to be done only if we can't figure out
which dasd device falls in dump path.
The 2nd kernel will bring up all of devices, which are online in the
kernel during mkdumprd script is running to generate the initramfs.
So I collect all of the online devices by sysfs, and write to the
${initdir}/etc/dasd.conf.
I think it is more complex to figure out all of devices by dump path,
especially using LVM, etc.
In the other hand, by using this patch, We can bring up the deivce
whichever admin wants, without modifing the kexec-tool code
in the 2nd kernel.
>
> But I think we should make more similiar in the kdump environment to the
> 1st kernel.
Not in terms of bringing up all devices.
>
> Also administator can be offline all of useless devices(for kdump environment) to
> start the kdump service.
Other devices might be being used for other purposes in first kernel.
Kdump destination is only one of them. So admin will not offline rest
of the devices.
Thanks
Vivek
> >
> > >
> > > Signed-off-by: mhuang <mhuang(a)redhat.com>
> > > ---
> > > dracut-module-setup.sh | 25 +++++++++++++++++++++++++
> > > 1 file changed, 25 insertions(+)
...
> > > --
> > > 1.8.3.1
> > >
> > > _______________________________________________
> > > kexec mailing list
> > > kexec(a)lists.fedoraproject.org
> > >
https://lists.fedoraproject.org/mailman/listinfo/kexec
> _______________________________________________
> kexec mailing list
> kexec(a)lists.fedoraproject.org
>
https://lists.fedoraproject.org/mailman/listinfo/kexec