FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo Development

 
 
LinkBack Thread Tools
 
Old 03-18-2009, 02:32 PM
Chris Lumens
 
Default Do not hang when creating raid array with member having filesystem detected (#490891)

> diff --git a/storage/devicelibs/mdraid.py b/storage/devicelibs/mdraid.py
> index a1a40d2..d02b6ea 100644
> --- a/storage/devicelibs/mdraid.py
> +++ b/storage/devicelibs/mdraid.py
> @@ -101,7 +101,7 @@ def get_raid_max_spares(raidlevel, nummembers):
> raise ValueError, "invalid raid level %d" % raidlevel
>
> def mdcreate(device, level, disks, spares=0):
> - argv = ["--create", device, "--level", str(level)]
> + argv = ["--create", device, "--run", "--level", str(level)]
> raid_devs = len(disks) - spares
> argv.append("--raid-devices=%d" % raid_devs)
> if spares:

I tried to send off a patch to do this, but apparently the mail server
hates me today. Looks good.

- Chris

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 08:24 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org