On 03/07/14 at 02:51pm, Dave Young wrote:
On 03/05/14 at 03:30pm, Jerry Hoemann wrote:
> On Mon, Mar 03, 2014 at 06:37:16PM +0800, Baoquan He wrote:
> Baoquan,
>
> Thanks for making this change. I have hit this problem and this
> modification will make things better.
>
> This got me thinking about the issue, and I have an idea
> for a next step and wanted your feedback.
>
> Right now, fedora requires the pair { <partition>, <path> }
> where path is relative to the root of the partition.
>
> I find this a little confusing especially when using the gui
> system-config-kdump.
>
> As an alternative, could we instead of having the customer visible
> entities that need to be configured as the above pair, could we
> just have them specify the mounted path and walk up the path
> to find the partition?
>
> So, if they say "/home/user/crash" we first look if
"/home/user/crash"
> is a mounted partition, if it is, this is the partition for crash
> and our relative path is ".".
>
> If crash isn't a mounted partition we check "/home/user" and if it is
our
> partition is that and the relative path is "./crash". And so on until
> we get to "/".
I would say there's advantage for using only "path" option for filesystem
based dump, we can get all the informations including disk, mount option
etc. The only exception is ssh dump which can use old semantic.
But it is really too late for RHEL7.0 even RHEL7, so I think maybe we can
make it a future feature for RHEL8...
Hi all,
Yesterday we discussed this issue on weekly meeting. I realized Vivek
may not understand Dave's idea. Dave thought let's discard the file
system option: <fs type> <partition>, just use 'path' option.
Whatever
the file system type the partition is, in rhel7/fedora user need mount
the partition firstly in 1st kernel, then the specified 'path' is parsed
and the mount info and path is written into 2nd kernel.
After dump and reboot to 1st kernel, user will see the vmcore in 'path'
user specified. They don't need consider the fs type and partition,
developer do it for them. In this way, it's a big change, and will
impact user's deployment. So Dave suggest put this idea and
implementation to rhel8 or fedora.
However on weekly meeting, we agreed on Vivek's idea which we only
address the default target: dump_to_rootfs. This is not a big change,
and can simplify user's operation and understanding. This is what I am
going to do.
Nothing more, just make a conclusion and hope this clearer.
Baoquan
Thanks
Thanks
Dave
_______________________________________________
kexec mailing list
kexec(a)lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/kexec