OS images become unavailable

From GigaTux Wiki
Jump to navigation Jump to search

OS images are stored on both node00001.gigatux.com and node01001.gigatux.com. They are mounted via SSHFS on all other physical servers.

We used to use NFS but this regularly went down. However, NFS mounts still exist.

If you need to remount the SSHFS mounts for whatever reason, type the following commands:

  • umount -l /usr/share/dtc-xen-os
  • umount -l /usr/share/dtc-xen-app
  • umount -l /usr/share/dtc-xen-hvm
  • sshfs [email protected]:/usr/share/dtc-xen-os/ /usr/share/dtc-xen-os/
  • sshfs [email protected]:/usr/share/dtc-xen-app/ /usr/share/dtc-xen-app/
  • sshfs [email protected]:/usr/share/dtc-xen-hvm/ /usr/share/dtc-xen-hvm/

If everything fails, the NFS mountpoints are still available so something like the below should work:

  • umount -l /usr/share/dtc-xen-os
  • umount -l /usr/share/dtc-xen-app
  • umount -l /usr/share/dtc-xen-hvm
  • mount -v node01001.gigatux.com:/usr/share/dtc-xen-os /usr/share/dtc-xen-os -o rsize=65526,wsize=65536,proto=udp,noauto,vers=3
  • mount -v node01001.gigatux.com:/usr/share/dtc-xen-app /usr/share/dtc-xen-app -o rsize=65526,wsize=65536,proto=udp,noauto,vers=3
  • mount -v node01001.gigatux.com:/usr/share/dtc-xen-hvm /usr/share/dtc-xen-hvm -o rsize=65526,wsize=65536,proto=udp,noauto,vers=3