Hello,

I'm trying to solve an issue with x2200M2 server running opensolaris 111a.
Before upgrade, the rpool was a mirror of c4t0d0s0 and c4t1d0s0 and it
worked flawlessly with upgrades since snv_99.
After upgrading to snv_117 system did not boot - there was only the
grub prompt. I switched to second (well, actually first which means
c4t0d0s0) boot disk and managed to get things running.
But the rpool got degraded. I've detached the c4t1d0s0 from rpool. And
since then, I can't format the drive under opensolaris or attach to
the rpool again.
I've tried live cd linux fdisk and gparted and it works just fine
making a filesystem and mounting it. But under opensolaris (snv_117 as
I've upgraded rpool zfs so no 111 boot anymore :-/ ) it just doesn't
work.
I've noticed that c4t0d0 is different then c4t1d0 by 1 cylinder in
size. I don't know if it was that way before the problems.
Any ideas? I've tried parted and done dd if=/dev/random
of=/dev/rdsk/c4t1d0p0 under opensolaris and it didn't help.

Here is some output
# format -eM
Searching for disks...done

AVAILABLE DISK SELECTIONS:
      0. c4t0d0 <DEFAULT cyl 60798 alt 2 hd 255 sec 63>
         /p...@0,0/pci108e,5...@5/d...@0,0
      1. c4t1d0 <DEFAULT cyl 60799 alt 2 hd 255 sec 63>
         /p...@0,0/pci108e,5...@5/d...@1,0
Specify disk (enter its number): 1
selecting c4t1d0
[disk formatted]
No Solaris fdisk partition found.

format> fdisk
No fdisk table exists. The default partition for the disk is:

 a 100% "SOLARIS System" partition

Type "y" to accept the default partition,  otherwise type "n" to edit the
 partition table.
y
       Warning: only -1 bytes written to clear primary VTOC!
               Warning: only -1 bytes written to clear backup VTOC at
block 976768003!
               Warning: only -1 bytes written to clear backup VTOC at
block 976768005!
               Warning: only -1 bytes written to clear backup VTOC at
block 976768007!
               Warning: only -1 bytes written to clear backup VTOC at
block 976768009!
               Warning: only -1 bytes written to clear backup VTOC at
block 976768011!
fdisk: Error in ioctl DKIOCSMBOOT on /dev/rdsk/c4t1d0p0.
fdisk: Error writing master boot record to /dev/rdsk/c4t1d0p0.
Solaris fdisk partition not found
No fdisk solaris partition found
format>

# fdisk -dB /dev/rdsk/c4t1d0p0
Physical Geometry:
 cylinders[60801] heads[255] sectors[63]
 sector size[512] blocks[976768065] mbytes[1801]
Virtual (HBA) Geometry:
 cylinders[60801] heads[255] sectors[63]
 sector size[512] blocks[976768065] mbytes[1801]
About to write fdisk table:
 SYSID ACT BHEAD BSECT BEGCYL   EHEAD ESECT ENDCYL   RELSECT   NUMSECT
 191   128 0     1     1        254   63    1023     16065      976752000
 100   0   0     0     0        0     0     0        100        100
 100   0   0     0     0        0     0     0        100        100
 100   0   0     0     0        0     0     0        100        100
Clearing VTOC labels from NEW table
       Clearing primary VTOC at byte 8225792 (block 16066)
       Warning: only -1 bytes written to clear primary VTOC!
       Clearing backup VTOC at byte 500105217536 (block 976768003)
^C

# prtvtoc /dev/rdsk/c4t1d0s2
* /dev/rdsk/c4t1d0s2 partition map
*
* Dimensions:
*     512 bytes/sector
*      63 sectors/track
*     255 tracks/cylinder
*   16065 sectors/cylinder
*   60801 cylinders
*   60799 accessible cylinders
*
* Flags:
*   1: unmountable
*  10: read-only
*
* Unallocated space:
*       First     Sector    Last
*       Sector     Count    Sector
*       16065 976719870 976735934
*
*                          First     Sector    Last
* Partition  Tag  Flags    Sector     Count    Sector  Mount Directory
      2      5    01          0 976735935 976735934
      8      1    01          0     16065     16064

# prtvtoc /dev/rdsk/c4t0d0s2
* /dev/rdsk/c4t0d0s2 partition map
*
* Dimensions:
*     512 bytes/sector
*      63 sectors/track
*     255 tracks/cylinder
*   16065 sectors/cylinder
*   60800 cylinders
*   60798 accessible cylinders
*
* Flags:
*   1: unmountable
*  10: read-only
*
* Unallocated space:
*       First     Sector    Last
*       Sector     Count    Sector
*           0     16065     16064
*
*                          First     Sector    Last
* Partition  Tag  Flags    Sector     Count    Sector  Mount Directory
      0      2    00      16065 976703805 976719869
      2      5    01          0 976719870 976719869
      8      1    01          0     16065     16064

Thanks for reading ;-)
LG
_______________________________________________
indiana-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss

Reply via email to