On Sat, 06 Jun 2009 03:52:28 -0700 (PDT)
Marek <marwooj at wp.pl> wrote:
> hi I have some problems here
> format -e c7d1
> selecting c7d1
> Controller working list found
> [disk formatted, defect list found]
> format> label
> WARNING - This disk may be in use by an application that has
> modified the fdisk table. Ensure that this disk is
> not currently in use before proceeding to use fdisk.
>
> root at solaris:~# prtvtoc /dev/dsk/c7d0s0 | fmthard -s - /dev/dsk/c7d1s0
> fmthard: /dev/dsk/c7d1s0 must be a raw device.
>
> What is wrong?
You didn't specify the raw device, you specified the block
device. Try this instead:
# prtvtoc /dev/rdsk/c7d0s0 | fmthard -s - /dev/rdsk/c7d1s0
^ ^
James C. McPherson
--
Senior Kernel Software Engineer, Solaris
Sun Microsystems
http://blogs.sun.com/jmcp http://www.jmcp.homeunix.com/blog
Kernel Conference Australia - http://au.sun.com/sunnews/events/2009/kernel