[make-initrd] NFS root

Leonid Krivoshein klark.devel at gmail.com
Mon Apr 29 20:06:54 MSK 2019


Продолжаю тестировать пока предыдущий мастер (2.3.1). Развёрнут обычный 
Альт сервер 8.2 (сервер сетевой загрузки)

pxe:/srv/public# exportfs -s
/srv/public 
*(ro,wdelay,insecure,root_squash,no_subtree_check,fsid=1,sec=sys,ro,insecure,root_squash,no_all_squash)

Руками всё монтируется без ошибок, NFS-ресурсы видит без проблем. В 
качестве rootfs на сервере распаковал sqaush образ rescue. Гружусь так:

console=ttyS0,115200 STOP=,all, ip=dhcp4 ipv6.disable=1 
nfsroot=10.4.129.194:/srv/public/rootfs root=/dev/nfs 
nfsopts=ro,soft,nolock ro

Непонятно, что происходит и где посмотреть -- отваливается по таймауту:

[   14.867943] Run /init as init process
[   14.812350] INITRAMFS: version 2.3.1
[   14.822271] INIT: Entering runlevel: 3
Start service shell (Y)es/(N)o/(C)ontinue/(S)hell? [Y] y
[   22.825134] Starting shell service:                                 [ 
DONE ]
Start service cmdline (Y)es/(N)o/(C)ontinue/(S)hell? [Y] y
[   29.303898] Parsing cmdline arguments:                              [ 
DONE ]
[   29.347144] Generating network configuration:                       [ 
DONE ]
Start service fstab (Y)es/(N)o/(C)ontinue/(S)hell? [Y] y
[   37.984010] Creating /etc/fstab:                                    [ 
DONE ]
Start service mountfs (Y)es/(N)o/(C)ontinue/(S)hell? [Y] y
[   46.384877] Mounting filesystem [/dev]:                             [ 
DONE ]
[   46.405567] Mounting filesystem [/sys]:                             [ 
DONE ]
[   46.437681] Mounting filesystem [/run]:                             [ 
DONE ]
Start service sysctl (Y)es/(N)o/(C)ontinue/(S)hell? [Y] y
[   48.976444] Setting kernel runtime parameters:                      [ 
DONE ]
Start service uevent (Y)es/(N)o/(C)ontinue/(S)hell? [Y] y
[   51.610211] Starting ueventd service:                               [ 
DONE ]
Start service lukskeys (Y)es/(N)o/(C)ontinue/(S)hell? [Y] y
Start service modules (Y)es/(N)o/(C)ontinue/(S)hell? [Y] y
[   60.279482] Loading modules:                                        [ 
DONE ]
Start service udev (Y)es/(N)o/(C)ontinue/(S)hell? [Y] y
[   66.689783] Starting udevd service:                                 [ 
DONE ]
Start service mountsrc (Y)es/(N)o/(C)ontinue/(S)hell? [Y] y
Start service plymouth (Y)es/(N)o/(C)ontinue/(S)hell? [Y] n


-- 
Best regards,
Leonid Krivoshein.



More information about the Make-initrd mailing list