Re: [zfs-discuss] number of blocks changes

2012-08-06 Thread Justin Stringfellow
> I think for the cleanness of the experiment, you should also include "sync" after the dd's, to actually commit your file to the pool. OK that 'fixes' it: finsdb137@root> dd if=/dev/random of=ob bs=128k count=1 && sync && while true > do > ls -s ob > sleep 1 > done 0+1 records in 0+1 records o

Re: [zfs-discuss] number of blocks changes

2012-08-06 Thread Justin Stringfellow
>Can you check whether this happens from /dev/urandom as well? It does: finsdb137@root> dd if=/dev/urandom of=oub bs=128k count=1 && while true > do > ls -s oub > sleep 1 > done 0+1 records in 0+1 records out    1 oub    1 oub    1 oub    1 oub    1 oub    4 oub    4 oub    4 oub    4 oub    4

Re: [zfs-discuss] number of blocks changes

2012-08-03 Thread Jim Klimov
2012-08-03 17:18, Justin Stringfellow пишет: While this isn't causing me any problems, I'm curious as to why this is happening...: $ dd if=/dev/random of=ob bs=128k count=1 && while true do ls -s ob sleep 1 done 0+1 records in 0+1 records out 1 ob ... I was expecting the '1', since t

Re: [zfs-discuss] number of blocks changes

2012-08-03 Thread Sašo Kiselkov
On 08/03/2012 03:18 PM, Justin Stringfellow wrote: > While this isn't causing me any problems, I'm curious as to why this is > happening...: > > > > $ dd if=/dev/random of=ob bs=128k count=1 && while true Can you check whether this happens from /dev/urandom as well? -- Saso __

[zfs-discuss] number of blocks changes

2012-08-03 Thread Justin Stringfellow
While this isn't causing me any problems, I'm curious as to why this is happening...: $ dd if=/dev/random of=ob bs=128k count=1 && while true > do > ls -s ob > sleep 1 > done 0+1 records in 0+1 records out    1 ob    1 ob    1 ob    1 ob    1 ob    1 ob    1 ob    1 ob    1 ob    1 ob    1 ob