Adds a new --force-device option to allow to fix with disk with same device ID.

This commit is contained in:
Andrea Mazzoleni 2013-07-26 14:50:52 +02:00
parent 4c8b79b13c
commit d8870cdd42
6 changed files with 49 additions and 10 deletions

View file

@ -18,7 +18,7 @@ snapraid [\(hyc, \(hy\(hyconf CONFIG]
.PD 0
.PP
.PD
[\(hyZ, \(hy\(hyforce\(hyzero] [\(hyE, \(hy\(hyforce\(hyempty] [\(hyU, \(hy\(hyforce\(hyuuid]
[\(hyZ, \(hy\(hyforce\(hyzero] [\(hyE, \(hy\(hyforce\(hyempty] [\(hyU, \(hy\(hyforce\(hyuuid] [\(hyD, \(hy\(hyforce\(hydevice]
.PD 0
.PP
.PD
@ -559,6 +559,15 @@ the normal case of replacing disks.
This option can be used only with the \(a"sync\(a", \(a"check\(a" or
\(a"fix\(a" command.
.TP
.B \(hyD, \(hy\(hyforce\(hydevice
Forces the insecure operation of fixing with disks on the same
physical device.
If SnapRAID detects that two disks have the same device ID,
it stops proceeding, because it\(cqs not a supported configuration.
But it could happen what you want to temporarely restore a lost
disk in the free space left in an already used disk. and this
option will allow you to continue anyway.
.TP
.B \(hys, \(hy\(hystart BLKSTART
Starts the processing from the specified
block number. It could be useful to easy retry to check