Le mar 26/10/2004 à 15:02, Jim McQuillan a écrit :
> Thomas,
> 
> Do you have /var/opt/ltsp/swapfiles listed in your /etc/exports file?
> 
> Do this:
> 
>    showmount -e
> 
> It should show both /opt/ltsp and /var/opt/ltsp/swapfiles.  make sure
> the IP address info in the /etc/exports file matches your environment.
> 
> Jim McQuillan

well i have modified my setup to be sure it is not a permissions issue:
mkdir -pm 777 /ltsp/swapfiles   ( location of swapfiles )

/etc/exports :
/opt/ltsp/ 10.0.0.0/255.0.0.0(ro,no_root_squash,sync)
/ltsp 10.0.0.0/255.0.0.0(ro,no_root_squash,sync)

name resolution via /etc/hosts ok though i am using ip addresses to
identify client in lts.conf

/opt/ltsp/i386/etc/lts.conf:
[10.0.0.12]
USE_NFS_SWAP = Y
NFS_SWAPDIR = /ltsp
SWAPFILE_SIZE = 64m

booting given machine gives:
<...>
/dev/ram1 on /tmp type ext2 (rw)
10.0.0.4:/ltsp/swapfiles on /tmp/swapfiles type nfs
(rw,v3,rsize=2048,wsize=2048,hard,udp,nolock,addr=10.0.0.4)
Error opening /tmp/swapfiles/10.0.0.12.swap: Permission denied
Error creating swapfile, ERR=1
Press <enter> to continue

so the swapfiles directory appears to be correctly mounted by client,
the error occurs after, while creating swapfile

btw, i tried to create a swapfile manually with dd and mkswap, with
proper name, to no avail.

any idea ?

thanks in advance

-- 
-- Thomas Constans --

http://www.opendoor.fr
[EMAIL PROTECTED]
04 78 68 17 34
-- 
-- Thomas Constans --

http://www.opendoor.fr
[EMAIL PROTECTED]
04 78 68 17 34



-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_idU88&alloc_id065&op=click
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net

Reply via email to