On Sun, Jan 17, 2010 at 6:57 PM, Brian Fitzhugh <brian.fitzh...@gmail.com>wrote:

> I have a system that I'm trying to bring up with a mirrored rpool.  I'm
> using DarkStar's ZFS Root Mirror blog post as a guide (
> http://darkstar-solaris.blogspot.com/2008/09/zfs-root-mirror.html).
>
> When I get to step 3 I execute:
> pfexec prtvtoc /dev/rdsk/c7d0s2 | fmthard -s - /dev/rdsk/c7d1s2
>
> I get:  fmthard:  Cannot open device /dev/rdsk/c7d1s2 - Permission denied
>

you need to use a second pfexec after the |
like this:
 pfexec prtvtoc /dev/rdsk/c7d0s2 | pfexec fmthard -s - /dev/rdsk/c7d1s2

>
> Any ideas as to what i might be doing wrong here?
>
> Thanks, Brian
> --
> This message posted from opensolaris.org
> _______________________________________________
> zfs-discuss mailing list
> zfs-discuss@opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
>
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to