From: "Tomáš Dulík" <dulik@unart.cz>
To: Neil Brown <neilb@suse.de>
Cc: Doug Ledford <dledford@redhat.com>,
Linux RAID Mailing List <linux-raid@vger.kernel.org>
Subject: Re: [Patch mdadm] Add hot-unplug support to mdadm
Date: Thu, 15 Apr 2010 15:11:18 +0200 [thread overview]
Message-ID: <4BC71076.4090603@unart.cz> (raw)
In-Reply-To: <20100415152416.4339c7e6@notabene.brown>
Neil Brown napsal(a):
> This is not corrrect. You can removed disconnected devices with:
>
> mdadm /dev/mdx --fail detached --remove detached
>
> will fail, then remove, all component devices on /dev/mdx which
> have been detached from the system.
> This has been possible since about 2.6.2.
>
Well, this is another great thing I overlooked in the manual.
Using this feature and some tiny scripts, I am now able to do fully
automatic hot-unplug even with the old mdadm which came with my
distribution:
https://raid.wiki.kernel.org/index.php/Hotplug#Fully_automated_hotplug_and_hot-unplug_using_UDEV_rules
Very cool, thanks for your help!
Tomas
next prev parent reply other threads:[~2010-04-15 13:11 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-05 16:40 [Patch mdadm] Add hot-unplug support to mdadm Doug Ledford
2010-04-06 16:26 ` Doug Ledford
2010-04-07 1:30 ` Neil Brown
2010-04-07 2:02 ` Doug Ledford
2010-04-07 2:24 ` Doug Ledford
2010-04-07 3:07 ` Doug Ledford
2010-04-07 5:32 ` Luca Berra
2010-04-07 6:59 ` Neil Brown
2010-04-08 23:31 ` Neil Brown
2010-04-09 0:33 ` Neil Brown
2010-04-09 20:02 ` Doug Ledford
2010-04-13 9:28 ` Tomáš Dulík
2010-04-13 16:27 ` Doug Ledford
2010-04-13 18:49 ` Doug Ledford
[not found] ` <4BC5ADB2.2060705@unart.cz>
2010-04-15 5:24 ` Neil Brown
2010-04-15 13:11 ` Tomáš Dulík [this message]
2010-04-13 19:04 ` Doug Ledford
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4BC71076.4090603@unart.cz \
--to=dulik@unart.cz \
--cc=dledford@redhat.com \
--cc=linux-raid@vger.kernel.org \
--cc=neilb@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.