From: Janek Kozicki <janek_listy@wp.pl>
To: linux-raid@vger.kernel.org
Subject: very degraded RAID5, or increasing capacity by adding discs
Date: Mon, 8 Oct 2007 21:13:13 +0200 [thread overview]
Message-ID: <20071008211313.6cd8bbb5@absurd> (raw)
Hello,
Recently I started to use mdadm and I'm very impressed by its
capabilities.
I have raid0 (250+250 GB) on my workstation. And I want to have
raid5 (4*500 = 1500 GB) on my backup machine.
The backup machine currently doesn't have raid, just a single 500 GB
drive. I plan to buy more HDDs to have a bigger space for my
backups but since I cannot afford all HDDs at once I face a problem
of "expanding" an array. I'm able to add one 500 GB drive every few
months until I have all 4 drives.
But I cannot make a backup of a backup... so reformatting/copying all
data each time when I add new disc to the array is not possible for me.
Is it possible anyhow to create a "very degraded" raid array - a one
that consists of 4 drives, but has only TWO ?
This would involve some very tricky *hole* management on the block
device... A one that places holes in stripes on the block device,
until more discs are added to fill the holes. When the holes are
filled, the block device grows bigger, and with lvm I just increase
the filesystem size. This is perhaps coupled with some "unstripping"
that moves/reorganizes blocks around to fill/defragment the holes.
is it just a pipe dream?
best regards
PS: yes it's simple to make a degraded array of 3 drives, but I
cannot afford two discs at once...
--
Janek Kozicki |
next reply other threads:[~2007-10-08 19:13 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-08 19:13 Janek Kozicki [this message]
2007-10-08 19:17 ` very degraded RAID5, or increasing capacity by adding discs Justin Piszcz
2007-10-08 19:26 ` Richard Scobie
2007-10-08 20:08 ` Guy Watkins
2007-10-08 22:25 ` Janek Kozicki
2007-10-08 22:46 ` Janek Kozicki
2007-10-09 1:53 ` Guy Watkins
2007-10-09 3:32 ` Neil Brown
2007-10-09 14:44 ` Janek Kozicki
2007-10-09 14:56 ` Mr. James W. Laferriere
2007-10-09 21:52 ` Neil Brown
2007-10-08 22:52 ` Michael Tokarev
2007-10-09 3:24 ` Neil Brown
2007-10-09 9:48 ` Michael Tokarev
2007-10-22 9:03 ` Louis-David Mitterrand
2007-10-23 22:41 ` Bill Davidsen
2007-10-09 14:42 ` Janek Kozicki
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=20071008211313.6cd8bbb5@absurd \
--to=janek_listy@wp.pl \
--cc=linux-raid@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;
as well as URLs for NNTP newsgroup(s).