On Thu, Jun 30, 2011 at 08:01, Johan Guldmyr <johan.guld...@csc.fi> wrote:
> On 06/28/2011 09:32 PM, Gordon Ross wrote:
>>>
>>> Here is the ::stack
>>> >  http://img220.imageshack.us/i/oi148stack.jpg/
>>
>> If you look at what the other threads are doing
>>   ::walk thread | ::findstack -v
>> I suspect you'll see that ZFS is still trying to import.
>>
>> I would suggest you dd if=/dev/zero of=/your/disk
>> with a much larger count.  ZFS tries quite hard to
>> find a super block, which works against you here:)
>
> Hello!
>
> I tried dd if=/dev/zero of=/dev/rdsk/c1t0d0p0 count=2000000
> but after some two hours I stopped it (ctrl-z).

with dd, use "bs=<bignumber>" to increase the block size dd reads and
writes in one go - as you quote it, dd wrote 512 bytes at a time. A
good value to start with would be 1048576 (1MB).

Also, you may have "stopped" the command in an unintended way - Ctl-Z
doesn't terminate a command, merely "freezes" it in its tracks
(technically, pressing Ctrl-Z causes the shell to send SIGSTOP to the
process); you could let it resume at a later time by using either "bg"
(to have it continue in the background) or "fg" (... you get the idea
;-).

HTH
Michael

> The 2M I got from going into format, partition p, c1t0d0 - where it says
> that there were 286599600 blocks.
>
> With
> ::walk thread | ::findstack -v
> the console froze after some 25 pages..
> This usually happen while I'm in the kernel debugger.
> Sometimes it freezes after first 4-5 characters.
>
> --
> Johan Guldmyr, Systems Specialist
> Storage Platform,
> CSC - IT Center for Science,
>
>
> _______________________________________________
> OpenIndiana-discuss mailing list
> OpenIndiana-discuss@openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss
>



-- 
Michael Schuster
http://recursiveramblings.wordpress.com/

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

Reply via email to