I've hsut bought second drive for my hope PC and decided to do mirror. I've 
made 

 pfexec zpool attach rpool c9d0s0 c13d0s0

waited for scrub  and tried to install grub on second disk:
$ pfexec installgrub /boot/grub/stage1 /boot/grub/stage2 /dev/rdsk/c13d0s0
cannot open/stat device /dev/rdsk/c13d0s2
$ pfexec installgrub /boot/grub/stage1 /boot/grub/stage2 /dev/rdsk/c13d0
raw device must be a root slice (not s2)

What am I doing wrong?  I believe that new device is SMI-labeled (I formated it 
and set SMI label), however I don't know how to check it...

$ pfexec prtvtoc   /dev/rdsk/c13d0s0 
* /dev/rdsk/c13d0s0 partition map
*
* Dimensions:
*     512 bytes/sector
*      63 sectors/track
*     255 tracks/cylinder
*   16065 sectors/cylinder
*   60799 cylinders
*   60797 accessible cylinders
*
* Flags:
*   1: unmountable
*  10: read-only
*
* Unallocated space:
*       First     Sector    Last
*       Sector     Count    Sector 
*           0     48195     48194
*
*                          First     Sector    Last
* Partition  Tag  Flags    Sector     Count    Sector  Mount Directory
       0      2    00      48195 976655610 976703804
       8      1    01          0     16065     16064
       9      9    00      16065     32130     48194
-- 
This message posted from opensolaris.org
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to