Update: Disk Issue

From: Joshua Symons (vmcore@mysun.com)
Date: Wed Sep 18 2002 - 21:12:13 EDT


That's why i said:
/usr/sbin/prtvtoc -h /dev/rdsk/c0t0d0s2 | grep -v '^ *2' | \
/usr/sbin/fmthard -n mirror -s - /dev/rdsk/c0t1d0s2
So that you don't include slice 2.

>Getting the following error.

># prtvtoc /dev/rdsk/c0t0d0s2 | fmthard -s - /dev/rdsk/c1t2d0s2
>fmthard: Partition 2 specifies the full disk and is not equal
>full size of disk. The full disk capacity is 35368272 sectors.

>>
> How are you trying to copy the vtoc? Should be something like:
>
> prtvtoc /dev/rdsk/c0t0d0s2 | fmthard -s - /dev/rdsk/c1t2d0s2
>
> Unless there is something wrong with the disk that should work. If it
> doesn't work, I would try formatting the disk.
>
> Am I missing something??
>
> Steve
>
>
> doberman000@sympatico.ca wrote:
> >
> > Two identical disks but can't copy the vtoc to s2 of the second disk
to enable mirroring. Anyway, the disks below.
> >
> > * /dev/rdsk/c0t0d0s2 partition map
> > *
> > * Dimensions:
> > * 512 bytes/sector
> > * 248 sectors/track
> > * 19 tracks/cylinder
> > * 4712 sectors/cylinder
> > * 7508 cylinders
> > * 7506 accessible cylinders
> > *
> > * Flags:
> > * 1: unmountable
> > * 10: read-only
> > *
> > * Unallocated space:
> > * First Sector Last
> > * Sector Count Sector
> > * 35340000 28272 35368271
> > *
> > * First Sector Last
> > * Partition Tag Flags Sector Count Sector Mount Directory
> > 0 2 00 4712000 22122840 26834839 /
> > 1 3 01 0 4712000 4711999
> > 2 5 00 0 3538712 3538711
> > 3 7 00 26834840 3072224 29907063 /var
> > 4 0 00 29907064 5329272 35236335 /u01
> > 7 0 00 35236336 103664 35339999
> >
> > * /dev/rdsk/c1t2d0s2 partition map
> > *
> > * Dimensions:
> > * 512 bytes/sector
> > * 248 sectors/track
> > * 19 tracks/cylinder
> > * 4712 sectors/cylinder
> > * 7508 cylinders
> > * 7506 accessible cylinders
> > *
> > * Flags:
> > * 1: unmountable
> > * 10: read-only
> > *
> > * Unallocated space:
> > * First Sector Last
> > * Sector Count Sector
> > * 0 35368272 35368271
> > *
> > * First Sector Last
> > * Partition Tag Flags Sector Count Sector Mount Directory
> > 2 5 00 0 35368272 35368271
> >
> > What's the deal with the disk.
> >
> > Thanks
> > _______________________________________________
> > sunmanagers mailing list
> > sunmanagers@sunmanagers.org
> > http://www.sunmanagers.org/mailman/listinfo/sunmanagers
>
> --
> Steve Sandau
> IS Technician
> TMA Bath, Maine
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers

- Josh -
_______________________________________________
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:24:57 EDT