From: Francesc Oller <francesc@startrek.upc.es>
To: linux-kernel@vger.kernel.org, debian-user@lists.debian.org
Subject: corrupted ext2 filesystem with raidtools 0.42 and nbd 1.4
Date: Thu, 3 May 2001 20:57:33 +0200 [thread overview]
Message-ID: <20010503205733.A395@startrek.upc.es> (raw)
Hi all,
I'm gathering together 15 sparse 1GB files distributed in 5 PCs with
3 files each to get a 15GB block device. I'm using nbd 1.4 and raidtools
0.42 in linear mode. Kernel is 2.2.15
I intend to use the block device as a debian archive mirror but after
some amount of successful downloading the file system gets badly corrupted
and I've to fse2ck it. I don't know whose fault it is raid?, nbd? Are
they stable enough for this kind of work? Is anybody doing similar things?
Can anybody help?
My setup is the following:
To start:
losetup /dev/loop0 .debian0
losetup /dev/loop1 .debian1
losetup /dev/loop2 .debian2
./nbd-client soft8 60200 /dev/nd0
./nbd-client soft7 60200 /dev/nd1
./nbd-client soft6 60200 /dev/nd2
./nbd-client soft5 60200 /dev/nd3
/sbin/mdadd /dev/md0 /dev/loop0 /dev/loop1 /dev/loop2 /dev/nd0 \
/dev/nd1 /dev/nd2 /dev/nd3
/sbin/mdrun -pl /dev/md0
nbd-server is started from inetd with a line:
nbd stream tcp nowait nbd /francesc0/local/bin/nbd-server nbd-server 0\
/francesc0/local/bin/.debian%%d 3072M -m
To stop:
/sbin/mdstop /dev/md0
# kill nbd-servers in soft5, soft6, soft7, soft8
losetup -d /dev/loop2
losetup -d /dev/loop1
losetup -d /dev/loop0
Cheers
Francesc Oller
reply other threads:[~2001-05-03 17:54 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20010503205733.A395@startrek.upc.es \
--to=francesc@startrek.upc.es \
--cc=debian-user@lists.debian.org \
--cc=linux-kernel@vger.kernel.org \
/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
all inboxes | Powered by JetHome®