On Wed, Mar 05, 2014 at 03:30:28PM -0700, Jerry Hoemann wrote:
[..]
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.
Why is it confusing? Can you give some examples please.
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?
I see few problems with this idea.
- It currently breaks the notion of "path" as specified in /etc/kdump.conf.
- It does not gel well with nfs target or ssh target. Now we will have
a new definition of "path" for the special case of where user has
not configured the dump destination explicitly.
- It breaks the notion of "default". Current default "default" is
"reboot". Because we are dumping to root disk by default, choosing
"dump_to_rootfs" as backup does not make any sense.
But if you start travelling down "path" and start choosing a different
disk automatically as dump destination, then it might make sense to
change default to "dump_to_rootfs" also. But some people might like it
saying saving dump is more important and save it to root disk if saving
to /var/crash disk fails while other might not like it saying it is
filling their root disk.
So given all the above, I would rather let user explicitly configure
the dump destination and "default" accordingly instead of trying to be
too smart about it and then get it wrong.
Thanks
Vivek