Solaris Volume Manager vanity names


I’ve been a Solaris Volume Manager (formerly disksuite) user for the past 6-years, and have always been annoyed that I had to use dXXX and hspXXX to label mirrors, stripes, sub-devices and hot spares. As of Nevada build 37, you are no longer required to use dXXX and hspXXX, and are free to choose a name that fits the device:

$ metainit foomirror1 1 1 c1t5d0s0
foomirror1: Concat/Stripe is setup

$ metainit foomirror2 1 1 c1t6d0s0
foomirror2: Concat/Stripe is setup

$ metainit foovol -m foomirror1
foovol: Mirror is setup

$ metattach foovol foomirror2
foovol: submirror foomirror2 is attached

$ metastat -c

foovol m 16GB foomirror1 foomirror2 (resync-0%) foomirror1 s 16GB c1t5d0s0 foomirror2 s 16GB c1t6d0s0

W00t! W00t!

This article was posted by Matty on 2006-04-14 11:28:00 -0400 EDT