Opened 12 years ago

Closed 12 years ago

#297 closed defect (fixed)

syslinux doesn't seem to work through NFS

Reported by: Bruno Cornec Owned by: Bruno Cornec
Priority: normal Milestone: 2.2.8
Component: mindi Version: 2.2.7
Severity: blocker Keywords:
Cc:

Description (last modified by Bruno Cornec)

When using mondoarchive through NFS for -T and -S, mindi is called with temp files created through NFS as well.

syslinux called in mindi then hang (Status D) as here:

root     30894  0.0  0.0  2612  604 pts/4    D+   19:11   0:00 mattrib -h -r -s s:ldlinux.sys

A workaround in mindi consist in launching syslinux on a local disk before copying it on NFS.

mindi 2.0.4 line 1692:

Change

        syslinux $imagefile >> $LOGFILE 2>> $LOGFILE

into

        mv $imagefile /tmp/$imagefile
        syslinux /tmp/$imagefile >> $LOGFILE 2>> $LOGFILE
        mv /tmp/$imagefile $imagefile

Change History (4)

comment:1 Changed 12 years ago by Bruno Cornec

Some additional log info:

mattrib -h -r -s s:ldlinux.sys
syslinux /mnt/backupmondo/scratch/qpass1/mondo.scratch.23875/mondo.scratch.580/images/mindi-bootroot.16384.img

[root@qpass1 ~]# lsof /mnt/backupmondo
COMMAND    PID USER   FD   TYPE DEVICE     SIZE     NODE NAME
mattrib   1797 root    4uW  REG   0,16 16777216 10732101 /mnt/backupmondo/scratch/qpass1/mondo.scratch.7722/mondo.scratch.25103/images/.nfs00a3c245000000b0 (10.3.252.25:/dploy/mondo)
mattrib   3439 root    4uW  REG   0,16 16777216 10732096 /mnt/backupmondo/scratch/qpass1/mondo.scratch.17205/mondo.scratch.13107/images/.nfs00a3c240000000af (10.3.252.25:/dploy/mondo)
mattrib  29198 root    5uW  REG   0,16  2949120 22594466 /mnt/backupmondo/scratch/mondo.scratch.6457/mondo.scratch.32459/images/.nfs0158c3a2000000ad (10.3.252.25:/dploy/mondo)
syslinux 30892 root    3u   REG   0,16 16777216 10732104 /mnt/backupmondo/scratch/qpass1/mondo.scratch.23875/mondo.scratch.580/images/mindi-bootroot.16384.img (10.3.252.25:/dploy/mondo)
sh       30893 root    3u   REG   0,16 16777216 10732104 /mnt/backupmondo/scratch/qpass1/mondo.scratch.23875/mondo.scratch.580/images/mindi-bootroot.16384.img (10.3.252.25:/dploy/mondo)
mattrib  30894 root    3uW  REG   0,16 16777216 10732104 /mnt/backupmondo/scratch/qpass1/mondo.scratch.23875/mondo.scratch.580/images/mindi-bootroot.16384.img (10.3.252.25:/dploy/mondo)
mattrib  32615 root    4uW  REG   0,16 16777216 22593577 /mnt/backupmondo/scratch/mondo.scratch.23840/mondo.scratch.23360/images/.nfs0158c029000000ae (10.3.252.25:/dploy/mondo)

comment:2 Changed 12 years ago by Bruno Cornec

A workaround is to not use NFS for scratch

comment:3 Changed 12 years ago by Bruno Cornec

Description: modified (diff)

comment:4 Changed 12 years ago by Bruno Cornec

Resolution: fixed
Status: newclosed

Fixed in rev [2067] a bit more cleanly

Note: See TracTickets for help on using tickets.