From: js <forums@emat.be>
To: linux-lvm@redhat.com
Subject: [linux-lvm] Flexible storga: LVM setup on top of mdadm sets. Good idea or not?
Date: Sun, 22 Jul 2007 18:50:46 +0200 [thread overview]
Message-ID: <46A38AE6.3070805@emat.be> (raw)
Hi list,
I'm looking into making a home brewed nas setup. This is not a
production, highly critical environment.
The result needs to be 1 continuous physical storage space.
Expandable without reformating, removing data, etc,..
Acceptable redundancy.
I don't mind 50% loss of data capacity because of raid 1. Storage is
(relatively) cheap.
I don't have this material to test. So it's more like a theoretical setup.
I was thinking of creating sets of mdadm RAID 1 setups and unify these
raid 1 devices with lvm2 into 1 big logical volume which is resizeable.
For example:
I have 4 identical 250 GB sata2 disks.
I use mdadm to create:
/dev/md0 raid1 consisting out of /dev/sda1 and /dev/sdb1.
/dev/md1 raid1 consisting out of /dev/sdc1 and /dev/sdd1.
Then I would like to:
create LVM physical volumes out of /dev/md0 and /dev/md1.
create a LVM volume group named storage consisting out of LVM physical
device /dev/md0 and /dev/md1
create a LVM logical volume that covers the maximum size of the LVM
volume group which should be around 500GB.
create a filesystem on this LVM logical volume such as ext3.
Now when I need more storage:
I add 2 250GB sata2 disks.
I create a new raid1 /dev/md2 consisting out of /dev/sde1 and /dev/sdf1
Create a LVM physical volume out of /dev/md2.
Add the /dev/md2 LVM physical volume to the LVM volume group.
expand the LVM logical volume so it becomes around 750GB in size.
resize the EXT3 filesystem.
Now my question to you is. Is this completely bunkers? Or is it
reasonable?
Any tips, tricks, advice, comments welcome.
Thanks,
js
next reply other threads:[~2007-07-22 16:50 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-22 16:50 js [this message]
2007-07-22 18:57 ` [linux-lvm] Flexible storga: LVM setup on top of mdadm sets. Good idea or not? Stuart D. Gathman
2007-07-23 7:23 ` Luca Berra
2007-07-23 16:43 ` Stuart D. Gathman
2007-07-24 8:48 ` Luca Berra
2007-07-24 1:44 ` Stuart D. Gathman
2007-07-24 9:13 ` Bryn M. Reeves
2007-08-21 0:33 ` Stuart D. Gathman
2007-08-21 6:52 ` Luca Berra
2007-08-21 14:11 ` Stuart D. Gathman
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=46A38AE6.3070805@emat.be \
--to=forums@emat.be \
--cc=linux-lvm@redhat.com \
/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).