From: Wakko Warner <wakko@animx.eu.org>
To: Kevin Corry <kevcorry@us.ibm.com>
Cc: linux-kernel@vger.kernel.org, EVMS <evms-devel@lists.sourceforge.net>
Subject: Re: deactivate dm disks?
Date: Tue, 16 Mar 2004 14:22:26 -0500 [thread overview]
Message-ID: <20040316142226.A13765@animx.eu.org> (raw)
In-Reply-To: <200403160917.03810.kevcorry@us.ibm.com>; from Kevin Corry on Tue, Mar 16, 2004 at 09:17:03AM -0600
> > I was playing with evms (2.2 kernel 2.6.3 vanilla) and some reason, it
> > grabbed my usb disk (sde) and won't let go of it. Is there any way I can
> > make it let go of the disk? It grabbed sde1 and sde2 of the disk.
>
> You can put entries in your /etc/evms.conf file to tell EVMS to ignore certain
> disks (e.g. if you don't want it to examine sde). See the "legacy_devices"
> section (for 2.4 kernels) and/or the "sysfs_devices" section (for 2.6
> kernels).
Ok, great, that works.
> > I tried the deactivate which just gave me an invalid argument. I really do
> > not wish to reboot this machine just to remove the usb disk.
>
> If you have the "dmsetup" tool, you can issue a "dmsetup remove_all" command
> to deactivate all the DM devices. Just make sure all the DM devices are
> unmounted, or it won't actually release the underlying disks. Dmsetup is part
> of the device-mapper package, available at ftp://sources.redhat.com/pub/dm/.
Ahh, thanks. That did the trick.
> > I also noticed it wanted to grab my partitions on sda which were already
> > mounted and couldn't grab them.
>
> Again, you can add an "exclude" entry in your /etc/evms.conf if you want EVMS
> to ignore sda. Otherwise, have a look at
> http://evms.sf.net/install/kernel.html#bdclaim
I think I'll only give it disks that I want in evms. The "sde" is a USB
disk that I move around alot.
If you're not the right person to ask, please direct me to someone else.
I was going to do a raid5 across a few disks (this is in the future not
now). Is there any way to add disks to that raid5 using evms?
--
Lab tests show that use of micro$oft causes cancer in lab animals
next prev parent reply other threads:[~2004-03-16 19:13 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-16 1:56 Wakko Warner
2004-03-16 15:17 ` Kevin Corry
2004-03-16 19:22 ` Wakko Warner [this message]
2004-03-16 19:58 ` [Evms-devel] " Kevin Corry
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=20040316142226.A13765@animx.eu.org \
--to=wakko@animx.eu.org \
--cc=evms-devel@lists.sourceforge.net \
--cc=kevcorry@us.ibm.com \
--cc=linux-kernel@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®