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 > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 02-05-2010, 07:01 AM
Hans de Goede
 
Default Don't try to specify bitmap for RAID0 since mdadm doesn't allow it. (#562023)

Ack.

On 02/05/2010 08:07 AM, David Lehman wrote:

---
storage/devices.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/storage/devices.py b/storage/devices.py
index 9e95084..fa7ab4f 100644
--- a/storage/devices.py
+++ b/storage/devices.py
@@ -2754,7 +2754,8 @@ class MDRaidArrayDevice(StorageDevice):
spares = len(self.devices) - self.memberDevices
# Figure out format specific options
metadata="1.1"
- bitmap=True
+ # bitmaps are not meaningful on raid0 according to mdadm-3.0.3
+ bitmap = self.level != 0
if getattr(self.format, "mountpoint", None) == "/boot":
metadata="1.0"
bitmap=False


_______________________________________________
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 02:44 PM.

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