[PATCH v2] mkdumprd: try to get mount options from fstab first

Baoquan He bhe at redhat.com
Thu Sep 18 02:31:18 UTC 2014


On 09/17/14 at 08:49am, Vivek Goyal wrote:
> On Wed, Sep 17, 2014 at 06:46:49PM +0800, Baoquan He wrote:
 
> Bao,
> 
> Yes x-systemd* are options for systemd. But they can be specified in
> /etc/fstab file. Only my system they are present.
> 
> So question is, who removes these options from command line when actual
> "mount" is called.

I added x-systemd.device-timeout=1 into the nfs mount entry of
/etc/fstab, kdump can load and dump successfully. That means this can be
recognized by mount and dracut doesn't filter it out specifically.

Below is the fstab of my kvm guest:


[root at localhost ~]# cat /etc/fstab

#
# /etc/fstab
# Created by anaconda on Fri Mar 21 06:21:58 2014
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more
# info
#
/dev/mapper/fedora-root /                       ext4    defaults
1 1
UUID=a3ab560e-e001-403a-b470-974ee5c1bf53 /boot                   ext4
defaults        1 2
/dev/mapper/fedora-swap swap                    swap    defaults
0 0
192.168.100.227:/var/crash/nfs  /mnt    nfs
defaults,x-systemd.device-timeout=1        0 0

> 
> Thanks
> Vivek


More information about the kexec mailing list