Moving ZFS disk into Solaris with UFS

Doing another jumpstart installation I stumbled upon the following error:

Processing profile
        - Opening Flash archive
        - Validating Flash archive
        - Selecting all disks
        - Configuring boot device

ERROR: The boot disk (c0t0d0) is not selected

ERROR: Flash installation failed
Solaris installation program exited.

An obvious decision was to check the disk with format utility. Printing its partition information I saw the following picture:

Part      Tag    Flag     First Sector        Size        Last Sector
  0 unassigned    wm                 0          0              0    
  1 unassigned    wm                 0          0              0    
  2     backup    wm                34      33.91GB         71116540    
  3 unassigned    wm                 0          0              0    
  4 unassigned    wm                 0          0              0    
  5 unassigned    wm                 0          0              0    
  6 unassigned    wm                 0          0              0    
  7 unassigned    wm                 0          0              0    
  8   reserved    wm          71116542       8.00MB         71132925 

“How come I have nine partitions”, that was my first reaction?! And just in a jiffy I recalled that this disk used to was a part of ZFS pool and of course it had been formatted with EFI label. So, how to change it back from EFI to SMI label. To successfully accomplish that I had to run “format -e”, because without “-e” you could change nothing.


# format -e c0t0d0
partition> l
[0] SMI Label
[1] EFI Label
Specify Label type[1]: 0
Auto configuration via format.dat[no]? y
partition> print
Current partition table (default):
Total disk cylinders available: 24620 + 2 (reserved cylinders)

Part      Tag    Flag     Cylinders         Size            Blocks
  0       root    wm       0                0         (0/0/0)            0
  1       swap    wu       0                0         (0/0/0)            0
  2     backup    wu       0 - 24619       33.92GB    (24620/0/0) 71127180
  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        usr    wm       0 - 24619       33.92GB    (24620/0/0) 71127180
  7 unassigned    wm       0                0         (0/0/0)            0

partition> q

Sorted. Now I was able to continue my interrupted jumpstart.

Posted on February 5, 2010 at 2:27 pm by sergeyt · Permalink
In: Solaris

Leave a Reply