A peek around the filesystem and the kernel:
admin@nex1:/$ ls bin dev export initrd media opt root system var boot devices files kernel mnt platform sbin tmp volumes cdrom etc home lib net proc srv usr admin@nex1:/$ ls sbin autopush in.mpathd netstrategy runlevel umount biosdev init pfsh sh umountall bootadm installgrub rc0 shadowconfig uname devprop jsh rc1 soconfig unix_chkpwd dhcpagent ldconfig rc2 start-stop-daemon wificonfig dhcpinfo metadb rc3 su zfs dladm metadevadm rc5 su.static zonename dlmgmtd metainit rc6 sulogin zpool fdisk metarecover rcS swapadd hostconfig metastat rmt-star sync ifconfig mount route tnctl ifparse mountall routeadm uadmin admin@nex1:/$ uname -a SunOS nex1 5.11 NexentaOS_20080312 i86pc i386 i86pc Solaris admin@nex1:/$ |
The man pages are installed:
zfs(1M) System Administration Commands zfs(1M) NAME zfs - configures ZFS file systems SYNOPSIS zfs [-?] zfs create [-p] [-o property=value] ... filesystem zfs create [-ps] [-b blocksize] [-o property=value] ... -V size volume zfs destroy [-rRf] filesystem|volume|snapshot zfs snapshot [-r] filesystem@snapname|volume@snapname zfs rollback [-rRf] snapshot zfs clone [-p] snapshot filesystem|volume zfs promote clone-filesystem zfs rename filesystem|volume|snapshot |
Let’s shut down the system:
admin@nex1:/export$ su Password: root@nex1:/export# shutdown Shutdown started. Sun Oct 26 18:50:52 PDT 2008 Broadcast Message from root (pts/6) on nex1 Sun Oct 26 18:50:52... The system nex1 will be shut down in 1 minute showmount: nex1: RPC: Rpcbind failure - RPC: Success Broadcast Message from root (pts/6) on nex1 Sun Oct 26 18:51:22... The system nex1 will be shut down in 30 seconds showmount: nex1: RPC: Rpcbind failure - RPC: Success Do you want to continue? (y or n): y Broadcast Message from root (pts/6) on nex1 Sun Oct 26 18:51:45... THE SYSTEM nex1 IS BEING SHUT DOWN NOW ! ! ! Log off now or risk your files being damaged showmount: nex1: RPC: Rpcbind failure - RPC: Success Changing to init state s - please wait root@nex1:/export# root@nex1:/export# exit exit admin@nex1:/export$ exit logout Connection to 192.168.2.43 closed. srv-5:~ usr4$ |
The system goes into single user mode:
Logging in and entering init 3 allowed us to SSH to the box, but the web interface was still down:
Ahhh… but init 5 will stop the system:
srv-5:~ usr4$ ssh admin@192.168.2.43 Password: Last login: Sun Oct 26 19:02:07 2008 from 192.168.2.101 admin@nex1:~$ su Password: root@nex1:/export/home/admin# init 5 root@nex1:/export/home/admin# Connection to 192.168.2.43 closed. srv-5:~ usr4$ |