On 01/05/17 11:00, jdd@dodin.org wrote:
Hello,
I tested a new server install with three disks as raid 1. No problem so far.
But for reason not related to the hardware, I finally decided to don't use this server as main as expected and so want to reclaim some disks.
I found various but not plain clues from the net, so I simply poweroff the computer, remove the disk (easy as this one was external esata) and reboot.
The reboot is happening without any warning, yast2 do not show any problem
as the removed disk is to be reformatted anyway, is there some other thing I have to do to get a clean system in the server?
mdadm --remove /dev/sdx
I only see this in the logs:
md/raid1:md127: active with 2 out of 3 mirrors
and
Started Activate md array even though degraded
may be I can reduce boot time in some way?
Oh - and reformatting the removed drive will probably result in a very confused computer when you put it in the new computer. Or a trashed array if you put it back in the original server! Make sure you WIPE it. There's an mdadm command (--remove-superblock, I think) that will actually delete the array off the drive, or if you've got the time, "dd if=/dev/zero of=/dev/sdx" is best. Don't forget also that things like GPT keep backups now - making sure your drive is clean is no longer as simple as overwriting the first 5212 bytes of the drive. I used to do that all the time back in the days of bios and partition tables - it doesn't work any more :-( Cheers, Wol -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org