Posts

Showing posts from February, 2013

Solaris Zpool

root@edus008:/rpool # zpool status rpool   pool: rpool  state: ONLINE   scan: resilvered 37.8G in 0h6m with 0 errors on Fri Nov  9 13:37:50 2012 config:         NAME          STATE     READ WRITE CKSUM         rpool         ONLINE       0     0     0           mirror-0    ONLINE       0     0     0             c3t0d0s0  ONLINE       0     0     0             c3t1d0s0  ONLINE       0     0     0 errors: No known data errors root@edus008:/rpool # zpool add -f rpool mirror /dev/dsk/c3t2d0 /dev/dsk/c3t3d0 cannot label 'c3t2d0': EFI labeled devices are not supported on root pools. If root rpool exists, additional devices must be attached; can NOT be added. And pelase use the parition (c0t1d0s0) to attach; not the disk (c0t1d0) root@edus009 # zfs create rpool/woodstock root@edus009 # zfs list NAME                                           USED  AVAIL  REFER  MOUNTPOINT ais_local                                      181K   268G   115K  /ais_local rpool                

Solaris 11 commands (NIS/DNS)

root@edus008:/var/yp # svccfg svc:> select name-service/switch svc:/system/name-service/switch> setprop config/host = "files dns" svc:/system/name-service/switch> setprop config/password = "file nis" svc:/system/name-service/switch> setprop config/group  = "file nis" svc:/system/name-service/switch> setprop config/ipnodes = astring: "files dns" svc:/system/name-service/switch> select name-service/switch:default svc:/system/name-service/switch:default> refresh svc:/system/name-service/switch:default> validate svc:/system/name-service/switch:default> select dns/client svc:/network/dns/client> setprop config/nameserver=net_address: ( xxxx xxxx ) svc:/network/dns/client> select dns/client:default svc:/network/dns/client:default> refresh svc:/network/dns/client:default> validate svc:/network/dns/client:default> select nis/domain svc:/network/nis/domain> setprop config/domainname = "xxxx&