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

Bug#786925: linux: overlay filesystem incompatible with NFS



Package: src:linux
Version: 4.0.2-1
Severity: normal
Control: affects -1 ltsp-client-core

LTSP has been using aufs to provide a writeable tmpfs layer on top of
NFS since wheezy.

With the switch to the overlay filesystem (after adjusting LTSP's
initramfs-tools hooks to support overlay), it appears to fail due to an
incompatibility with NFS. The following is from a failed initramfs-tools
boot running the commands manually:

  BusyBox v1.22.1 (Debian 1:1.22.0-15) built-in shell (ash)
  Enter 'help' for a list of built-in commands.
  
  sh: can't access tty; job control turned off
  / # mount
  rootfs on / type rootfs (rw)
  sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
  proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
  udev on /dev type devtmpfs (rw,relatime,size=10240k,nr_inodes=61069,mode=755)
  devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmod
  e=000)
  tmpfs on /run type tmpfs (rw,nosuid,relatime,size=101168k,mode=755)
  192.168.67.1:/opt/ltsp/amd64 on /rofs type nfs (ro,relatime,vers=3,rsize=524288,
  wsize=524288,namlen=255,hard,nolock,proto=tcp,port=2049,timeo=7,retrans=10,sec=s
  ys,local_lock=all,addr=192.168.67.1)
  tmpfs on /cow type tmpfs (rw,relatime,mode=755)
  / # mount -t overlay -o upperdir=/cow/up,lowerdir=/rofs,workdir=/cow/work overla
  y /root
  [   49.944625] overlayfs: filesystem on '/rofs' not supported
  mount: mounting overlay on /root failed:  Invalid argument


It works fine when using a loopback mounted squashfs image over NFS, or
with NBD+squashfs, but mounting NFS as a lowerdir directly appears to
fail.


This may be the same issue as mentioned here:

  https://lkml.org/lkml/2014/10/30/242

Though that hasn't received much response...


live well,
  vagrant


-- Package-specific info:
** Kernel log: boot messages should be attached

** Model information
not available

** PCI devices:
not available

** USB devices:
not available


-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: unable to detect

Versions of packages linux-image-4.0.0-1-amd64 depends on:
ii  debconf [debconf-2.0]                   1.5.56
ii  initramfs-tools [linux-initramfs-tool]  0.120
ii  kmod                                    20-1
ii  linux-base                              3.5

Versions of packages linux-image-4.0.0-1-amd64 recommends:
ii  firmware-linux-free  3.3
ii  irqbalance           1.0.6-3

Versions of packages linux-image-4.0.0-1-amd64 suggests:
pn  debian-kernel-handbook         <none>
pn  grub-pc | grub-efi | extlinux  <none>
pn  linux-doc-4.0                  <none>

Versions of packages linux-image-4.0.0-1-amd64 is related to:
pn  firmware-atheros        <none>
pn  firmware-bnx2           <none>
pn  firmware-bnx2x          <none>
pn  firmware-brcm80211      <none>
pn  firmware-intelwimax     <none>
pn  firmware-ipw2x00        <none>
pn  firmware-ivtv           <none>
pn  firmware-iwlwifi        <none>
pn  firmware-libertas       <none>
pn  firmware-linux          <none>
pn  firmware-linux-nonfree  <none>
pn  firmware-myricom        <none>
pn  firmware-netxen         <none>
pn  firmware-qlogic         <none>
pn  firmware-ralink         <none>
pn  firmware-realtek        <none>
pn  xen-hypervisor          <none>

-- debconf information excluded

Attachment: signature.asc
Description: PGP signature


Reply to: