I'm attempting to create a mirror of my rpool with the aim of moving
the os to the new disk making it bootable then pulling the original
rpool disk out.  And in a few days dropping in a new matching disk for
mirror of rpool once again.

The current rpool resides on a 25 gb partition on a 60 gb disk.  I want
to more the OS (rpool), lock stock and barrel to a new 500 gb disk with
one 500 gb partition (slice).  So the old and the new are vastly
different sizes.

In some of the directions I've seen for doing such a thing, one of the
steps is to transfer the vtoc One example:

 prtvtoc /dev/rdsk/c1t0d0s2 | fmthard -s - /dev/rdsk/c1t1d0s2

Well, I'm new at this and decided to take a look at that output before
piping it.

Since the disks have very different number of cylinders, I just want to
make sure this is the right thing to be transferring:

So can anyone tell me if this looks kosher?

 # prtvtoc /dev/rdsk/c3d1s2

* /dev/rdsk/c3d1s2 partition map
*
* Dimensions:
*     512 bytes/sector
*      63 sectors/track
*     255 tracks/cylinder
*   16065 sectors/cylinder
*    3275 cylinders
*    3273 accessible cylinders
*
* Flags:
*   1: unmountable
*  10: read-only
*
* Unallocated space:
*       First     Sector    Last
*       Sector     Count    Sector 
*           0     16065     16064
*
*                          First     Sector    Last
* Partition  Tag  Flags    Sector     Count    Sector  Mount Directory
       0      2    00      16065  52548615  52564679
       2      5    01          0  52580745  52580744
       8      1    01          0     16065     16064


So will it be a mistake to write the above output thru fmthard onto a
vastly larger partition.

_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to