From: Cry Regarder <cry_regarder@yahoo.com>
To: linux-raid@vger.kernel.org
Subject: RAID on partitions and partitions on RAID
Date: Fri, 27 Jul 2007 21:10:12 +0000 (UTC) [thread overview]
Message-ID: <loom.20070727T225545-192@post.gmane.org> (raw)
Sentient Beings,
RAID on parititions vs. raw disks:
I built a raid-5 array with six 500gb SATA disks. For some reason which I can
no longer remember but related I suspect to hubris, I built the array directly
on the drive devices rather than making a fullsize partition. As a consequence,
I assemble the array from /dev/sd[bcdefg] instead of /dev/sd[bcdefg]1. In
reality, because my motherboard seems to like to shuffle the order of
recognition, my boot drive isn't always /dev/sda so in practice I do:
mdadm -Ac partitions -m 0 /dev/md0
When I built the array, some of the drives were virgin, some had a factory NTFS
format, and some were previously partitioned by me for linux use. The problem I
have now is twofold:
1. There are remnants of the partition tables still on the drives, despite
those partitions being meaningless.
2. I'd actually like to have clean /dev/sd?1 partitions on each drive in the
array marked with the raid identifier.
Is there away to non-destructively adjust the partition tables, or resize the
array to allow for 2.? If not, is there a good way to clean up 1. so that there
are no longer any partition tables on the drive?
Partitions on RAID:
Back to when I constructed the array, I placed an ext3 partition directly on
/dev/md0. Since construction, I have expanded the array by two disks, but have
not at this time resized the ext3 partition.
What I would like to do is put a swap partition and XFS partition into that 1TB
free space. However, I have no idea how to go about doing that. If I had
originally used LVM, it would be easy, but I had read about some performance
hits re ext3 on lvm on raid so I decided to be "simple". Any advice?
Thanks!
Cry
next reply other threads:[~2007-07-27 21:10 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-27 21:10 Cry Regarder [this message]
2007-07-28 20:51 ` RAID on partitions and partitions on RAID Michal Soltys
2007-07-28 21:42 ` Michal Soltys
2007-07-29 7:26 ` Cry Regarder
2007-07-29 19:11 ` Michal Soltys
2007-07-29 18:09 ` Is it possible to grow a RAID-10 array with mdadm? Tomas France
2007-07-30 8:48 ` Neil Brown
2007-07-30 10:24 ` Tomas France
2007-07-30 11:07 ` Neil Brown
2007-07-30 11:51 ` Tomas France
2007-08-01 12:32 ` Bill Davidsen
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=loom.20070727T225545-192@post.gmane.org \
--to=cry_regarder@yahoo.com \
--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).