Evan Layton wrote:
> Hello Gerard,
> 
> What does the command "zpool status" show you? It appears that
> update_grub thinks that /dev/dsk/c5t1d0s0 is attached to the
> root pool as part of a mirror and it's that device that looks
> like it's getting all the errors. What does fdisk show for
> /dev/dsk/c5t1d0s0?
> 
> It would also be helpful to see what "zfs list" shows.
> 

here are the infos:

-bash-3.2# zpool status
   pool: rpool
  state: ONLINE
  scrub: none requested
config:

         NAME          STATE     READ WRITE CKSUM
         rpool         ONLINE       0     0     0
           mirror      ONLINE       0     0     0
             c5t0d0s0  ONLINE       0     0     0
             c5t1d0s0  ONLINE       0     0     0

errors: No known data errors


-bash-3.2# format
Searching for disks...done


AVAILABLE DISK SELECTIONS:
        0. c5t0d0 <DEFAULT cyl 9726 alt 2 hd 255 sec 63>
           /[EMAIL PROTECTED],0/pci108e,[EMAIL PROTECTED]/[EMAIL PROTECTED],0
        1. c5t1d0 <ATA-ST380815AS-B-74.53GB>
           /[EMAIL PROTECTED],0/pci108e,[EMAIL PROTECTED]/[EMAIL PROTECTED],0

selecting c5t0d0
[disk formatted]
/dev/dsk/c5t0d0s0 is part of active ZFS pool rpool. Please see zpool(1M).
/dev/dsk/c5t0d0s1 is currently used by swap. Please see swap(1M).

partition> p
Current partition table (original):
Total disk cylinders available: 9726 + 2 (reserved cylinders)

Part      Tag    Flag     Cylinders        Size            Blocks
   0       root    wm     262 - 9725       72.50GB    (9464/0/0) 152039160
   1       swap    wu       1 -  261        2.00GB    (261/0/0)    4192965
   2     backup    wu       0 - 9725       74.50GB    (9726/0/0) 156248190
   3 unassigned    wm       0               0         (0/0/0)            0
   4 unassigned    wm       0               0         (0/0/0)            0
   5 unassigned    wm       0               0         (0/0/0)            0
   6 unassigned    wm       0               0         (0/0/0)            0
   7 unassigned    wm       0               0         (0/0/0)            0
   8       boot    wu       0 -    0        7.84MB    (1/0/0)        16065
   9 unassigned    wm       0               0         (0/0/0)            0

Specify disk (enter its number): 1
selecting c5t1d0
[disk formatted]
/dev/dsk/c5t1d0s0 is part of active ZFS pool rpool. Please see zpool(1M).
partition> p
Current partition table (original):
Total disk sectors available: 156285070 + 16384 (reserved sectors)


Part      Tag    Flag     First Sector         Size         Last Sector
   0        usr    wm               256       74.52GB          156285070
   1 unassigned    wm                 0           0               0
   2 unassigned    wm                 0           0               0
   3 unassigned    wm                 0           0               0
   4 unassigned    wm                 0           0               0
   5 unassigned    wm                 0           0               0
   6 unassigned    wm                 0           0               0
   8   reserved    wm         156285071        8.00MB          156301454


it seems that the second doesn't contains the same inforamtion than the 
first one. The mirror was created at indiana installation.

-bash-3.2# zfs list
NAME                                                        USED  AVAIL 
  REFER  MOUNTPOINT
rpool                                                      45.9G  25.0G 
    60K  /rpool
[EMAIL PROTECTED]                                              19.5K      - 
    55K  -
rpool/ROOT                                                 6.43G  25.0G 
    18K  /rpool/ROOT
rpool/[EMAIL PROTECTED]                                             0      - 
    18K  -
rpool/ROOT/opensolaris                                     8.40M  25.0G 
  2.75G  legacy
rpool/ROOT/opensolaris-1                                   4.29G  25.0G 
  2.92G  legacy
rpool/ROOT/[EMAIL PROTECTED]                           59.9M      - 
  2.22G  -
rpool/ROOT/[EMAIL PROTECTED]:-:2008-05-30-05:29:40       406M      - 
  2.75G  -
rpool/ROOT/[EMAIL PROTECTED]:-:2008-08-20-12:06:34       165M      - 
  2.64G  -
rpool/ROOT/opensolaris-1/opt                                709M  25.0G 
   709M  /opt
rpool/ROOT/opensolaris-1/[EMAIL PROTECTED]                         72K      - 
  3.60M  -
rpool/ROOT/opensolaris-1/[EMAIL PROTECTED]:-:2008-05-30-05:29:40    38K      - 
   595M  -
rpool/ROOT/opensolaris-1/[EMAIL PROTECTED]:-:2008-08-20-12:06:34      0      - 
   709M  -
rpool/ROOT/opensolaris-2                                   2.12G  25.0G 
  3.01G  legacy
rpool/ROOT/opensolaris-2/opt                                 32K  25.0G 
   709M  /opt
rpool/ROOT/opensolaris/opt                                   79K  25.0G 
   595M  /opt

AVAILABLE DISK SELECTIONS:
        0. c5t0d0 <DEFAULT cyl 9726 alt 2 hd 255 sec 63>
           /[EMAIL PROTECTED],0/pci108e,[EMAIL PROTECTED]/[EMAIL PROTECTED],0
        1. c5t1d0 <ATA-ST380815AS-B-74.53GB>
           /[EMAIL PROTECTED],0/pci108e,[EMAIL PROTECTED]/[EMAIL PROTECTED],0
Specify disk (enter its number): 0
selecting c5t0d0
[disk formatted]
              Total disk size is 9729 cylinders
              Cylinder size is 16065 (512 byte) blocks

                                                Cylinders
       Partition   Status    Type          Start   End   Length    %
       =========   ======    ============  =====   ===   ======   ===
           1       Active    Solaris2          1  9728    9728    100

-bash-3.2# format
Searching for disks...done


AVAILABLE DISK SELECTIONS:
        0. c5t0d0 <DEFAULT cyl 9726 alt 2 hd 255 sec 63>
           /[EMAIL PROTECTED],0/pci108e,[EMAIL PROTECTED]/[EMAIL PROTECTED],0
        1. c5t1d0 <ATA-ST380815AS-B-74.53GB>
           /[EMAIL PROTECTED],0/pci108e,[EMAIL PROTECTED]/[EMAIL PROTECTED],0
Specify disk (enter its number): 0
selecting c5t0d0
[disk formatted]
              Total disk size is 9729 cylinders
              Cylinder size is 16065 (512 byte) blocks

                                                Cylinders
       Partition   Status    Type          Start   End   Length    %
       =========   ======    ============  =====   ===   ======   ===
           1       Active    Solaris2          1  9728    9728    100


thanks for your help,

gerard

_______________________________________________
indiana-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss

Reply via email to