Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ZFS Mirror on a slice in an EFI label

933584Jan 11 2013 — edited Jan 11 2013
I have some questions I'm hoping someone can clarify.

I recently did a fresh Solaris 11.1 install. It created an EFI label partition which looks like as follows:
Intel 710 SSD 100GB
# prtvoc /dev/rdsk/c8t0d0
* Dimensions:
*     512 bytes/sector
* 195371568 sectors
* 195371501 accessible sectors
Total disk sectors available: 195355117 + 16384 (reserved sectors)

Part      Tag    Flag     First Sector         Size         Last Sector
  0        usr    wm               256       30.00GB          62914815    
  1  BIOS_boot    wm          62914816      256.00MB          63439103    
  2        usr    wm          63439104       60.00GB          189268223    
  3        usr    wm         189268224        2.90GB          195355135    
  4 unassigned    wm                 0           0               0    
  5 unassigned    wm                 0           0               0    
  6 unassigned    wm                 0           0               0    
  8   reserved    wm         195355136        8.00MB          195371519
I added slices 2 and 3 for use as cache and ZIL slices on the tank pool that is SAS Magnetic drives.
I then added another Intel 710 SSD drive (c8t1d0) and used format -e to create the EFI partition and then create the slices to be identical to the c8t0d0 drive. (So I could mirror the rpool, mirror the ZIL and stripe the cache)

I noticed that the reserved sectors where different on this freshly created EFI label than the first disk. Disk geometry is the same, the reserve is the same size, just using different sectors.
Intel 710 SSD 100GB
# prtvoc /dev/rdsk/c8t1d0
* Dimensions:
*     512 bytes/sector
* 195371568 sectors
* 195371501 accessible sectors
Total disk sectors available: 195355117 + 16384 (reserved sectors)

Part      Tag    Flag     First Sector         Size         Last Sector
  0        usr    wm               256       30.00GB          62914815    
  1  BIOS_boot    wm          62914816      256.00MB          63439103    
  2        usr    wm          63439104       60.00GB          189268223    
  3        usr    wm         189268224        2.90GB          195350015    
  4 unassigned    wm                 0           0               0    
  5 unassigned    wm                 0           0               0    
  6 unassigned    wm                 0           0               0    
  8   reserved    wm         195350016        8.00MB          195366399
As you will notice the reserved is in a different spot, thus forcing the slice 3 to be slightly smaller than the other disk.

So I have a few questions:

<li>Can I safely move the reserve slice on disk c8t1d0 to match c8t0d0?
<li>rpool is set to use c8t0d0s0, when I attach c8t1d0s1 is works and resilvers just fine.. But does it know to mirror the BIOS_boot slice?? I assume this is where grub is installed. I would need it if c8t0d0 dies.
<li>I'll be adding two more identical 710 drives.. If I set them up the same. Can rpool be a raid 10? or is only mirror supported?
<li> slice 0 starts at a sector divisible into 512 sector size as recommended for performance, should each slice start on a sector which is divisible into 512? what about ending sectors?

Thanks!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 8 2013
Added on Jan 11 2013
3 comments
666 views