linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* RAID on partitions and partitions on RAID
@ 2007-07-27 21:10 Cry Regarder
  2007-07-28 20:51 ` Michal Soltys
  0 siblings, 1 reply; 11+ messages in thread
From: Cry Regarder @ 2007-07-27 21:10 UTC (permalink / raw)
  To: linux-raid

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


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2007-08-01 12:32 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-27 21:10 RAID on partitions and partitions on RAID Cry Regarder
2007-07-28 20:51 ` 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

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).