[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Software RAID w/ mdadm -- Need Partitions?



On Thu, Feb 26, 2009 at 01:22:08AM +0000, Kelly Harding wrote:
> 2009/2/26 Kelly Harding <kelly.harding@gmail.com>:
> > 2009/2/25 Owen Townend <owen.townend@gmail.com>:
> >> Hal Vaughan wrote:
> >>> I've created RAIDs in the past where I just used the entire drive and
> >>> ones where I created a single partition on the drives and used the
> >>> partition.  It seems that there is no real difference in behavior.
> >>>
> >>> If I'm planning on using a drive for a RAID, is there any reason I
> >>> should create a single partition spanning the entire drive and using
> >>> that instead of just using the drive in its entirety for the RAID?
> >>>
> 
> I've used RAID5 with the raid mounted from /dev/md0 with XFS
> filesystem directly on it, without issues.
> 
> This works fine for large media volumes.
> 
> My intention is to move /home to a RAID1 with LVM on top so I can
> change the size of the partitions on top of the RAID array and have it
> split into more than just /home should I feel th eneed.
> 
> Also, with Linux Software RAID, you can convert the metadata of RAID1
> to RAID5 to expand a 2 drive RAID1 mirrored array to a 2 drive RAID5
> degraded array to add another drive to later. I've done this multiple
> times and had no problems with it.

I thought it wasn't possible to convert raid type. sure it wasn't a
degraded raid5 you started with ?


from man mdadm

Grow   Grow (or shrink) an array, or otherwise reshape it in some way.
Currently supported growth options including changing the active size of



-l, --level=
              Set raid level.  When used with --create, options are:
linear, raid0, 0, stripe, raid1, 1, mirror, raid4, 4, raid5, 5, raid6,
6,  raid10,
              10, multipath, mp, faulty.  Obviously some of these are
synonymous.

              When used with --build, only linear, stripe, raid0, 0,
raid1, multipath, mp, and faulty are valid.

              Not yet supported with --grow.

the last line being the pertinent one

> 
> Kelly
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 
> 

-- 
"Peter.  Are you going to ask that question with shades on?"

	- George W. Bush
06/14/2006
Washington, DC
comment to legally blind reporter, Peter Wallsten (Bush later apologized)

Attachment: signature.asc
Description: Digital signature


Reply to: