Sun Storage (7400 Series)
Add Share (CLI)
- ssh nas-server - shares - project newproject # or use: select projectname - filesystem newshare - commit - show - done # to go back to previous screen
Use "help" at anytime for options.
Modify Share (CLI)
Allow root user
allows all permissions to be changed from hosts under the subnet 192.168.1.0/24
- shares - select projectname - select sharename - set sharenfs="root=@192.168.1.0/24" - commit
if you want to allow only 2 systems to be able to use the "root" user account on NFS shares:
- set sharenfs="root=@192.168.1.10/32,root=@192.168.1.11/32"
Upgrading
- download package from Sun's website. i.e.: ak-nas-2009-04-10-5-0-1-1-20-nd.pkg.gz - copy the file to your anonymous FTP server ssh ftp-server 'sudo apt-get install vsftp' scp ~myuser/Desktop/ak-nas-2009-04-10-5-0-1-1-20-nd.pkg.gz ftp-server:/home/ftp - using the CLI upgrade the OS. //Note that using SSH may fail and it would be wiser to use a console cable to execute these commands// ssh nas-server maintenance system updates download set url=ftp://ftp-server/ak-nas-2009-04-10-5-0-1-1-20-nd.pkg.gz commit - verify and upgrade list select ak-nas@2009.04.10.5.0,1-1.20 upgrade ... Are you sure? (Y/N) y
Snapshots
Manual
shares select myshare snapshot foo-bar-date
Automatic
shares select myshare snapshots automatic create set keep=7 # (expecting one of "minute", "halfhour", "hour", "day", "week" or "month") set frequency=day commit done
Troubleshooting
Shell
:> shell Executing shell commands may invalidate your service contract. Continue? (Y/N)
Executing raw shell; "exit" to return to appliance shell ... +-----------------------------------------------------------------------------+ | You are entering the operating system shell. By confirming this action in | | the appliance shell you have agreed that THIS ACTION MAY VOID ANY SUPPORT | | AGREEMENT. If you do not agree to this -- or do not otherwise understand | | what you are doing -- you should type "exit" at the shell prompt. EVERY | | COMMAND THAT YOU EXECUTE HERE IS AUDITED, and support personnel may use | | this audit trail to substantiate invalidating your support contract. The | | operating system shell is NOT a supported mechanism for managing this | | appliance, and COMMANDS EXECUTED HERE MAY DO IRREPARABLE HARM. | | | | NOTHING SHOULD BE ATTEMPTED HERE BY UNTRAINED SUPPORT PERSONNEL UNDER ANY | | CIRCUMSTANCES. This appliance is a non-traditional operating system | | environment, and expertise in a traditional operating system environment | | in NO WAY constitutes training for supporting this appliance. THOSE WITH | | EXPERTISE IN OTHER SYSTEMS -- HOWEVER SUPERFICIALLY SIMILAR -- ARE MORE | | LIKELY TO MISTAKENLY EXECUTE OPERATIONS HERE THAT WILL DO IRREPARABLE | | HARM. Unless you have been explicitly trained on supporting this | | appliance via the operating system shell, you should immediately return | | to the appliance shell. | | | | Type "exit" now to return to the appliance shell. | +-----------------------------------------------------------------------------+