Sponsored Content
Operating Systems Solaris cannot label 'c0t5000CCA0251EF65Cd0': EFI labeled devices are not supported on root pools Post 302650985 by TKD on Monday 4th of June 2012 04:21:10 PM
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?
 

4 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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
All times are GMT -4. The time now is 04:45 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy