NetAdminTools.com
 
SignalQ Sites:
L1G3R Information Systems - Coprolite - SpotBridge - NAW
RoboCoop - AreWeDown - SolarPower - SysAdminTools
Xfig - Gold Loaf - GeekPapa - FixGMC - FixRambler
Solar Energy - Energy Efficiency - Solar Panels
Home Energy Savings
Categories:
GNU/Linux | Homebrew designs | Perl | Ruby | Administration | Backup/Recovery | Bugs/Fixes | Certification | Database | Email | File/Print | Hardware | Information Grab Bag | Interoperability | GNU/Linux ABCs | Monitoring | Name Resolution | Network Services | Networking | Remote Control | Security | Desktop | Web | BSD | Solaris | GIAGD | ERP | REALbasic

Last 30 Days | Last 60 Days | Last 90 Days | All Articles | RSS


Categories:
·GNU/Linux
·Homebrew designs
·Perl
·Ruby
·Administration
·Backup/Recovery
·Bugs/Fixes
·Certification
·Database
·Email
·File/Print
·Hardware
·Information Grab Bag
·Interoperability
·GNU/Linux ABCs
·Monitoring
·Name Resolution
·Network Services
·Networking
·Remote Control
·Security
·Desktop
·Web
·BSD
·Solaris
·GIAGD
·ERP
·REALbasic
·All Categories


Nexenta NexentaStor NAS and iSCSI - Part 6
Topic:File/Print   Date: 2008-10-26
Printer Friendly: Print   

spacerspacer
<<  <   >  >>

Subject

1 | 2 | 3 | 4 | 5 | >6<

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:

nexenta

Logging in and entering init 3 allowed us to SSH to the box, but the web interface was still down:

nexenta

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$



nexenta

1 | 2 | 3 | 4 | 5 | >6<


People:
Places:
Things:
Times:





Please read our Terms of Use and our Privacy Policy
Microsoft, Windows, Windows XP, Windows 2003, Windows 2000, and NT are either trademarks or registered trademarks of Microsoft Corporation. NetAdminTools.com is not affiliated with Microsoft Corporation. Linux is a registered trademark of Linus Torvalds, and refers to the Linux kernel. The operating system of most distributions that contain the Linux kernel is GNU/Linux. All logos and trademarks in this site are property of their respective owner. Copyright 1997-2011 NetAdminTools.com