/[pxelator]/bin/umount-all.sh
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Annotation of /bin/umount-all.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 271 - (hide annotations)
Wed Aug 19 22:48:54 2009 UTC (13 years, 3 months ago) by dpavlin
File MIME type: application/x-sh
File size: 156 byte(s)
first semi-complicated setup to show off some of sysadmin DSL in PXElator

implement nfs root boot with writable snapshot directories for each
client which are rolled out on demand using aufs on server side.

So, client can implement additional layer of aufs if needed
(for /tmp and things like that) and offload more important files
(configuration changes) back to server via NFS.

1 dpavlin 271 #!/bin/sh -x
2    
3     sudo lsof -n | grep tftp/nfsroot | awk '{ print $2 }' | sudo xargs kill
4     mount | grep nfsroot/172 | cut -d" " -f3 | xargs sudo umount -l && df

  ViewVC Help
Powered by ViewVC 1.1.26