July 3, 20251 yr There was a way to remove a disk from the Array (new Config and leave out the disk-to-be-removed) without parity recalculation. This is needed in order not to be exposed without parity (and protection) during a rebuild. How should I prepare the disk to be taken out? Anyone remembers the procedure?
July 3, 20251 yr Community Expert There's a script, but it usually doesn't work correctly with recent releases, you can still do it manually:https://forums.lime-technology.com/topic/61614-shrink-array-question/?tab=comments#comment-606335
July 3, 20251 yr Author Yes, I will do it manually. Did it lots of times in the past. Forgot whether the disks need to be zeroed (dd) or something else, before I re-create the Array without the disk.
July 3, 20251 yr Author Asking basically how exactly to clear (zero) the disk, before I configure it out of the Array? Everything else is clear to me.
July 3, 20251 yr Community Expert The post linked above says exactly that...Might want to use the Tmux Terminal Manager plugin to make a peristent session to run that in so it doesn't get interrupted if you accidentally close the terminal window.
July 3, 20251 yr Author 1 minute ago, starcat said:Asking basically how exactly to clear (zero) the disk, before I configure it out of the Array?Everything else is clear to me.dd bs=1M if=/dev/zero of=/dev/mdXp1 status=progressI have 6.12.10, so the above should be the right command to zero the disk, right?X is the disk number, ofc.Do I need to run dd in Maintenance Mode or not really? Edited July 3, 20251 yr by starcat
July 4, 20251 yr Community Expert Solution 7 hours ago, starcat said:I have 6.12.10, so the above should be the right command to zero the disk, right?Yes.7 hours ago, starcat said:Do I need to run dd in Maintenance ModeYes.
July 4, 20251 yr Author 11 hours ago, Kilrah said:The post linked above says exactly that...Might want to use the Tmux Terminal Manager plugin to make a peristent session to run that in so it doesn't get interrupted if you accidentally close the terminal window.yes, or run the command from a VM on another host that stays open.
July 4, 20251 yr Community Expert 2 hours ago, starcat said:yes, or run the command from a VM on another host that stays open.As long as there isn't a network fluke that interrupts the connection.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.