If something changes ...
(eg: LUN -> Host mapping) it might be possible to execute reboot -- -r
twice.
After the first reboot sometimes no volume is visible
If after second reboot no device is visible it might be necessary to remove /etc/symsm/mnf
. The output of /usr/lib/symsm/bin/hot_add
will indicat that.
After changing the the Family Set Field in /etc/opt/SUNWsamfs/mcf it is necessary to run samfsck -R -F <volume name>
the Equipment Ordinal Field in /etc/opt/SUNWsamfs/mcf should be uniq ... at least in the future
Add new host to storage array
- add WWN's to db (
hbainvent
) - create host script:
mksanhostscr <host> > <host>.scr
SMcli sevenofnine -p <passwd> -f <host>.scr
SMcli threeofnine -p <passwd> -f <host>.scr
Howto change to mirror volume
- change the role of the volume (SMclient)
- check for correct host lun maping (access for mirror volume, no access for the old volume)
- disable entries in /etc/vfstab on affected hosts
# reboot -- -r
- check for new device name and change in /etc/vfstab and /etc/opt/SUNWsamfs/mcf
# samd config
# reboot
Devices
host | volume name | device name | primary storage |
reload | reload0 | c4t3d0 | sevenofnine |
martok | martok0 | c5t3d0 | sevenofnine |
huraga | huraga0 | c3t3d0 | sevenofnine |
kaybok | kaybok0 | c3t4d0 | threeofnine |
RAID 5 space lost
disks | raid 5 | % | 1/2 | 1/3 |
3 | 272,47 | 66,66 | 136,23 | 90,82 |
5 | 544,932 | 80,00 | 272,47 | 181,64 |
10 | 1226,097 | 90,00 | 613,05 | 408,70 |
15 | 1907,262 | 93,33 | 953,63 | 635,75 |
20 | 2588,427 | 95,00 | 1294,21 | 862,81 |
RAID 5 space lost equation: (number of disks - 1) * size of disk
QFS License
Host | HostID | License |
reload | 832efafa | b1758191832f699827038b2ed6dbb09a |
martok | 8314a01e | 97b7dfeb8315337c4f945b3ae4cd2752 |
huraga | 83981097 | 1bc36f92839983f5df533733ce6e8432 |
kaybok | 83981047 | 1c936ca283998325b033331ee2442cb3 |
worf | 833ae957 | be24957b833b7a35e29aabdc7e6ce386 |
torres | 832943ff | ac6c3f2d8328d09d189c17d4b677d1f3 |
fowley | 833ac71f | bddcb2c9833b547d9a9080352bcbc572 |
byers | 8333487d | b6f434a48332db1fabaf01a0a5a58a82 |
Starting from scratch
- on every console (serial) enter
sysWipe
- this destoys anything immediately but net config and Premium Features will not be lost.
Now you have a storage virgin. - net config can be viewed with
netCfgShow
and changed withnetCfgSet
- add all devices (controller) to Management Console and rename them.
- apply host lists
SMcli <storage device> -f /home/admin/san/createhosts.scr
- change tray order (not as important)
- enable media scan
- enable RVM on both storage systems
- define hot spares
Misc
/usr/local/bin/sanmonitor on reload collects switch throughput and storage profiles ... not essential but useful