[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Diskless from NFS --1) nfsd (rmtab); 2) /dev



On 22 Jan 2000, Brian May wrote:

> >>>>> "Olexiy" == Olexiy Ye Tykhomyrov <tiger@ff.dsu.dp.ua> writes:
> 
>     Olexiy> 1. While shutdown, unmount writes: "device is busy", so
>     Olexiy> nfsd on the server does not rid off the corresponding
>     Olexiy> enters from /etc/rmtab that is not good in common;
> 
> I think I have the similar problem, too.
> 
> Question: is /dev mounted on a seperate partition?

Of course not, but I have tried both --- after your letter. Nothing helps.

> 
> IIRC: If so, then that is your problem. /dev is accessed by the
> shutdown process, and which means that it cannot be umounted.
> 
> Otherwise what partition is it that cannot be umounted? Nothing should
> ever try to umount / - instead it should be remounted 

I think anyway the solution I suggested -- to re-write nfsd to check the
same mount point first was correct, because tcp standard may to use
time-out. Only one problem, nfs uses udp :(. 

Unmounting is not a big problem but keeping up-to-time /etc/rmtab is,
otherwise nfsd thinks there are lots of open files.

> 
>     Olexiy> 2. While working, tty* devices keep the same date, (in
>     Olexiy> fact the date of creation /dev/tty*), thus commands like
>     Olexiy> "w", autologd, etc are not able to calculate idle time
>     Olexiy> correctly. Of course "touch" these devices work just
>     Olexiy> fine. I had tried to create /dev in boot time, but that
>     Olexiy> did not help much.
> 
> I have noticed very weird behaviour at times here, too.
> 
> eg idle time isolating between 0seconds and 112 days, when this was
> the tty which was active...
>
Yes-yes, it's annoying so much.
 
> Linux 2.2.12.

BTW, did you try diskless with Linux 2.2.12? How did you make swap via
     NFS?
> -- 
> Brian May <bam@debian.org>
> 
==========================================================================
        Olexiy Ye Tykhomyrov   \  please email tiger@ff.dsu.dp.ua        |
                                \ ==PGP key available on request==       |
==========================================================================


Reply to: