Need advice on soft partition

Hello All,

Am trying to expand the soft partition which is in mirror. Am getting following error. Whether is it possible? or i am doing wrongly. Please assist.

bash-2.05# metastat d100
d100: Mirror
    Submirror 0: d102
      State: Okay
    Submirror 1: d105
      State: Okay
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 204624 blocks (99 MB)

d102: Submirror of d100
    State: Okay
    Size: 204624 blocks (99 MB)
    Stripe 0:
        Device   Start Block  Dbase        State Reloc Hot Spare
        d101            0     No            Okay   No

d101: Soft Partition
    Device: c0d1s5
    State: Okay
    Size: 204800 blocks (100 MB)
        Device   Start Block  Dbase Reloc
        c0d1s5          0     No    Yes

        Extent              Start Block              Block count
             0                        1                   204800


d105: Submirror of d100
    State: Okay
    Size: 525168 blocks (256 MB)
    Stripe 0:
        Device   Start Block  Dbase        State Reloc Hot Spare
        c0d1s4          0     No            Okay   Yes


Device Relocation Information:
Device   Reloc  Device ID
c0d1   Yes      id1,cmdk@AVMware_Virtual_IDE_Hard_Drive=01000000000000000001
bash-2.05#  metattach d101 100m
metattach: chennai: d101: invalid unit

bash-2.05#

bash-2.05#  metattach d100 100m
metattach: chennai: 100m: No such file or directory
bash-2.05# metattach d101 100m
metattach: chennai: d101: invalid unit

bash-2.05#

bash-2.05# df -kh /soft
Filesystem             size   used  avail capacity  Mounted on
/dev/md/dsk/d100        94M   1.0M    83M     2%    /soft
bash-2.05#

Thanks
Gowtham

An example for you:-

Creating a soft partition

# metainit d20 -p c4t0d0s0 100m

Growing a soft partition

# metattach d20 100m

Removing a soft partition

# metaclear d20

Removing all soft partitions in c4t0d0s0

# metaclear -p c4t0d0s0 

Mate here my question is "Is it possible to grow a soft partition if its under mirroring ?"

Yes you can. but your above output is wrong

Ohh is it ? Can you guide me how to make it out that ?

tell me first how you initialized the soft partition

The size of the c0d1s5 and c0d1s4 is 250 M , I have created 100m soft partition(d101) in c0d1s5 and made it as a submirror(d102) of mirror(d100), then i attached the c0d1s4(d105){200m} as a submirror. Now i want to expand the soft partition to 100m. Is it workable ?

Im asking you for the exact commands and in the order they were executed.
Please provide metastat -p output as well.