Advertisement
Guest User

Untitled

a guest
Oct 21st, 2014
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.40 KB | None | 0 0
  1. #!/bin/sh
  2.  
  3. #ZFS oraz NFS
  4.  
  5. echo ”Laboratorium 1
  6.  
  7. # gpart add -t freebsd ada0
  8. # mkdir /home/stud/szczepao/ozfs
  9. # zpool create ozfs /dev/ada0s2
  10. # zfs set mountpoint /home/stud/szczepao/ozfs ozfs
  11. # zfs set sharenfs=on ozfs
  12. # zfs mount ozfs
  13. # echo ”/home/stud/szczepao/ozfs s03 -maproot=root” >> /etc/exports
  14. # service nfsd restart
  15. # service mountd oneroload
  16.  
  17. echo ”Wykonano poprawnie”
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement