[ENBD] Problem with mkfs on enbd
Stephan von Krawczynski
skraw at ithnet.com
Tue Jan 3 12:06:35 MST 2006
On Tue, 3 Jan 2006 19:41:35 +0100 (MET)
"Peter T. Breuer" <ptb at inv.it.uc3m.es> wrote:
> "Also sprach Stephan von Krawczynski:"
> > Sorry for this dumb question:
> > where do I set the blocksize parameter? enbd-client or enbd-server ?
>
> Dunno! I was hoping you could tell me that! It's -b, so I guess I have
> to look in the manual to see which one has that option ... the server
> has it ... and the client ... therefore the answer is "both". I think
> the larger of the two offers will be agreed upon. In retrospect, that
> is not such a good idea.
>
> All vote for me to change "max" to "min" in the code? Say "Aye"!
>
> > Currently I have enbdclient -b 4096 ...
>
> Well, you want 512, I think.
So basically I should set both client and server to the same value. Currently
server is unset and client is -b 4096.
The idea of 4096 comes from fdisk and mkreiserfs both telling a blocksize of
4096 ...
> > Well, you got me. Actually I don't know exactly. I remember though that it
> > was a matter of 10-20 minutes.
>
> OK, so long as it wasn't the "5s" stated above! That must just be the
> seek test. If it took 5m (300s) for each test, and you said, I think, you
> used 10GB, then that would be 30MB/s, which seems correct to me.
I guess you are right here.
> > > > 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
>
> Yes, but what arch? The above is the kernel string. Is it 64 bit or 32
> bit, I am asking. The string says "SMP" - is that really the case?
>
> >
> > Hardware is an Intel box with Intel Raid Controller:
>
> Raid? And you are using softraid.
Maybe I should further explain the idea:
I have two such boxes both configured a scsi raid 1 of around 140 GB size.
Now I want those two combined to a softraid 1 over enbd.
So if one box completely collapses the data is safe in another room on another
box. What we are trying to do is prevent data loss in case of burnt-down house.
>
> > processor : 0
> > vendor_id : GenuineIntel
> > cpu family : 15
> > model : 2
> > model name : Intel(R) Xeon(TM) CPU 2.80GHz
>
> Aaaaaaaaaaaaarggggg.. Xeon. I don't suppose that would be 64 bit,
> would it? yess it is. And I don't have a hope of emulating that
> platform.
Hm, the kernel is compiled as pentium-4 compatible i386 SMP arch. I guess that
is what the last "i386" in "uname -a" output above should say. Sorry for not
making that clear last time.
--
Regards,
Stephan von Krawczynski
More information about the ENBD
mailing list