[Iprdd-devel] [PATCH v2 2/2] iprutils: Fail query-raid-create/delete if device is not an IOA.

2016-02-09 Thread Gabriel Krisman Bertazi
iprconfig man page requires an IOA to be passed to query-raid-create and query-raid-delete. Right now, iprconfig doesn't enforce it, allowing disk devices to be passed as parameters, which is confusing. I found that when playing with raid initialization code. Let's fix it. Signed-off-by: Gabriel

[Iprdd-devel] [PATCH v2 1/2] iprutils: Show RAID initialization in get_status.

2016-02-09 Thread Gabriel Krisman Bertazi
Detect when a RAID is going through initialization process after creation to display the progress in get_status. Now, the 'initializing' state will be shown in 'show-config', for instance when creating a RAID 0 from a device assumed to be non-zeroed, it will show as "X% Initializing" during DIF in

Re: [Iprdd-devel] [PATCH v2 1/2] iprutils: Show RAID initialization in get_status.

2016-02-09 Thread Gabriel Krisman Bertazi
Gabriel Krisman Bertazi writes: > Detect when a RAID is going through initialization process after > creation to display the progress in get_status. Now, the 'initializing' > state will be shown in 'show-config', for instance when creating a RAID > 0 from a device assumed to be non-zeroed, it wi