SUMMARY: Corrupt VTOC

From: Santos, Ramiro <Ramiro.Santos_at_commerzbankib.com>
Date: Thu Nov 14 2002 - 07:26:59 EST
Hi, I have got some replies on this but none with a suitable solution.
For those who said "try fmthard two times":
  if you write the VTOC with fmthard, the program writes the entire VTOC
again,
  that means, what you wrote before, is after the second fmthard command,
deleted again.
What could be done is, Veritas provides two binaries for that purposes,
with vxprtvtoc you read the VTOC of one disk, in my case it is fine because
I have a mirror, with vxedvtoc you write the VTOC back.

# /usr/lib/vxvm/bin/vxprtvtoc -f /tmp/vtoc /dev/rdsk/c0t2d0s0
# /usr/lib/vxvm/bin/vxedvtoc -f /tmp/vtoc /dev/rdsk/c0t0d0s0

However, I would love to learn other methods.

Many THANKS to: Darren Dunham, Julie, Johan.

Sorry if I forgot someone. 


-----Original Message-----
From: Santos, Ramiro 
Sent: Friday, November 08, 2002 4:28 PM
To: Sunmanagers (E-mail)
Subject: Corrupt VTOC


Hi,
I am having problems with one VTOC of an Veritas integrated disk,
thru a typing error, the VTOC is corrupt, I need to write it again,
but fmthard don't allow overlapped partitions and the format tool
don't allow writing tags like 14 and 15 (private and public).
Veritas don't accept anyway HDs without the private region (tag 15).
The vtoc could be correct but without the tag 15, veritas will
show the disk as error.
Do you know a way to correct this?
Is there a workaround to write those tags back?




Regards,

Ramiro Santos
ZIT P 4.22 Solaris Midrange Server
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Thu Nov 14 07:30:22 2002

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:42:58 EST