Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Sep 2009 09:57:45 -0400 (EDT)
From:      Weldon S Godfrey 3 <weldon@excelsusphoto.com>
To:        FreeBSD-gnats-submit@FreeBSD.org, freebsd-bugs@FreeBSD.org
Cc:        pjd@FreeBSD.org
Subject:   Re: kern/138244: dd attempts bitwise transfer onto ZFS pool
Message-ID:  <alpine.BSF.2.00.0909110946080.48448@emmett.excelsus.com>
In-Reply-To: <200908271900.n7RJ09Ax095497@freefall.freebsd.org>
References:  <200908271900.n7RJ09Ax095497@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

Sorry, I lost the reply to this

the command was:

dd if=/dev/zero of=/export/store1-1 bs=64k count=10000
the 'of' was an accident,  it was meant to be to a file and not the 
mountpoint
here is the df
tank/store1-1     2882037632 1161418880 1720618752    40% 
/export/store1-1

sorry, I didn't execute this and I misunderstood what happened.   I 
thought the 'of' was to tank/store1-1 so this may not be 
such an issue.

I personally never tested to see if you use the mountpoint 
instead of the /dev special file (or zfs volume in this case) with the 'of 
argument in dd, would dd treat the mountpoint as if it was the /dev 
special file.

however, the result was understood correctly, it zeroed out the dir, it 
appeared in FreeBSD as if it was blank.  I tried to do a rollback but that 
caused the system to panic.  Which turned out to be great, the system came 
back fine (not zeroed out) and not rolled back (as it was before the dd 
comand was executed).

sorry, this may not be an issue at all.  we are happy that zfs didn't kill 
the data on this accident.

going to just /export/store1-1 was an accident

If memory serves me right, sometime around Aug 27, FreeBSD-gnats-submit@Fre...:

> Thank you very much for your problem report.
> It has the internal identification `kern/138244'.
> The individual assigned to look at your
> report is: freebsd-bugs.
>
> You can access the state of your problem report at any time
> via this link:
>
> http://www.freebsd.org/cgi/query-pr.cgi?pr=138244
>
>> Category:       kern
>> Responsible:    freebsd-bugs
>> Synopsis:       dd attempts bitwise transfer onto ZFS pool
>> Arrival-Date:   Thu Aug 27 19:00:09 UTC 2009
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.0909110946080.48448>