Project

General

Profile

Bug #11612

Updated by Loïc Dachary almost 9 years ago

* master https://github.com/ceph/ceph/pull/4751 https://github.com/ceph/ceph/pull/4397 

 Because the regular expression is incorrect in ceph-disk, it should be 
 <pre> 
     if 'loop' in dev or 'cciss' in dev: 
         (base, partnum) = re.match('(.*\d+)p(\d+)', dev).group(1, 2) 
     else: 
         (base, partnum) = re.match('(\D+)(\d+)', dev).group(1, 2) 
 </pre>

Back