Bug #42

avatar

einarc

Added by Nikola Ciprich 2700 days ago. Updated 1487 days ago.

Status:Assigned Start:07/03/2010
Priority:Normal Due date:
Assigned to:avatarMikhail Yakshin % Done:

0%

Category:-
Target version:2.1

Description

list_volumesets function in areca.rb does not match volumesets when raidset is named differently then "Raid Set # nn".
thus "einarc -t areca logical list" then doesn't display all volumes.

the

next unless m = /^\s+(\d+)\s+(\S+)\s+Raid Set #\s+(\d+)\s+(\S+)\s+(\S+)\s+(\S+)\s+(\S+).*$/.match(l)

snippet should rather be something like

next unless m = /^\s+(\d+)\s+(\S+)\s+(.*)\s+(\S+)\s+(\S+)\s+(\S+)\s+(\S+).*$/.match(l)

but then also :raidset => m[3].to_i needs to be fixed, I'm not ruby programmer, so I can't provide complete patch, sorry.

History

Updated by Mikhail Yakshin 2700 days ago

avatar
  • Status changed from New to Assigned
  • Assigned to set to Mikhail Yakshin

Thanks for the report! I'll try to fix it soon.

Updated by Mikhail Yakshin 1487 days ago

avatar
  • Target version changed from 1.4 to 2.1

Fixed formatting, postponed fix to 2.1

Also available in: Atom PDF