Re: Going from VxVM to SVM: Are soft partitions what I am looking for?



tonij67@xxxxxxxxxxx wrote:
Darren, I know exactly what you mean. I never use the GUI in Veritas
anymore either, but I admit that when I first started using it way back
when, I used the GUI until I realized that there is no WAY I am going
to click 20 times just to create a volume, then have to repeat the
process for 10 more volumes :D

So wouldnt you know it, I ditch the GUI, use the command line and it
appeared to work...I think. Here is what I did:


# Create the 2 disk stripe
metainit d2 1 2 c1t2d0s2 c1t3d0s2

Metastat output:

d2: Concat/Stripe
Size: 573356544 blocks (273 GB)
Stripe 0: (interlace: 32 blocks)
Device Start Block Dbase Reloc
c1t2d0s2 0 No Yes
c1t3d0s2 20352 No Yes

This looks to me like I now have a 2 disk stripe with which I can build
soft partitions on top of (correct?)

Create a 1gb soft partition on my newly created stripe:

metainit d22 -p d2 1g

Metastat output:

d22: Soft Partition
Device: d2
State: Okay
Size: 2097152 blocks (1.0 GB)
Extent Start Block Block count
0 20384 2097152

The soft partition was created on device d2...that leads me to believe
that it is a striped volume, yes?
Yes

If that worked (crosses fingers) the next thing I would like to do is
mirror the stripe. So I have a stripe+mirror "volume group" (for lack
of a better term) that I can build multiple soft partitions on.

You will get mirrored stripes. LVM gives the best option. It will mirror each disk and then stripe them. I know you will have created your stripes before you mirror the But LVM will treat them as two mirrors striped. This will give better error tolerance. You could loose 1 disk from each stripe and still have a working system. It would have to be the right disks!

I think... :D

One more question...since this is such a dynamic environment I need to
be able to expand these volumes (ala vxassist resize). I realize I
cannot shrink them, but there is a greater need to add space as needed
anyway. Is this possible with these soft partitions?

Yes. You can grow soft partitions. You may want to do some more work if you want to rearrange your data to keep it within contiguous data areas within the mirror.
.



Relevant Pages

  • Live Upgrade and metadisks
    ... I detach 2nd disk submirros. ... d0: Mirror ... Submirror 0: d10 ... Stripe 0: ...
    (comp.unix.solaris)
  • Re: Creating a striped set of mirrors using gvinum
    ... >> 2 striped sets but I have not seen a way to create a stripe set out of ... After a single disk failure the rebuilding process only needs to ... not a whole stripe of disks. ... You can take multiple disk failures, one per mirror. ...
    (freebsd-stable)
  • puzzling disk io performance
    ... I have created 3 stripes across the 4 internal disks. ... I am seeing TERRIBLE disk IO performance when trying to create ... but I am stumped why I am seeing such crappy performance on the stripe ... and decent performance on the mirror. ...
    (SunManagers)
  • increase size of mirrored stripe - disksuite
    ... metadatabases live on slice 7 on these 2 disks. ... using the entire disk ... add slice c1t1d0s6 to the d14 stripe ... This I believe will increase the available space in the stripe, mirror ...
    (comp.unix.solaris)
  • Re: Going from VxVM to SVM: Are soft partitions what I am looking for?
    ... I never use the GUI in Veritas ... Metastat output: ... Stripe 0: ... of a better term) that I can build multiple soft partitions on. ...
    (comp.unix.solaris)