Thanks, spp. But I'm still in trouble.

I recognized the disk label is corrupted.

# prtvtoc /dev/rdsk/c0t0d0s2
prtvtoc: /dev/rdsk/c0t0d0s2: Invalid VTOC

and failed to install a new label,

# prtvtoc /dev/dsk/c0t2d0s2 | fmthard -s - /dev/dsk/c0t0d0s2
fmthard:  /dev/dsk/c0t0d0s2 must be a raw device.
# prtvtoc /dev/dsk/c0t2d0s2 | fmthard -s - /dev/rdsk/c0t0d0s2
fmthard: Partition 0 overlaps partition 2. Overlap is allowed
        only on partition on the full disk partition).

The disk label of c0t2d0s2 is like this:

# prtvtoc /dev/dsk/c0t2d0s2 
* /dev/dsk/c0t2d0s2 partition map
*
* Dimensions:
*     512 bytes/sector
*      63 sectors/track
*      16 tracks/cylinder
*    1008 sectors/cylinder
*   38792 cylinders
*   38790 accessible cylinders
*
* Flags:
*   1: unmountable
*  10: read-only
*
*                          First     Sector    Last
* Partition  Tag  Flags    Sector     Count    Sector  Mount Directory
       0      2    00          0  37002672  37002671   /
       1      3    01   37002672   2097648  39100319
       2      5    00          0  39100320  39100319

--
NAKAJI Hiroyuki
 
 
This message posted from opensolaris.org
_______________________________________________
opensolaris-help mailing list
opensolaris-help@opensolaris.org

Reply via email to