Thanks Reginald your answer. I hope Jim read my questions and he'll answer me because he knows exactly what I'd like.
BR
Brogyi

Number  Start       End         Size          Type        File system  Flags
 1             8354kB  33.7GB   33.7GB    primary  solaris   boot
 2             33.7GB  39.2GB   5417MB  primary
 3             39.2GB  100GB    61.1GB    primary

config:

NAME STATE READ WRITE CKSUM
          pool ONLINE       0     0     0
          raidz1-0 ONLINE       0     0     0
            c3t50014EE2B3C27E80d0     ONLINE       0     0     0
            c3t50014EE2B3C2749Bd0     ONLINE       0     0     0
            c3t50014EE25E6CE061d0     ONLINE       0     0     0
            c3t50014EE20917A8B4d0    ONLINE       0     0     0
        logs
          mirror-1                   ONLINE       0     0     0
            c3t5000C5002FF029D5d0p2  ONLINE       0     0     0
            c3t5000C5002FF02451d0p2  ONLINE       0     0     0
        cache
          c3t5000C5002FF029D5d0p3    ONLINE       0     0     0
          c3t5000C5002FF02451d0p3    ONLINE       0     0     0

errors: No known data errors

  pool: rpool
 state: ONLINE
  scan: scrub repaired 0 in 0h1m with 0 errors on Mon Jan 27 13:19:07 2014
config:

        NAME                         STATE     READ WRITE CKSUM
        rpool                        ONLINE       0     0     0
          mirror-0                   ONLINE       0     0     0
            c3t5000C5002FF029D5d0s0  ONLINE       0     0     0
            c3t5000C5002FF02451d0s0  ONLINE       0     0     0
2014.07.19. 18:43 keltezéssel, Reginald Beardsley via openindiana-discuss írta:
I'm assuming you want to use Microsoft disk partitions for non-Solaris uses.

Use fdisk to create the partitions you want interavtively

use format to create slices in the Solaris partition interactively

then use zpool to create the mirror

Both fdisk and format have reasonably good help information when run 
interactively.  Obviously don't expect to preserve data on the disk doing this.

FWIW on my backup server I selected 100% solaris in fdisk and then created 2 
slices, s0 and s1, with format.  The s0 slice is 100 GB for a mirrored rpool 
and the rest of the disk (~1.9 TB) in s1 is used for a RAIDZ pool.

Reg


--------------------------------------------
On Sat, 7/19/14, Brogyányi József <bro...@gmail.com> wrote:

  Subject: [OpenIndiana-discuss] Formating tricks
  To: "Discussion list for OpenIndiana" <openindiana-discuss@openindiana.org>
  Date: Saturday, July 19, 2014, 11:26 AM
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
_______________________________________________
  openindiana-discuss mailing list
  openindiana-discuss@openindiana.org
  http://openindiana.org/mailman/listinfo/openindiana-discuss
_______________________________________________
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


_______________________________________________
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss

Reply via email to