April 18th, 2020

Eric

Fibre-Channel SAN Boot


Done! SAN-booted a diskless SLES 12 for SAP SP4 server over Fibre Channel! Handful of moving pieces here: First of all, I had to uncross the fibre cable I'd crossed - that wasn't working AT ALL. So, note to self, no matter fabric switch or direct connect, it doesn't need to be done. The two parts on FreeNAS which needed to be addressed was enabling the fibre port, and defining it as target, not an initiator, as indicated in TASKS and TUNABLES:

Type: Command
Command: ctladm port -o on -t fc
When: Post Init
Enable: checked

Variable: hint.isp.0.role
Value: 0
Type: Loader
Comment: target mode FC port 1
Enabled: checked

Many thanks to the HEC Foundation, Mr. Halsell, and the Steven J. Goodmark Memorial Library for their numerous contributions.

The video is the install-to-SAN from a thumbdrive boot pulling additional packages across the network from an SMT virtual.



https://www.ixsystems.com/community/resources/fibre-channel-on-freenas-11-1u4.93/
BSD

FreeNAS NFS File Permissions


Set up the NFS share Maproot user to "root" and the Maproot Group to "wheel"
This way when you have the NFS share mounted and you run something as root on the client you are also root on the FreeNAS box and can change the ownership of the directory.

# chmod 1777 /nfsmount <-- rwx +sticky bit

               ,        ,
              /(        )`
              \ \___   / |
              /- _  `-/  '
             (/\/ \ \   /\
             / /   | `    \
             O O   ) /    |
             `-^--'`<     '
            (_.)  _  )   /
             `.___/`    /
               `-----' /
  <----.     __ / __   \
  <----|====O)))==) \) /====
  <----'    `--' `.__,' \
               |        |
                \       /
           ______( (_  / \______
  (FL)   ,'  ,-----'   |        \
         `--{__________)        \/