Quantcast
Channel: Linux Device Hacking
Viewing all articles
Browse latest Browse all 3247

Restarting of nfs-kernel-server by udev event during booting (no replies)

$
0
0
I am using an udev configuration which restarts the nfs-kernel-server after disks are mounted. Now I got a problem that this stops the system startup.
Synthesizing the initial hotplug events...done.
Waiting for /dev to be fully populated...[   39.464422] EXT4-fs (sdb1): Ignoring deprecated nobh option
[   40.050294] EXT4-fs (sdb1): barriers disabled
[   40.148387] EXT4-fs (sdb1): mounted filesystem with writeback data mode. Opts: barrier=0,data=writeback,nobh,commit=100,nouser_xattr,errors=remount-ro
[   41.536849] RPC: Registered named UNIX socket transport module.
[   41.542845] RPC: Registered udp transport module.
[   41.547583] RPC: Registered tcp transport module.
[   41.552305] RPC: Registered tcp NFSv4.1 backchannel transport module.
[   41.663090] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
^CSetting parameters of disc: (none).
At the line "Installing knfsd..." I must push Ctrl+C that the startup continues.

Part of udev config:
# Mount the device
ACTION=="add", ENV{dir_name}!="", RUN+="/bin/mkdir -p '/media/%E{dir_name}'", RUN+="/bin/mount -o %E{mount_options} /dev/%E{crypto}%k '/med$
ACTION=="add", ENV{dir_name}!="", RUN+="/etc/rc.local.durchsatz '%E{dev_name}'", RUN+="/etc/init.d/nfs-kernel-server restart"

I took the rootfs over from Pogoplug Pro and just added the 3.3.2 kernel. On Pogoplug Pro it was working.

Viewing all articles
Browse latest Browse all 3247

Trending Articles