Showing results for 
Search instead for 
Did you mean: 


Occasional Contributor



I have a customer that has a runnig cluster ( 2 ES45 & EMA12000 with HSG80 controller )without license for Advfs Utilities.

I look for a proceddure for two thinks:

1/ How to add a new mirrorset & raidset?
2/ How to replace a failed disk in a mirrorset & in a raidset?

Best regards

Ibrahima BADJI

Ivan Ferreira
Honored Contributor


See the Installation and configuration guide for Tru64 here:
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Mark Poeschl_2
Honored Contributor


This document:

will show you the commands on the EMA12000 to create or repair mirrorsets and raidsets on the EMA12000. Once the work on the storage array is complete, the steps you take in the Tru64 OS to recognized a new mirrorset or raidset are very dependent on which version of Tru64 you're running. Is it 4.x or 5.x?
Matt Palmer_2
Respected Contributor


Hi Ibrahima,

Here is a list I put together for when I was using HSG's. It may point u in the right direction. Note that this is an overall procedure list,and u will need to pick out what u need. - It will really only help u with syntax and order of commands to run. Hope it helps:

The initial setup needed for adding a disk always follows the same pattern,
dependant on what you wish to acheive, here is the root.
Add Disk
Add Mirror
Add Stripe

if the 1st disk you setup is the boot disk, then from the machines console, you
would use the wwidmgr to locate the physical disk
wwidmgr -quickset -udid

the identifier is the number you assign to a piece of storage in the initial
setup phase
after you have run the wwidmgr command if you 'show dev' on the ES40 console you
should see the 4 paths to the disk, something likedga.1001.0.1

these are what gets specified in the bootdef_dev for the machine.

To add a new disk to a failed disk in a mirror set:

.disk fails
.a disk from the spareset will jump in to replace the failed disk.
.new disk arrives to replace failed one.
.remove faileddisk and replace with new
.show - it will be in the failedset
.delete disk from failedset(del fail)
.set nopolicy
.show - details will show POLICY set to nopolicy, this means that
it will not use the spareset to replace a failed disk.set mem=+1 of
current value.set replace=
.allow copy to finish (NORMALIZING)
.remove spareset disk from
.set remove=
.set mem=-1 of current value
.set policy = best_performance

Adding new disks from scratch
.install new disks into disk array
on hsg80 console:
.run config
this will make the controller aware that new disks have been added
decide on your disk structure
when you run config you will get an onscreen list of new disknames.
check that they correspond to the physical location in the array.

now initialize the new disks.
initialize diskxxxxx
this will work out the block size of each disk

Make a mirrorset
add mirrorset
add unit createa stripeset)

Make a Stripeset
add stripeset
add unit

on system console:
hwmgr -scan scsi
disklabel -rw hsg80
(to determine if you have the correct disk the last figure in the path list on
hwmgr should contain the same number as the identifier you set the stripeset
identifier on the hsg80,ie:d40 on disk controller would equate to [1/0/40] in
the listing on the hostbox
if you want to add the stripeset into an existing domain/fileset use advfs
utilities, it is very straightforward.

if not and you want a new one:
mkfdmn /dev/disk/ (creates initial domain)
mkfset (creates a fileset in said domain)
showfsets (will show new additions)

add new entry to /etc/fstab