Discussion:
[Ltsp-discuss] Problems with Debian Stretch and NBD
Robert Mavrinac
2017-07-04 13:26:07 UTC
Permalink
I just upgraded to Debian Stretch, but I'm having major problems with NBD disconnecting.


Is there a method to mount the squashfs root image over NFS instead of NBD?
Valtteri Suojanen
2017-07-04 19:58:27 UTC
Permalink
Hi


If you have in your in LTSP package client image tree a file
/usr/share/initramfs-tools/scripts/nfs-bottom/ltsploop


Try it :


|# Quick hack to mount an image file over NFS, as an alternative to NBD
mounts. # # Requires specifying nfsroot=/opt/ltsp/images and
ltsploop=ARCH.img on the # commandline. ltsploopfs=FS can be used to
specify the filesystem, defaults to # "squashfs" # # Also needs a dummy
/opt/ltsp/images/sbin/init-ltsp to be an executable file # to work
around a bug/feature in initramfs-tools's nfs mount checks... |


and add the specified image path in /etc/exports


For reference

https://git.launchpad.net/ltsp/tree/client/Debian/share/initramfs-tools/scripts/nfs-bottom/ltsploop


the dummy file workaround part looks obsolete - I think there is no such
nfs mount init check but I haven't tested it myself.



br,

Valtteri Suojanen
Post by Robert Mavrinac
I just upgraded to Debian Stretch, but I'm having major problems with NBD disconnecting.
Is there a method to mount the squashfs root image over NFS instead of NBD?
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_____________________________________________________________________
https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help, try #ltsp channel on irc.freenode.net
richard kweskin
2017-07-05 09:37:52 UTC
Permalink
Post by Robert Mavrinac
I just upgraded to Debian Stretch, but I'm having major problems with NBD disconnecting.
Is there a method to mount the squashfs root image over NFS instead
of
NBD?
If you could copy/paste any error messages that might lead to a better
solution as NBD is usually faster than NFS.

Also, here is documentation: https://wiki.debian.org/LTSP/Howto

Richard

Loading...