I'm trying to mirror my Solaris 11 rpool but I get an error.
Using:
I have tried with both Napp-it and manually as documented in the following article with no luck.
Oracle Solaris 11 Express: Mirroring Your ZFS Root Pool
When I try to run
I get:
Please note that I don't prepare/partition/format my VM disks prior to installing Solaris, I just add them in ESXi and then let the Solaris installation handle the partitioning and formatting for me using the whole disk.
Available disks. Disk A (0) is my Solaris 11 installation, Disk B (2) is the one I want to add as mirror:
I find it strange that disk A doesn't show info about cyl, hd and sec like disk B do.
Disk A fdisk table info output:
Disk A format partition info output:
prtvtoc output for disk A:
Is it maybe something wrong with the mirror disk?
prtvtoc output for disk B:
thanks in advance
Using:
- ESXi 5.5
- Solaris 11.1
- 2 x VM disks (as suggested on Gea's AIO pdf) on two different SSD-based datastores
I have tried with both Napp-it and manually as documented in the following article with no luck.
Oracle Solaris 11 Express: Mirroring Your ZFS Root Pool
When I try to run
Code:
root@solaris:~# prtvtoc /dev/rdsk/c8t0d0s0 | fmthard -s - /dev/rdsk/c8t2d0s0
Code:
Partition 0 not aligned on cylinder boundary: " 0 24 00 256 524032 524287"
Available disks. Disk A (0) is my Solaris 11 installation, Disk B (2) is the one I want to add as mirror:
Code:
AVAILABLE DISK SELECTIONS:
0. c8t0d0 <VMware-Virtual disk-1.0-13.00GB>
/pci@0,0/pci15ad,1976@10/sd@0,0
...
2. c8t2d0 <VMware-Virtual disk-1.0 cyl 2171 alt 2 hd 224 sec 56>
/pci@0,0/pci15ad,1976@10/sd@2,0
Disk A fdisk table info output:
Code:
* /dev/rdsk/c8t0d0p0 default fdisk table
* Dimensions:
* 512 bytes/sector
* 56 sectors/track
* 224 tracks/cylinder
* 2173 cylinders
*
* systid:
...
* 191: SUNIXOS2
* 238: EFI_PMBR
* 239: EFI_FS
*
* Id Act Bhead Bsect Bcyl Ehead Esect Ecyl Rsect Numsect
238 0 255 63 1023 255 63 1023 1 27262975
0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0
Code:
Total disk sectors available: 27246525 + 16384 (reserved sectors)
Part Tag Flag First Sector Size Last Sector
0 BIOS_boot wm 256 255.88MB 524287
1 usr wm 524288 12.74GB 27241471
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 27241472 8.00MB 27257855
Code:
* /dev/rdsk/c8t0d0s0 partition map
*
* Dimensions:
* 512 bytes/sector
* 27262976 sectors
* 27262909 accessible sectors
*
* Flags:
* 1: unmountable
* 10: read-only
*
* Unallocated space:
* First Sector Last
* Sector Count Sector
* 34 222 255
* 27257856 5086 27262941
*
* First Sector Last
* Partition Tag Flags Sector Count Sector Mount Directory
0 24 00 256 524032 524287
1 4 00 524288 26717184 27241471
8 11 00 27241472 16384 27257855
prtvtoc output for disk B:
Code:
* /dev/rdsk/c8t2d0s0 partition map
*
* Dimensions:
* 512 bytes/sector
* 56 sectors/track
* 224 tracks/cylinder
* 12544 sectors/cylinder
* 2173 cylinders
* 2171 accessible cylinders
*
* Flags:
* 1: unmountable
* 10: read-only
*
* Unallocated space:
* First Sector Last
* Sector Count Sector
* 12544 27220480 27233023
*
* First Sector Last
* Partition Tag Flags Sector Count Sector Mount Directory
2 5 01 0 27233024 27233023
8 1 01 0 12544 12543