How to replace a broken disk on Solaris Volume Manager (SVM)

Sep 5, 2016 5:38 PM

We have Solaris box in hardware Fujitsu Sparc M3000 with 4 internal disks configured on SVM. Bellow the internal disks information : # echo | format AVAILABLE DISK SELECTIONS: 0. c0t0d0 <fujitsu-mbd2147rc-3701 14087="" 24="" 2="" 848="" alt="" cyl="" hd="" sec=""> /pci@0,600000/pci@0/pci@0/scsi@0/sd@0,0 1. c0t1d0 <fujitsu-mbd2147rc-3701 14087="" 24="" 2="" 848="" alt="" cyl="" hd="" sec=""> /pci@0,600000/pci@0/pci@0/scsi@0/sd@1,0 2. c3t2d31 <sun-universalxport-0735 2="" 64="" 8="" alt="" cyl="" hd="" sec=""> /pci@1,700000/pci@0/pci@9/SUNW,emlxs@0/fp@0,0/ssd@w202500a0b868b254,1f 3. c4t0d31 <sun-universalxport-0735 2="" 64="" 8="" alt="" cyl="" hd="" sec=""> /pci@1,700000/pci@0/pci@9/SUNW,emlxs@0,1/fp@0,0/ssd@w202400a0b868b254,1f
There were a problem with with disk c0t0d0 in "Maintenance" status at sub-mirror d11. This tutorial will give step by step how to replace disk c0t0d0 in SVM environment.

Add, resize and activate swap in solaris zfs

Aug 27, 2016 6:40 AM

Precheck swap info :
# zfs get volsize rpool/swap
NAME        PROPERTY  VALUE    SOURCE
rpool/swap  volsize   16G      local
Resize swap :
# swap -l
swapfile             dev    swaplo   blocks     free
/dev/zvol/dsk/rpool/swap 228,2        16  8388592  8388592

# zfs set volsize=4g rpool/swap
# zfs get volsize rpool/swap
NAME        PROPERTY  VALUE    SOURCE
rpool/swap  volsize   4G       local
>> To activated new size must reboot OS

svc:/system/filesystem/local:default goes to maintenance status, find root cause and how to solve

Aug 26, 2016 3:44 PM

svc:/system/filesystem/local handles filesystem mounting related. And it has many dependency services. When this service got a problem, many services will impacted with Offline status. For example network service, ssh service, etc. While service system/filesystem/local is not online status the other service status are offline. Issue: Many services are not started with Offline status (ssh, .. etc) Cause: svc:/system/filesystem/local:default service state is Maintenance Impact: 42 Dependencies service is not running

Article list :