[ENBD] [gmane.network.aoe.aoetools.general] enbd and 4TB

Florian Frank florian at ffrank.net
Sat Jan 14 17:24:49 MST 2006


Peter T. Breuer schrieb:
>>grep nda /proc/partitions
>>43     0 3906140160 nda
> 
> Is that right? I think it counts in KB, so it looks OK-ish. 3.9G KB.

Yes, that is the right size. dmesg shows:

SCSI device sda: 7812280320 512-byte hdwr sectors (3999888 MB)

[...]

>    static _u64 enbd_sizes[MAX_NBD * ENBD_MAXCONN];

I replaced _u64 with __u64

> If you could arrange for some more printout in the  "overrange .."
> message, that would be nice. Something like
> 
>     ENBD_ERROR( "overrange request at %Ld-%Ld sectors\n",
>           req->sector, req->sector + req->nr_sectors - 1);
>     goto error_out;
done.

> Hic. There will be a LOT of noise. The original was protected by 
> a trigger that suppressed the message if it was repeated next time too.
> The implication is that there was some kind of success in the sequence
> too, or you would have seen more noise.

printk: 262853 messages suppressed.

Now "insmod enbd" gives:

enbd: Unknown symbol __udivdi3

Flo

-- 
Real Men don't make backups.  They upload it via ftp and let the world
mirror
it.
	-- Linus Torvalds

Florian Frank -- http://www.ffrank.net


More information about the ENBD mailing list