setup-storage: Cannot determine size of /dev/cciss/c1d0 - scheme unknown

Mathieu Alorent malorent at echo.fr
Thu May 6 13:45:48 CEST 2010


Le jeudi 06 mai 2010 à 11:35 +0200, Mathieu Alorent a écrit :
> "Cannot determine size of /dev/cciss/c1d0 - scheme unknown"

Found it !

here is the patch... Hope there is no side effects.

--- usr/share/fai/setup-storage/Init.pm.orig	2010-05-06 13:37:32.000000000 +0200
+++ usr/share/fai/setup-storage/Init.pm	2010-05-06 13:36:19.000000000 +0200
@@ -182,7 +182,7 @@
     return (1, "/dev/$1", $2);
   }
   elsif ($dev =~
-    m{^/dev/(cciss/c\dd\d|ida/c\dd\d|rd/c\dd\d|ataraid/d\d|etherd/e\d+\.\d+)p(\d+)?$})
+    m{^/dev/(cciss/c\dd\d|ida/c\dd\d|rd/c\dd\d|ataraid/d\d|etherd/e\d+\.\d+)p?(\d+)?$})
   {
     defined($2) or return (1, "/dev/$1", -1);
     return (1, "/dev/$1", $2);


-- 
Mathieu Alorent
Shell&Core Sophia-Antipolis
AUSY
Pour France Telecom – DGP/PORTAILS/DOP/HÉBEX

Tél: 04 97 12 6226

malorent.ext at orange-ftgroup.com

La signature de ce mail peut être vérifiée en installant les autorités de certifications CAcert (Class1 et Class3) :
http://www.cacert.org/certs/root.crt
http://www.cacert.org/certs/class3.crt.

http://www.cacert.org/index.php?id=3
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4892 bytes
Desc: not available
Url : http://lists.uni-koeln.de/pipermail/linux-fai/attachments/20100506/ce9a736b/attachment.bin 


More information about the linux-fai mailing list