[ENBD] Problem with mkfs on enbd

Stephan von Krawczynski skraw at ithnet.com
Tue Jan 3 10:28:18 MST 2006


On Mon, 2 Jan 2006 18:14:41 +0100 (MET)
"Peter T. Breuer" <ptb at inv.it.uc3m.es> wrote:

> "Also sprach Stephan von Krawczynski:"
> > ENBD enbd.c #7785[0]: enbd_init Enhanced Network Block Device 2.4.32 Date:
> > Tue Jun  7 18:47:32 CEST 2005 by ptb at it.uc3m.es
> > 
> > Running on 2.4.30 kernel.
> > 
> > Is that a valid output (/var/log/warn):
> > 
> > Jan  1 16:22:22 mail-a01 enbd-server: enbd-server  1604: <#1414>
> > do_srv_write request for nonblock (4096) length at 0 (0) seqno 2 len 512 
> 
> You have blocksize somehow inappropriately set. Use -b 512 (can it do
> that? I suppose so). The kernel is issuing 512B requests, not that I 
> understand quite how or why ... and you have the blocksize set at 4096.

Sorry for this dumb question:
where do I set the blocksize parameter? enbd-client or enbd-server ?

Currently I have enbdclient -b 4096 ...

> > flushing buffers..done
> > reading and
> > checking....5%....10%....15%....20%....25%....30%....35%....40%....45%....
> > 50%....55%....60%....65%....70%....75%....80%....85%....90%....95%....
> > (1000KB written in 5.100177s, 0.191476 MB/s, 392.143253 seeks/s) (1000KB
> > read in 0.003492s, 279.657073 MB/s)done
> 
> That's strange though. I'll have to check that code. How long did that
> test take?

Well, you got me. Actually I don't know exactly. I remember though that it was
a matter of 10-20 minutes.

> > enbd-test on /dev/md0 went nuts. The box got unusable, no login, no shell
> > action possible. I had to cold-reboot.
> 
> Well, sounds like md0 somehow does not work, but the ndX do.
> 
> Care to tell anything more about the box? Arch and so on.

Linux mail-a01 2.4.30 #2 SMP Mon Apr 11 12:56:03 CEST 2005 i686 i686 i386 GNU/Linux

Hardware is an Intel box with Intel Raid Controller:
00:00.0 Host bridge: Intel Corp. E7501 Memory Controller Hub (rev 01)
00:00.1 Class ff00: Intel Corp. E7000 Series Host RASUM Controller (rev 01)
00:03.0 PCI bridge: Intel Corp. E7000 Series Hub Interface C PCI-to-PCI Bridge (rev 01)
00:03.1 Class ff00: Intel Corp. E7000 Series Hub Interface C RASUM Controller (rev 01)
00:1d.0 USB Controller: Intel Corp. 82801CA/CAM USB (Hub #1) (rev 02)
00:1d.1 USB Controller: Intel Corp. 82801CA/CAM USB (Hub #2) (rev 02)
00:1e.0 PCI bridge: Intel Corp. 82801BA/CA/DB/EB PCI Bridge (rev 42)
00:1f.0 ISA bridge: Intel Corp. 82801CA LPC Interface Controller (rev 02)
00:1f.1 IDE interface: Intel Corp. 82801CA Ultra ATA Storage Controller (rev 02)
00:1f.3 SMBus: Intel Corp. 82801CA/CAM SMBus Controller (rev 02)
01:0c.0 VGA compatible controller: ATI Technologies Inc Rage XL (rev 27)
02:1c.0 PIC: Intel Corp. 82870P2 P64H2 I/OxAPIC (rev 04)
02:1d.0 PCI bridge: Intel Corp. 82870P2 P64H2 Hub PCI Bridge (rev 04)
02:1e.0 PIC: Intel Corp. 82870P2 P64H2 I/OxAPIC (rev 04)
02:1f.0 PCI bridge: Intel Corp. 82870P2 P64H2 Hub PCI Bridge (rev 04)
03:07.0 Ethernet controller: Intel Corp. 82546EB Gigabit Ethernet Controller (Copper) (rev 01)
03:07.1 Ethernet controller: Intel Corp. 82546EB Gigabit Ethernet Controller (Copper) (rev 01)
04:08.0 RAID bus controller: Intel Corp. RAID Controller

# cat /proc/cpuinfo 
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 15
model           : 2
model name      : Intel(R) Xeon(TM) CPU 2.80GHz
stepping        : 9
cpu MHz         : 2791.043
cache size      : 512 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss 
ht tm pbe cid
bogomips        : 5570.56

processor       : 1
vendor_id       : GenuineIntel
cpu family      : 15
model           : 2
model name      : Intel(R) Xeon(TM) CPU 2.80GHz
stepping        : 9
cpu MHz         : 2791.043
cache size      : 512 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss 
ht tm pbe cid
bogomips        : 5570.56

Basic installation is SuSE 9.0

-- 
Regards,
Stephan von Krawczynski


More information about the ENBD mailing list