question about Disksuite and disk used

I have following physical disks:

AVAILABLE DISK SELECTIONS:

0. c1t0d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848>

/pci@9,600000/SUNW,qlc@2/fp@0,0/ssd@w21000014c336a0ad,0

1. c1t1d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848>

Now:

metastat d0

d0: Mirror

Submirror 0: d10

State: Okay

Submirror 1: d20

State: Okay

Pass: 1

Read option: roundrobin (default)

Write option: parallel (default)

Size: 54543360 blocks (26GB)

d10: Submirror of d0

State: Okay

Size: 54543360 blocks

Stripe 0:

DeviceStart Block Dbase StateHot Spare

c1t0d0s0 0NoOkay

d20: Submirror of d0

State: Okay

Size: 54543360 blocks (26 GB)

Stripe 0:

DeviceStart Block Dbase StateHot Spare

c1t1d0s0 0NoOkay

Question:

How much space is assigned? It is 26GB X 2 ?

Now from df -lk, I have:

/dev/md/dsk/d02686000760872342050417323%/

/proc0000%/proc

mnttab0000%/etc/mnttab

fd0000%/dev/fd

/dev/md/dsk/d32686000732775222331388513%/var

swap1205772824120577041%/var/run

dmpfs120577040120577040%/dev/vx/dmp

dmpfs120577040120577040%/dev/vx/rdmp

swap1626651242088081205770426%/tmp

/dev/md/dsk/d512397228

Total:118,556,890

Does it mean I still have about 26GB left? But used for Hot Spare for d0, d3 or d5?

Thank you

[1430 byte] By [Mike2005a] at [2007-11-27 8:55:43]
# 1

You are confusing a physical disk with a metadevice.

The output of the format command tells you what physical disks you have, i.e. c1t0d0 etc.

The output of metastat gives you information about metadevices, as in /dev/md/dsk/d0 .

The output is telling you that the metadevice d0 is using 26GBs on each of your 146GB hard drives. It is a mirror, not a volume, so you only have 26GB available.

As for that "Total" entry at the bottom, I assume that you added all the entries under the kbytes column. It doesn't really work like that. If you want to know how much disk space you have left, if any, use the format command submenus. Just remember that there's a slice in there for the metadevices' databases.

Codename47a at 2007-7-12 21:17:20 > top of Java-index,General,Talk to the Sysop...