trying to mirror disks, svm.

From: N. Z. (nizan1372@yahoo.com)
Date: Fri Apr 09 2004 - 01:01:57 EDT


Hello -
i'm using svm to mirror a disk. here is where i run
into problems:

# prtvtoc /dev/rdsk/c0t0d0s2 > /tmp/vtoc1
# fmthard -s /tmp/vtoc1 /dev/rdsk/c0t1d0s2
Partition 0 not aligned on cylinder boundary: "
0 2 00 9583776 8191920 17775695 /"

here's some details:

# more /tmp/vtoc1
* /dev/rdsk/c0t0d0s2 partition map
*
* Dimensions:
* 512 bytes/sector
* 214 sectors/track
* 12 tracks/cylinder
* 2568 sectors/cylinder
* 6924 cylinders
* 6922 accessible cylinders
*
* Flags:
* 1: unmountable
* 10: read-only
*
* Unallocated space:
* First Sector Last
* Sector Count Sector
* 1050312 341544 1391855
*
* First Sector Last
* Partition Tag Flags Sector Count Sector
Mount Directory
       0 2 00 9583776 8191920 17775695
/
       1 3 01 0 1050312 1050311
       2 5 00 0 17775696 17775695
       3 7 00 1391856 8191920 9583775
/var

*******************

       0. c0t0d0 <SEAGATE-ST39102LC-0005 cyl 6922 alt
2 hd 12 sec 214>
          /pci@1f,4000/scsi@3/sd@0,0
       1. c0t1d0 <SEAGATE-ST39103LC-0001 cyl 9747 alt
2 hd 6 sec 304>
          /pci@1f,4000/scsi@3/sd@1,0

*******************

c0t1d0:

Current partition table (original):
Total disk cylinders available: 9747 + 2 (reserved
cylinders)

Part Tag Flag Cylinders Size
    Blocks
  0 unassigned wm 0 0
(0/0/0) 0
  1 unassigned wm 0 - 9746 8.48GB
(9747/0/0) 17778528
  2 backup wm 0 - 9746 8.48GB
(9747/0/0) 17778528
  3 unassigned wm 0 0
(0/0/0) 0
  4 unassigned wm 0 0
(0/0/0) 0
  5 unassigned wm 0 0
(0/0/0) 0
  6 unassigned wm 0 0
(0/0/0) 0
  7 unassigned wm 0 0
(0/0/0) 0

****************

disk c0t0d0:

Current partition table (original):
Total disk cylinders available: 6922 + 2 (reserved
cylinders)

Part Tag Flag Cylinders Size
    Blocks
  0 root wm 3732 - 6921 3.91GB
(3190/0/0) 8191920
  1 swap wu 0 - 408 512.85MB
(409/0/0) 1050312
  2 backup wm 0 - 6921 8.48GB
(6922/0/0) 17775696
  3 var wm 542 - 3731 3.91GB
(3190/0/0) 8191920
  4 unassigned wm 0 0
(0/0/0) 0
  5 unassigned wm 0 0
(0/0/0) 0
  6 unassigned wm 0 0
(0/0/0) 0
  7 unassigned wm 0 0
(0/0/0) 0

is it because the disk i'm mirroring to doesnt have an
identical partition table? how do i make this work?

questions, comments and suggestions appreciated.

thanks. !

__________________________________
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway
http://promotions.yahoo.com/design_giveaway/
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:28:26 EDT