From: haiquy@yahoo.com
To: pavel@atrey.karlin.mff.cuni.cz
Cc: linux-kernel@vger.kernel.org
Subject: nbd questions and problems
Date: Sun, 5 Sep 2004 12:17:07 +0000 (UTC) [thread overview]
Message-ID: <Pine.LNX.4.53.0409051154170.21075@linuxcd> (raw)
Hi,
I have just tested nbd and got touble with it.
Kernel 2.6.8.1 (from kernel.org)
nbd server and client version
When I download the latest version there are many patches under the directory
nbd but when run configure it seems not to apply any patch. No README file
to instruct anything.
So I just ./configure then make. produce nbd-client and nbd-server
The nbd kernel module is the original one from 2.6.8.1
dd if=/dev/zero of=swap bs=1M count=64
nbd-server 1024 swap
The client is a diskless ; get its root via NFS . In client I run
nbd-client 10.0.0.2 1024 /dev/nbd/0
mkswap /dev/nbd/0
swapon /dev/nbd/0
It seems fine, but when the system touch swap there are error in the kernel log
nbd0 Receive control failed result -104
and the server exited .
If I run
nbd-client 10.0.0.2 1024 /dev/nbd/0 -swap
it ask me to apply some patches to work but there is no documentation I found on net
or in the nbd tar ball tell me which patch t apply
And now if I dont use swap, I did exactly like the above and then run
mke2fs /dev/nbd/0
It immiedately gave errors like
---
nbd0: Receive control failed (result -104)
nbd0: shutting down socket
-- many other error which is because of the above one
Is there anyway to fix these? please help.
Steve Kieu
next reply other threads:[~2004-09-05 0:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-05 12:17 haiquy [this message]
2004-09-05 16:37 Paul Clements
2004-09-05 19:53 ` Steve Kieu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.LNX.4.53.0409051154170.21075@linuxcd \
--to=haiquy@yahoo.com \
--cc=linux-kernel@vger.kernel.org \
--cc=pavel@atrey.karlin.mff.cuni.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome