Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #181105

Re: SATA hotplug + mdadm raid

From Sam Smith <debian@net153.net>
Newsgroups linux.debian.user
Subject Re: SATA hotplug + mdadm raid
Date 2017-05-18 22:00 +0200
Message-ID <tIzKy-7VB-5@gated-at.bofh.it> (permalink)
References <tIwMG-5iy-27@gated-at.bofh.it> <tIxz4-5R2-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 05/18/2017 12:30 PM, Dan Ritter wrote:
>
> It doesn't matter that much. Use this:
>
> mdadm --fail /dev/md0 /dev/sda1
> mdadm --remove /dev/md0 /dev/sda1
> mdadm --add /dev/md0 /dev/whatever1
>
> then check on progress with cat /proc/mdstat
>
> -dsr-
>


Ok, I just went ahead and yanked the drive and stuck the other one in. 
It actually came up as sda, probably because I had previously used dd to 
copy the first 1G onto it from the old drive. I partitioned it and added 
it to the array, all is well now.

Thanks,

Samuel Smith

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

SATA hotplug + mdadm raid Sam Smith <debian@net153.net> - 2017-05-18 18:50 +0200
  Re: SATA hotplug + mdadm raid Dan Ritter <dsr@randomstring.org> - 2017-05-18 19:40 +0200
    Re: SATA hotplug + mdadm raid Sam Smith <debian@net153.net> - 2017-05-18 22:00 +0200
  Re: SATA hotplug + mdadm raid Andy Smith <andy@strugglers.net> - 2017-05-18 19:40 +0200
  Re: SATA hotplug + mdadm raid deloptes <deloptes@gmail.com> - 2017-05-18 23:30 +0200

csiph-web