mdadm basic questions

martin f krafft madduck at debian.org
Wed Jan 25 22:17:37 UTC 2006


also sprach Streuli, Hans <Hans.Streuli at symbol.com> [2006.01.24.2135 +0100]:
> Went to Barnes & Nobles – looked for Debian books with chapters for mdadm. 
> Found none.

Because this topic has nothing to do with Debian, it's plain Linux.

> My situation is that someone set up /dev/md – for Raid 5.  A disk
> died (there were 3 disks total) and now the partition is dead.

Check /proc/mdstat and remove the disk from all md's that have its
partitions listed:

  mdadm --remove /dev/md3 /dev/sdb3
  mdadm --remove /dev/md4 /dev/sdb4

Change the disk, then simply readd:

  mdadm --add /dev/md3 /dev/sdb3
  mdadm --add /dev/md4 /dev/sdb4

Note, this is from memory, I don't have even mdadm(1) here right
now.

-- 
 .''`.     martin f. krafft <madduck at debian.org>
: :'  :    proud Debian developer and author: http://debiansystem.info
`. `'`
  `-  Debian - when you have better things to do than fixing a system
 
Invalid/expired PGP (sub)keys? Use subkeys.pgp.net as keyserver!
 
# vim:tw=70
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature (GPG/PGP)
Url : http://lists.alioth.debian.org/pipermail/pkg-mdadm-devel/attachments/20060125/3c1c73ba/attachment.pgp


More information about the pkg-mdadm-devel mailing list