Discussion:
[Ltsp-discuss] ltsp-pnp: No overlayfs or aufs support detected
Truth
2016-01-20 23:01:19 UTC
Permalink
Hi,

I'm back again with a new problem.

While everything was fine with my test-setup using Debian 8.2 (i386,
linux-3.16) ...
I tried to install the same ltsp-pnp server on Debian 8.2 (using
linux-4.3 from the backports).

After reconfig the initramfs with ...
dpkg-reconfigure linux-image-4.3.0-0.bpo.1-686-pae

I tried to create an image with the command
ltsp-update-image --cleanup /

and get the following error message:
modprobe: FATAL: Module overlayfs not found.
modprobe: FATAL: Module aufs not found.
No overlayfs or aufs support detected

(I did not have this problem with linux-3.16.)

Does someone has an idea what's wrong?

Many thanks in advance,
Truth



------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_____________________________________________________________________
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
Vagrant Cascadian
2016-01-21 04:15:33 UTC
Permalink
Post by Truth
While everything was fine with my test-setup using Debian 8.2 (i386,
linux-3.16) ...
I tried to install the same ltsp-pnp server on Debian 8.2 (using
linux-4.3 from the backports).
You'll need the backported LTSP packages from jessie-backports, and may
as well get updated LDM packages while you're at it.
Post by Truth
I tried to create an image with the command
ltsp-update-image --cleanup /
modprobe: FATAL: Module overlayfs not found.
modprobe: FATAL: Module aufs not found.
No overlayfs or aufs support detected
(I did not have this problem with linux-3.16.)
Does someone has an idea what's wrong?
The issue is that 4.x kernels in jessie-backports don't have aufs
support, and the version of LTSP you are using doesn't have support for
the overlay fs included in the 4.x kernels (not to be confused with
overlayfs, which was shipped with ubuntu, but behaved somewhat
differently).

The newer versions of LTSP fix this issue, although required switching
to NBD rather than NFS, as overlay fs is incompatible:

https://bugs.debian.org/786925


live well,
vagrant
Truth
2016-01-21 10:16:53 UTC
Permalink
Post by Vagrant Cascadian
Post by Truth
While everything was fine with my test-setup using Debian 8.2 (i386,
linux-3.16) ...
I tried to install the same ltsp-pnp server on Debian 8.2 (using
linux-4.3 from the backports).
You'll need the backported LTSP packages from jessie-backports, and may
as well get updated LDM packages while you're at it.
Post by Truth
I tried to create an image with the command
ltsp-update-image --cleanup /
modprobe: FATAL: Module overlayfs not found.
modprobe: FATAL: Module aufs not found.
No overlayfs or aufs support detected
(I did not have this problem with linux-3.16.)
Does someone has an idea what's wrong?
The issue is that 4.x kernels in jessie-backports don't have aufs
support, and the version of LTSP you are using doesn't have support for
the overlay fs included in the 4.x kernels (not to be confused with
overlayfs, which was shipped with ubuntu, but behaved somewhat
differently).
The newer versions of LTSP fix this issue, although required switching
https://bugs.debian.org/786925
live well,
vagrant
Thanks for your input.
I've installed ltsp-server-standalone and ltsp-client from the
backports (ldm was already the latest version).
Nevertheless, on a first try I've got the same error message.

I've tried several things and finally ltsp was running.
I'm not quite sure what exactly made the difference but it could be that
apt-get -t jessie-backports upgrade

... solved the problem.

Now, when running ltsp-update-image --cleanup /
I get a nice image and (almost) everything is fine.

However, is there a way to make an image including symlinks?
Some parts of my home-directory (e.g. some virtualbox stuff) is located
in a separate partition which is mounted to /mnt/home2 and I use
symlinks to connect to this mount.

Many thanks in advance.
Truth


------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_____________________________________________________________________
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
Truth
2016-01-21 11:05:56 UTC
Permalink
Post by Truth
Post by Vagrant Cascadian
Post by Truth
While everything was fine with my test-setup using Debian 8.2 (i386,
linux-3.16) ...
I tried to install the same ltsp-pnp server on Debian 8.2 (using
linux-4.3 from the backports).
You'll need the backported LTSP packages from jessie-backports, and may
as well get updated LDM packages while you're at it.
Post by Truth
I tried to create an image with the command
ltsp-update-image --cleanup /
modprobe: FATAL: Module overlayfs not found.
modprobe: FATAL: Module aufs not found.
No overlayfs or aufs support detected
(I did not have this problem with linux-3.16.)
Does someone has an idea what's wrong?
The issue is that 4.x kernels in jessie-backports don't have aufs
support, and the version of LTSP you are using doesn't have support for
the overlay fs included in the 4.x kernels (not to be confused with
overlayfs, which was shipped with ubuntu, but behaved somewhat
differently).
The newer versions of LTSP fix this issue, although required switching
https://bugs.debian.org/786925
live well,
vagrant
Thanks for your input.
I've installed ltsp-server-standalone and ltsp-client from the
backports (ldm was already the latest version).
Nevertheless, on a first try I've got the same error message.
I've tried several things and finally ltsp was running.
I'm not quite sure what exactly made the difference but it could be that
apt-get -t jessie-backports upgrade
... solved the problem.
Now, when running ltsp-update-image --cleanup /
I get a nice image and (almost) everything is fine.
However, is there a way to make an image including symlinks?
Some parts of my home-directory (e.g. some virtualbox stuff) is located
in a separate partition which is mounted to /mnt/home2 and I use
symlinks to connect to this mount.
Many thanks in advance.
Truth
I've just realized that the home-directory can not be part of the image.
However, I guess that I need to modify a config-file (how?) to solve my
problem ...

Truth

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_____________________________________________________________________
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
Helmut Lichtenberg
2016-01-21 11:52:05 UTC
Permalink
Post by Truth
I've just realized that the home-directory can not be part of the image.
However, I guess that I need to modify a config-file (how?) to solve my
problem ...
What about automounting?

If you use Debian jessie there is systemd. Try an entry in /etc/fstab in the
image:

<fileserver>:/myhome /myhome nfs vers=3,tcp,comment=systemd.automount 0 0

Regards
Helmut
--
--------------------------------------------------------------------------
Helmut Lichtenberg <***@fli.bund.de> Tel.: 05034/871-5128
Institut für Nutztiergenetik (FLI) 31535 Neustadt Germany
--------------------------------------------------------------------------

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_____________________________________________________________________
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
Truth
2016-01-21 14:03:45 UTC
Permalink
Post by Helmut Lichtenberg
Post by Truth
I've just realized that the home-directory can not be part of the image.
However, I guess that I need to modify a config-file (how?) to solve my
problem ...
What about automounting?
If you use Debian jessie there is systemd. Try an entry in /etc/fstab in the
<fileserver>:/myhome /myhome nfs vers=3,tcp,comment=systemd.automount 0 0
Regards
Helmut
In order to find out what you mean I've read some man pages
http://linux.die.net/man/5/fstab
http://linux.die.net/man/5/fs

and finally found the syntax within: http://linux.die.net/man/5/nfs

However, what I do not quit understand is why I can/should use nfs here
while the client uses fuse.sshfs to connect to the ltsp-server?

E.g. typing the command mount on the client results in something like:
server:/home/truth on /home/truth type fuse.sshfs
(rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other)

Truth

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_____________________________________________________________________
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
Helmut Lichtenberg
2016-01-21 14:32:18 UTC
Permalink
Post by Truth
Post by Helmut Lichtenberg
Post by Truth
I've just realized that the home-directory can not be part of the image.
However, I guess that I need to modify a config-file (how?) to solve my
problem ...
What about automounting?
If you use Debian jessie there is systemd. Try an entry in /etc/fstab in the
<fileserver>:/myhome /myhome nfs vers=3,tcp,comment=systemd.automount 0 0
However, what I do not quit understand is why I can/should use nfs here
while the client uses fuse.sshfs to connect to the ltsp-server?
NFS is the traditional protocol to connect remote storage and it is easy to
handle.
Post by Truth
server:/home/truth on /home/truth type fuse.sshfs
(rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other)
However, is there a way to make an image including symlinks?
Some parts of my home-directory (e.g. some virtualbox stuff) is located
in a separate partition which is mounted to /mnt/home2 and I use
symlinks to connect to this mount.
This appeared to me as a request, to mount some storage besides the common
home from a fileserver.

For NFS, you have to install the package nfs-kernel-server (Debian) on the
file server and create a file (or add an entry to) /etc/exports:

/home2 10.1.1.0/255.255.255.0(rw,async,no_subtree_check)

10.1.1.0/255.255.255.0 might be the subnet for your thin clients, please
adapt to your needs.

This gives the client the right to mount your /home2
With an appropriate entry (see above) in your thin clients /etc/fstab, this
directory is mounted automatically when needed.

In the thin client image, you have to install the package nfs-common.

Regards
Helmut
--
--------------------------------------------------------------------------
Helmut Lichtenberg <***@fli.bund.de> Tel.: 05034/871-5128
Institut für Nutztiergenetik (FLI) 31535 Neustadt Germany
--------------------------------------------------------------------------

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_____________________________________________________________________
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
Valtteri Suojanen
2016-01-21 12:56:13 UTC
Permalink
can you see any home directory ( most of it) after logging in to the
desktop session? session is served default from the boot/ltsp server. you
should get the home/user mounted from ltsp server without changing
anything. home directory is mounted with sshfs

how do you use this ltsp server? is the setup built for multiple users or
just one user/you?

keep in mind that consideration how your server is used and
Check lts.conf manpaged and try:

a) LOCAL_APPS_EXTRAMOUNTS=/mnt/home2
or
b)just create the symlinks in the home directory and test login from client
(check from manpage SSH_FOLLOW_SYMLINKS)

or if nfs mount sounds ok
c) check NFS_HOME (is it depricated?). maybe search here in ltsp-discuss
how FSTAB has been used to do nfs mounts

Best regards
Valtteri Suojanen
Post by Truth
Post by Truth
Post by Vagrant Cascadian
Post by Truth
While everything was fine with my test-setup using Debian 8.2 (i386,
linux-3.16) ...
I tried to install the same ltsp-pnp server on Debian 8.2 (using
linux-4.3 from the backports).
You'll need the backported LTSP packages from jessie-backports, and may
as well get updated LDM packages while you're at it.
Post by Truth
I tried to create an image with the command
ltsp-update-image --cleanup /
modprobe: FATAL: Module overlayfs not found.
modprobe: FATAL: Module aufs not found.
No overlayfs or aufs support detected
(I did not have this problem with linux-3.16.)
Does someone has an idea what's wrong?
The issue is that 4.x kernels in jessie-backports don't have aufs
support, and the version of LTSP you are using doesn't have support for
the overlay fs included in the 4.x kernels (not to be confused with
overlayfs, which was shipped with ubuntu, but behaved somewhat
differently).
The newer versions of LTSP fix this issue, although required switching
https://bugs.debian.org/786925
live well,
vagrant
Thanks for your input.
I've installed ltsp-server-standalone and ltsp-client from the
backports (ldm was already the latest version).
Nevertheless, on a first try I've got the same error message.
I've tried several things and finally ltsp was running.
I'm not quite sure what exactly made the difference but it could be that
apt-get -t jessie-backports upgrade
... solved the problem.
Now, when running ltsp-update-image --cleanup /
I get a nice image and (almost) everything is fine.
However, is there a way to make an image including symlinks?
Some parts of my home-directory (e.g. some virtualbox stuff) is located
in a separate partition which is mounted to /mnt/home2 and I use
symlinks to connect to this mount.
Many thanks in advance.
Truth
I've just realized that the home-directory can not be part of the image.
However, I guess that I need to modify a config-file (how?) to solve my
problem ...
Truth
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_____________________________________________________________________
https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help, try #ltsp channel on irc.freenode.net
Truth
2016-01-21 15:24:29 UTC
Permalink
to Vlaltteri:
--------------
As you can see from the previous post I see the home directory mounted
via sshfs.

The server has multiple users which I want to distribute to several clients.
The login screen on the client shows a prompt for user-name (and later
for the password).
(I'm not sure if this is what you want to know.)
However, I'm able to login for different users.

I've tried LOCAL_APPS_EXTRAMOUNTS=/mnt/home2
which sounds really promising.
Unfortunately, the additional mount-point is not visible after a reboot
of the client (and the server).
Do I have to rebuilt the image first?

The symlinks within /home/truth are visible also on the client side.
However, the symlinks point to a mount-point which does not exist, e.g.:
VirtualBox VMs -> /mnt/home2/truth/

Any further suggestions?


to Helmut:
-------------
As far as I understand LTSP is able to use nbd or nfs - however, running
LTSP-PNP on kernel 4.3 seems to allows only nbd
(see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=786925)

Nevertheless, even if nfs would be possible I would prefer to not mix to
many filesystems.
For that reason I would prefer to first follow Vlatteris approach ...


Truth
Post by Valtteri Suojanen
can you see any home directory ( most of it) after logging in to the
desktop session? session is served default from the boot/ltsp server.
you should get the home/user mounted from ltsp server without changing
anything. home directory is mounted with sshfs
how do you use this ltsp server? is the setup built for multiple users
or just one user/you?
keep in mind that consideration how your server is used and
a) LOCAL_APPS_EXTRAMOUNTS=/mnt/home2
or
b)just create the symlinks in the home directory and test login from
client (check from manpage SSH_FOLLOW_SYMLINKS)
or if nfs mount sounds ok
c) check NFS_HOME (is it depricated?). maybe search here in
ltsp-discuss how FSTAB has been used to do nfs mounts
Best regards
Valtteri Suojanen
Post by Truth
Post by Vagrant Cascadian
Post by Truth
While everything was fine with my test-setup using Debian 8.2
(i386,
Post by Truth
Post by Vagrant Cascadian
Post by Truth
linux-3.16) ...
I tried to install the same ltsp-pnp server on Debian 8.2 (using
linux-4.3 from the backports).
You'll need the backported LTSP packages from jessie-backports,
and may
Post by Truth
Post by Vagrant Cascadian
as well get updated LDM packages while you're at it.
Post by Truth
I tried to create an image with the command
ltsp-update-image --cleanup /
modprobe: FATAL: Module overlayfs not found.
modprobe: FATAL: Module aufs not found.
No overlayfs or aufs support detected
(I did not have this problem with linux-3.16.)
Does someone has an idea what's wrong?
The issue is that 4.x kernels in jessie-backports don't have aufs
support, and the version of LTSP you are using doesn't have
support for
Post by Truth
Post by Vagrant Cascadian
the overlay fs included in the 4.x kernels (not to be confused with
overlayfs, which was shipped with ubuntu, but behaved somewhat
differently).
The newer versions of LTSP fix this issue, although required
switching
Post by Truth
Post by Vagrant Cascadian
https://bugs.debian.org/786925
live well,
vagrant
Thanks for your input.
I've installed ltsp-server-standalone and ltsp-client from the
backports (ldm was already the latest version).
Nevertheless, on a first try I've got the same error message.
I've tried several things and finally ltsp was running.
I'm not quite sure what exactly made the difference but it could
be that
Post by Truth
apt-get -t jessie-backports upgrade
... solved the problem.
Now, when running ltsp-update-image --cleanup /
I get a nice image and (almost) everything is fine.
However, is there a way to make an image including symlinks?
Some parts of my home-directory (e.g. some virtualbox stuff) is
located
Post by Truth
in a separate partition which is mounted to /mnt/home2 and I use
symlinks to connect to this mount.
Many thanks in advance.
Truth
I've just realized that the home-directory can not be part of the image.
However, I guess that I need to modify a config-file (how?) to solve my
problem ...
Truth
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_____________________________________________________________________
https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help, try #ltsp channel on irc.freenode.net
<http://irc.freenode.net>
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_____________________________________________________________________
https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help, try #ltsp channel on irc.freenode.net
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_____________________________________________________________________
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
Truth
2016-01-21 19:43:12 UTC
Permalink
Now, I moved the mount-point (from /mnt/home2) to /home2
and add the following line in /etc/ltsp/ltsp-update-image.excludes:
home2/*

The good news is that the mount-point is now visible also at the client
side.
However, the symlinks still do not work because nothing is mounted to
/home2 yet.

I've tried to get more information about the parameter
LOCAL_APPS_EXTRAMOUNTS=/home2

...and found a link which explains that the extra mount (=/home2) will
be mounted (to the client) only if the mountpoint in the chroot
(=server) is empty ... which means that the idea of the parameter
LOCAL_APPS_EXTRAMOUNTS is to share the same (empty) folder to several
clients (e.g. for file exchange ...?)
(see https://help.ubuntu.com/community/UbuntuLTSP/FatClients)

Since my folder /home2 contains subfolders of all users (containing
their Virtualbox stuff) the above mentioned approach will not help.
For that reason I will try to implement Helmuts idea, which might take
some time.

Further comments are welcome ...
Truth
Post by Truth
--------------
As you can see from the previous post I see the home directory mounted
via sshfs.
The server has multiple users which I want to distribute to several clients.
The login screen on the client shows a prompt for user-name (and later
for the password).
(I'm not sure if this is what you want to know.)
However, I'm able to login for different users.
I've tried LOCAL_APPS_EXTRAMOUNTS=/mnt/home2
which sounds really promising.
Unfortunately, the additional mount-point is not visible after a reboot
of the client (and the server).
Do I have to rebuilt the image first?
The symlinks within /home/truth are visible also on the client side.
VirtualBox VMs -> /mnt/home2/truth/
Any further suggestions?
-------------
As far as I understand LTSP is able to use nbd or nfs - however, running
LTSP-PNP on kernel 4.3 seems to allows only nbd
(seehttps://bugs.debian.org/cgi-bin/bugreport.cgi?bug=786925)
Nevertheless, even if nfs would be possible I would prefer to not mix to
many filesystems.
For that reason I would prefer to first follow Vlatteris approach ...
Truth
Post by Valtteri Suojanen
can you see any home directory ( most of it) after logging in to the
desktop session? session is served default from the boot/ltsp server.
you should get the home/user mounted from ltsp server without changing
anything. home directory is mounted with sshfs
how do you use this ltsp server? is the setup built for multiple users
or just one user/you?
keep in mind that consideration how your server is used and
a) LOCAL_APPS_EXTRAMOUNTS=/mnt/home2
or
b)just create the symlinks in the home directory and test login from
client (check from manpage SSH_FOLLOW_SYMLINKS)
or if nfs mount sounds ok
c) check NFS_HOME (is it depricated?). maybe search here in
ltsp-discuss how FSTAB has been used to do nfs mounts
Best regards
Valtteri Suojanen
Post by Truth
Post by Vagrant Cascadian
Post by Truth
While everything was fine with my test-setup using Debian 8.2
(i386,
Post by Truth
Post by Vagrant Cascadian
Post by Truth
linux-3.16) ...
I tried to install the same ltsp-pnp server on Debian 8.2 (using
linux-4.3 from the backports).
You'll need the backported LTSP packages from jessie-backports,
and may
Post by Truth
Post by Vagrant Cascadian
as well get updated LDM packages while you're at it.
Post by Truth
I tried to create an image with the command
ltsp-update-image --cleanup /
modprobe: FATAL: Module overlayfs not found.
modprobe: FATAL: Module aufs not found.
No overlayfs or aufs support detected
(I did not have this problem with linux-3.16.)
Does someone has an idea what's wrong?
The issue is that 4.x kernels in jessie-backports don't have aufs
support, and the version of LTSP you are using doesn't have
support for
Post by Truth
Post by Vagrant Cascadian
the overlay fs included in the 4.x kernels (not to be confused with
overlayfs, which was shipped with ubuntu, but behaved somewhat
differently).
The newer versions of LTSP fix this issue, although required
switching
Post by Truth
Post by Vagrant Cascadian
https://bugs.debian.org/786925
live well,
vagrant
Thanks for your input.
I've installed ltsp-server-standalone and ltsp-client from the
backports (ldm was already the latest version).
Nevertheless, on a first try I've got the same error message.
I've tried several things and finally ltsp was running.
I'm not quite sure what exactly made the difference but it could
be that
Post by Truth
apt-get -t jessie-backports upgrade
... solved the problem.
Now, when running ltsp-update-image --cleanup /
I get a nice image and (almost) everything is fine.
However, is there a way to make an image including symlinks?
Some parts of my home-directory (e.g. some virtualbox stuff) is
located
Post by Truth
in a separate partition which is mounted to /mnt/home2 and I use
symlinks to connect to this mount.
Many thanks in advance.
Truth
I've just realized that the home-directory can not be part of the image.
However, I guess that I need to modify a config-file (how?) to solve my
problem ...
Truth
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_____________________________________________________________________
https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help, try #ltsp channel on irc.freenode.net
<http://irc.freenode.net>
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_____________________________________________________________________
https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help, try #ltsp channel on irc.freenode.net
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_____________________________________________________________________
https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help, try #ltsp channel on irc.freenode.net
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_____________________________________________________________________
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
Truth
2016-01-24 19:38:23 UTC
Permalink
I have to correct my last statement about LOCAL_APPS_EXTRAMOUNTS
which works fine if this parameter is within the default section [Default].
(see http://sourceforge.net/p/ltsp/mailman/message/34791176/)
Post by Truth
Now, I moved the mount-point (from /mnt/home2) to /home2
home2/*
The good news is that the mount-point is now visible also at the client
side.
However, the symlinks still do not work because nothing is mounted to
/home2 yet.
I've tried to get more information about the parameter
LOCAL_APPS_EXTRAMOUNTS=/home2
...and found a link which explains that the extra mount (=/home2) will
be mounted (to the client) only if the mountpoint in the chroot
(=server) is empty ... which means that the idea of the parameter
LOCAL_APPS_EXTRAMOUNTS is to share the same (empty) folder to several
clients (e.g. for file exchange ...?)
(see https://help.ubuntu.com/community/UbuntuLTSP/FatClients)
Since my folder /home2 contains subfolders of all users (containing
their Virtualbox stuff) the above mentioned approach will not help.
For that reason I will try to implement Helmuts idea, which might take
some time.
Further comments are welcome ...
Truth
Post by Truth
--------------
As you can see from the previous post I see the home directory mounted
via sshfs.
The server has multiple users which I want to distribute to several clients.
The login screen on the client shows a prompt for user-name (and later
for the password).
(I'm not sure if this is what you want to know.)
However, I'm able to login for different users.
I've tried LOCAL_APPS_EXTRAMOUNTS=/mnt/home2
which sounds really promising.
Unfortunately, the additional mount-point is not visible after a reboot
of the client (and the server).
Do I have to rebuilt the image first?
The symlinks within /home/truth are visible also on the client side.
VirtualBox VMs -> /mnt/home2/truth/
Any further suggestions?
-------------
As far as I understand LTSP is able to use nbd or nfs - however, running
LTSP-PNP on kernel 4.3 seems to allows only nbd
(seehttps://bugs.debian.org/cgi-bin/bugreport.cgi?bug=786925)
Nevertheless, even if nfs would be possible I would prefer to not mix to
many filesystems.
For that reason I would prefer to first follow Vlatteris approach ...
Truth
Post by Valtteri Suojanen
can you see any home directory ( most of it) after logging in to the
desktop session? session is served default from the boot/ltsp server.
you should get the home/user mounted from ltsp server without changing
anything. home directory is mounted with sshfs
how do you use this ltsp server? is the setup built for multiple users
or just one user/you?
keep in mind that consideration how your server is used and
a) LOCAL_APPS_EXTRAMOUNTS=/mnt/home2
or
b)just create the symlinks in the home directory and test login from
client (check from manpage SSH_FOLLOW_SYMLINKS)
or if nfs mount sounds ok
c) check NFS_HOME (is it depricated?). maybe search here in
ltsp-discuss how FSTAB has been used to do nfs mounts
Best regards
Valtteri Suojanen
Post by Truth
Post by Vagrant Cascadian
Post by Truth
While everything was fine with my test-setup using Debian 8.2
(i386,
Post by Truth
Post by Vagrant Cascadian
Post by Truth
linux-3.16) ...
I tried to install the same ltsp-pnp server on Debian 8.2 (using
linux-4.3 from the backports).
You'll need the backported LTSP packages from jessie-backports,
and may
Post by Truth
Post by Vagrant Cascadian
as well get updated LDM packages while you're at it.
Post by Truth
I tried to create an image with the command
ltsp-update-image --cleanup /
modprobe: FATAL: Module overlayfs not found.
modprobe: FATAL: Module aufs not found.
No overlayfs or aufs support detected
(I did not have this problem with linux-3.16.)
Does someone has an idea what's wrong?
The issue is that 4.x kernels in jessie-backports don't have aufs
support, and the version of LTSP you are using doesn't have
support for
Post by Truth
Post by Vagrant Cascadian
the overlay fs included in the 4.x kernels (not to be confused with
overlayfs, which was shipped with ubuntu, but behaved somewhat
differently).
The newer versions of LTSP fix this issue, although required
switching
Post by Truth
Post by Vagrant Cascadian
https://bugs.debian.org/786925
live well,
vagrant
Thanks for your input.
I've installed ltsp-server-standalone and ltsp-client from the
backports (ldm was already the latest version).
Nevertheless, on a first try I've got the same error message.
I've tried several things and finally ltsp was running.
I'm not quite sure what exactly made the difference but it could
be that
Post by Truth
apt-get -t jessie-backports upgrade
... solved the problem.
Now, when running ltsp-update-image --cleanup /
I get a nice image and (almost) everything is fine.
However, is there a way to make an image including symlinks?
Some parts of my home-directory (e.g. some virtualbox stuff) is
located
Post by Truth
in a separate partition which is mounted to /mnt/home2 and I use
symlinks to connect to this mount.
Many thanks in advance.
Truth
I've just realized that the home-directory can not be part of the image.
However, I guess that I need to modify a config-file (how?) to solve my
problem ...
Truth
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_____________________________________________________________________
https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help, try #ltsp channel on irc.freenode.net
<http://irc.freenode.net>
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_____________________________________________________________________
https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help, try #ltsp channel on irc.freenode.net
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_____________________________________________________________________
https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help, try #ltsp channel on irc.freenode.net
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_____________________________________________________________________
https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help, try #ltsp channel on irc.freenode.net
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_____________________________________________________________________
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
Loading...