Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VTOC overlap

Status
Not open for further replies.

art15t

MIS
Apr 8, 2002
77
GB
Can anyone shed any light on the relevance of a disks vtoc whilst the disk is encapsulated and under the control of VxVm. The rootdisk has a VTOC that shows overlapping of slice 1 and 6 ( /var & /opt according to my /etc/vfstab.prevxvm ).

<hostname> / :# prtvtoc -s /dev/dsk/c1t0d0s2
* First Sector Last
* Partition Tag Flags Sector Count Sector Mount Directory
0 2 00 0 12584484 12584483
1 7 00 12584484 12584484 25168967
2 5 00 0 71127180 71127179
3 3 01 25168968 16779312 41948279
5 14 01 0 71127180 71127179
6 7 00 12584484 12584484 25168967
7 15 01 71124291 2889 71127179

but a vxprint lists VxVm has /var and /opt having totally different offsets:

<hostname> / :# vxprint -Ath|grep var
v var - ENABLED ACTIVE 12584484 ROUND - gen
pl var-01 var ENABLED ACTIVE 12584484 CONCAT - RW
sd rootdisk-05 var-01 rootdisk 12584483 12584484 0 c1t0d0 ENA
pl var-02 var ENABLED ACTIVE 12584484 CONCAT - RW
sd rootmirror-05 var-02 rootmirror 58516695 12584484 0 c1t1d0 ENA
<hostname> / :# vxprint -Ath|grep opt
v opt - ENABLED ACTIVE 12584484 ROUND - gen
pl opt-01 opt ENABLED ACTIVE 12584484 CONCAT - RW
sd rootdisk-03 opt-01 rootdisk 41948279 12584484 0 c1t0d0 ENA
pl opt-02 opt ENABLED ACTIVE 12584484 CONCAT - RW
sd rootmirror-02 opt-02 rootmirror 16568415 12584484 0 c1t1d0 ENA

I think we only have a problem with the overlap if we weren't using VxVm or any volume management for that matter. The SUN engineer is suggesting we need a rebuild but the concensus amonst our team is that this really isn't necessary. Are we wrong on this one?

ART
 
Your prtvtoc doesn't make much sense. Partition 2 and 5 look the same or full disk size. It almost looks like your prtvotc is looking at 2 separate disks. Are you using some kind of volume manager for mirrors or concatinations?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top