0

I have a RAID0 where I need to replace a drive and can lose the data. In order to replace it, I do:

storcli64 /c0/e1/sX set offline

storcli64 /c0/e1/sX set missing

storcli64 /c0/e1/sX spindown

then replace drive physically, delete foreign topology and insert the drive:

storcli64 /c0/v1 delete preservedCache

storcli64 /c0 /fall delete

storcli64 /c0/e1/sX insert dg=x array=y row=z

The next step is supposed to be adding the replaced disk to the virtual drive and migrating it:

storcli64 /c0/v1 start migrate type=raid0 option=add drives=0:9

However, the migration might take several days, and I just want to rebuilt or reinitialise array with full data loss.

The question is: should I delete the Virtual Drive completely in order to achieve it? Which command should I use to force fast/instant array recreation with data loss? How to reload LVM and remount disks afterwards without reboot?

Andrey Sapegin
  • 1,201
  • 2
  • 12
  • 27

0 Answers0