[OpenIndiana-discuss] Formating tricks

Brogyányi József brogyi at gmail.com
Sat Jul 19 16:26:18 UTC 2014


I've seen on the Internet the next trick but it was not so clear for me. 
The rpool mirror not occupy the whole disk.
The short question is how to do that?
When I uses the whole disk the next codes are working:

pfexec fdisk -B c6t0d0p0 ### I think "-B" is not good in this case.
pfexec prtvtoc /dev/rdsk/c5t0d0s2 | pfexec fmthard -s - /dev/rdsk/c6t0d0s2
pfexec zpool attach -f rpool c5t0d0s0 c6t0d0s0
pfexec installgrub -fm /boot/grub/stage1 /boot/grub/stage2 
/dev/rdsk/c6t0d0s0

So how to modify above code if I'd like to use 3 partitions?
s0 is for rpool mirror
p2 for whatever you want
p3 for whatever you want

Please correct my thoughts. Thanks.
Brogyi



More information about the openindiana-discuss mailing list