Marcus,

The vtoc's are different becauseof VM's placement of its private and public
regions.
                      private part&tag           public part&tag
c0t0d0                7-15                                 6-14
c0t1d0?              3-15                                 4-14

The offsets to the beginning of the partition do not matter. the content of
each partition does matter.

As for the disk used to replace c0t0d0, it seems you have only initiialized
the disk but have yet to mirror any volumes. Add the disk to the group and
then mirror all the volumes on the c0t1d? disk.

Bill

On Tue, Sep 7, 2010 at 3:38 PM, Marcus Reid <mar...@blazingdot.com> wrote:

> Hi,
>
> I've got a mirrored rootdisk (c0t0d0 and c0t1d0) that's
> encapsulated with vxvm.  There are a couple of things that
> I was hoping someone could explain; if it was set up wrong
> that would be good to know as well.
>
> First, why are the partition tables different for c0t0d0
> and c0t1d0?
>
> prtvtoc /dev/rdsk/c0t0d0:
>
>    *                          First     Sector    Last
>    * Partition  Tag  Flags    Sector     Count    Sector  Mount Directory
>           0      2    00          0   2049720   2049719
>           1      3    01    2049720   2049720   4099439
>           2      5    00          0  35368272  35368271
>           3      7    00    4099440   2049720   6149159
>           4      8    00   10248600   2049720  12298319
>           5      4    00    6149160   4099440  10248599
>           6     14    01          0  35368272  35368271
>           7     15    01   35363560      4712  35368271
>
>
> prtvtoc /dev/rdsk/c0t1d0s2:
>
>    *                          First     Sector    Last
>    * Partition  Tag  Flags    Sector     Count    Sector  Mount Directory
>           0      2    00    6153872   2049720   8203591
>           1      3    01    8203592   2049720  10253311
>           2      5    00          0  35368272  35368271
>           3     15    01          0      4712      4711
>           4     14    01       4712  35363560  35368271
>           6      7    00   10253312   2049720  12303031
>
> Am I supposed to be able to boot off of either t0 or t1
> in this config?
>
> Also, upon failure of c0t0d0, when the disk is replaced I
> end up with:
>
> prtvtoc /dev/dsk/c0t0d0s2
>
> *                          First     Sector    Last
> * Partition  Tag  Flags    Sector     Count    Sector  Mount Directory
>       2      5    01          0  35368272  35368271
>       3     15    01          0      4712      4711
>       4     14    01       4712  35363560  35368271
>
> This doesn't look bootable.  I tried encapsulating instead of
> initializing but it wouldn't work.  How does one add c0t0d0
> back to the config and rebuild the mirror on it, getting the
> original partition layout back?  Even if I were to use the
> partition table from c0t1d0 it wouldn't be the same (fmthard
> won't even let me use that partition table even, because it
> has overlaps.)
>
> Thank You,
>
> Marcus Reid
> _______________________________________________
> Veritas-vx maillist  -  Veritas-vx@mailman.eng.auburn.edu
> http://mailman.eng.auburn.edu/mailman/listinfo/veritas-vx
>
_______________________________________________
Veritas-vx maillist  -  Veritas-vx@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-vx

Reply via email to