cannot label 'c0t5000CCA0251EF65Cd0': EFI labeled devices are not supported on root pools


 
Thread Tools Search this Thread
Operating Systems Solaris cannot label 'c0t5000CCA0251EF65Cd0': EFI labeled devices are not supported on root pools
# 1  
Old 06-04-2012
cannot label 'c0t5000CCA0251EF65Cd0': EFI labeled devices are not supported on root pools

I'm running Solaris 10 u9. I just applied the April quarterly patch cluster. I'm trying to mirror the boot disk which is using zfs, something I've done before w/o problems prior to the patch cluster install.



Code:
disk=c0t5000CCA0251D9514d0;mirrordisk=c0t5000CCA0251EF65Cd0;echo $disk $mirrordisk
  c0t5000CCA0251D9514d0 c0t5000CCA0251EF65Cd0
   
  prtvtoc /dev/dsk/${disk}s2 > /tmp/disk-partitionTbl
  fmthard -s /tmp/disk-partitionTbl /dev/rdsk/${mirrordisk}s2
  fmthard:  New volume table of contents now in place.
   
  zpool attach -f rpool $disk $mirrordisk
  cannot label 'c0t5000CCA0251EF65Cd0': EFI labeled devices are not supported on root pools.
   
  boot
  format c0t5000CCA0251D9514d0
   
  Part      Tag    Flag     Cylinders         Size            Blocks
    0       root    wm       0 - 46872      279.38GB    (46873/0/0) 585912500
    1 unassigned    wm       0                0         (0/0/0)             0
    2     backup    wm       0 - 46872      279.38GB    (46873/0/0) 585912500
    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
   
   
  format c0t5000CCA0251EF65Cd0
   
  Part      Tag    Flag     Cylinders         Size            Blocks
    0       root    wm       0 - 46872      279.38GB    (46873/0/0) 585912500
    1 unassigned    wu       0                0         (0/0/0)             0
    2     backup    wm       0 - 46872      279.38GB    (46873/0/0) 585912500
    3 unassigned    wu       0                0         (0/0/0)             0
    4 unassigned    wu       0                0         (0/0/0)             0
    5 unassigned    wu       0                0         (0/0/0)             0
    6 unassigned    wu       0                0         (0/0/0)             0
    7 unassigned    wu       0                0         (0/0/0)             0
   
  A disk that is intended for a ZFS root pool must be created with an SMI label, not an EFI label. 
  You can relabel a disk with an SMI label by using the format -e command.
   
  format -e c0t5000CCA0251EF65Cd0
  selecting c0t5000CCA0251EF65Cd0: solaris
  [disk formatted]
   
   
  FORMAT MENU:
          disk       - select a disk
          type       - select (define) a disk type
          partition  - select (define) a partition table
          current    - describe the current disk
          format     - format and analyze the disk
          repair     - repair a defective sector
          label      - write label to the disk
          analyze    - surface analysis
          defect     - defect list management
          backup     - search for backup labels
          verify     - read and display labels
          save       - save new disk/partition definitions
          inquiry    - show vendor, product and revision
          scsi       - independent SCSI mode selects
          cache      - enable, disable or query SCSI disk cache
          volname    - set 8-character volume name
          !<cmd>     - execute <cmd>, then return
          quit
  format> label
  [0] SMI Label
  [1] EFI Label
  Specify Label type[0]: 0
  Ready to label disk, continue? Y
  Quit
   
  Part      Tag    Flag     Cylinders         Size            Blocks
    0       root    wm       0 - 46872      279.38GB    (46873/0/0) 585912500
    1 unassigned    wu       0                0         (0/0/0)             0
    2     backup    wm       0 - 46872      279.38GB    (46873/0/0) 585912500
    3 unassigned    wu       0                0         (0/0/0)             0
    4 unassigned    wu       0                0         (0/0/0)             0
    5 unassigned    wu       0                0         (0/0/0)             0
    6 unassigned    wu       0                0         (0/0/0)             0
    7 unassigned    wu       0                0         (0/0/0)             0
  It looks the same.
   
  zpool attach -f rpool c0t5000CCA0251D9514d0 c0t5000CCA0251EF65Cd0
  cannot label 'c0t5000CCA0251EF65Cd0': EFI labeled devices are not supported on root pools.
   
  prtvtoc /dev/dsk/${mirrordisk}s2
  * /dev/dsk/c0t5000CCA0251EF65Cd0s2 (volume "solaris") partition map
  *
  * Dimensions:
  *     512 bytes/sector
  *     625 sectors/track
  *      20 tracks/cylinder
  *   12500 sectors/cylinder
  *   46875 cylinders
  *   46873 accessible cylinders
  *
  * Flags:
  *   1: unmountable
  *  10: read-only
  *
  *                          First     Sector    Last
  * Partition  Tag  Flags    Sector     Count    Sector  Mount Directory
         0      2    00          0 585912500 585912499
         2      5    00          0 585912500 585912499
   
  prtvtoc /dev/dsk/c0t5000CCA02522DFB0d0s2
  * /dev/dsk/c0t5000CCA02522DFB0d0s2 (volume "solaris") partition map
  *
  * Dimensions:
  *     512 bytes/sector
  *     625 sectors/track
  *      20 tracks/cylinder
  *   12500 sectors/cylinder
  *   46875 cylinders
  *   46873 accessible cylinders
  *
  * Flags:
  *   1: unmountable
  *  10: read-only
  *
  *                          First     Sector    Last
  * Partition  Tag  Flags    Sector     Count    Sector  Mount Directory
         0      2    00          0    262500    262499
         1      3    01     262500    262500    524999
         2      5    01          0 585912500 585912499
         6      4    00     525000 585387500 585912499
   
  prtvtoc /dev/dsk/${disk}s2
  * /dev/dsk/c0t5000CCA0251D9514d0s2 (volume "solaris") partition map
  *
  * Dimensions:
  *     512 bytes/sector
  *     625 sectors/track
  *      20 tracks/cylinder
  *   12500 sectors/cylinder
  *   46875 cylinders
  *   46873 accessible cylinders
  *
  * Flags:
  *   1: unmountable
  *  10: read-only
  *
  *                          First     Sector    Last
  * Partition  Tag  Flags    Sector     Count    Sector  Mount Directory
         0      2    00          0 585912500 585912499
         2      5    00          0 585912500 585912499

What gives?
# 2  
Old 06-04-2012
Can you post zpool status rpool?
# 3  
Old 06-04-2012
Code:
zpool status rpool
  pool: rpool
 state: ONLINE
 scan: none requested
config:

        NAME                       STATE     READ WRITE CKSUM
        rpool                      ONLINE       0     0     0
          c0t5000CCA0251D9514d0s0  ONLINE       0     0     0

errors: No known data errors

# 4  
Old 06-04-2012
Try:
Code:
zpool attach -f rpool c0t5000CCA0251D9514d0s0 c0t5000CCA0251EF65Cd0s0

# 5  
Old 06-04-2012
Code:
zpool attach -f rpool c0t5000CCA0251D9514d0 c0t5000CCA0251EF65Cd0
cannot label 'c0t5000CCA0251EF65Cd0': EFI labeled devices are not supported on root pools.

# 6  
Old 06-04-2012
try to "destroy" the disk label with dd... something like
Code:
dd if=/dev/zero of=$HARDDRIVE count=16

after that try to relabel the disk with format -e and run the zpool attach command again...
# 7  
Old 06-05-2012
@TKD, you are using the wrong device name (without slice 0).

As bartus11 already suggested, use c0t5000CCA0251D9514d0s0
Login or Register to Ask a Question

Previous Thread | Next Thread

4 More Discussions You Might Find Interesting

1. Solaris

Flash Archive Jumpstart with multiple ZFS Pools

Hi, I'm trying to get a Flash Archive Jumpstart Running with ZFS Filesystem. For Testing I set up a VirtualBox VM with 2 Disks attached. On the first disk I have the ZFS root pool, on the second Disk I have some more ZFS Pools which I use for 2 additional Zones I've set up. Restoring works fine if... (1 Reply)
Discussion started by: NoelzeN
1 Replies

2. Solaris

Installing Sun Cluster on ZFS root pools

Hi All! I have been tasked with creating a clustered file system for two systems running Sol 10 u8. These systems have 3 zones each and the global zone has ZFS on the boot disk. We currently have one system sharing an NFS mount to both of these systems. The root zfs pool status (on the... (2 Replies)
Discussion started by: bluescreen
2 Replies

3. Solaris

Help:"Bad checksum in disk label" and "Can't open disk label package"?

Hello, I'm brand new to Sun/Solaris. I have a Sun Blade 150, with SunOS 5.8. I wanted to make a backup to prevent future data loss, so I put the disk in a normal PC with Windows XP to try to make a backup with Norton Ghost, the disk was detected, but not the file volume, so I place the disk... (6 Replies)
Discussion started by: Resadija
6 Replies

4. UNIX for Dummies Questions & Answers

passthrough devices vs. named devices

I am having trouble understanding the difference between a passthrough device and a named device and when you would use one or the other to access equipment. As an example, we have a tape library and giving the command "camcontrol devlist" gives the following output: akx# camcontrol... (1 Reply)
Discussion started by: thumper
1 Replies
Login or Register to Ask a Question