fixed bug. Strictly checking the disks state.