All of lore.kernel.org
 help / color / mirror / Atom feed
From: malahal@us.ibm.com
To: dm-devel@redhat.com
Subject: Re: Questin about device mapper, Debian and devices
Date: Mon, 9 Jun 2008 07:53:18 -0700	[thread overview]
Message-ID: <20080609145318.GA26029@us.ibm.com> (raw)
In-Reply-To: <454237550806090308j20a29e58w7dc22b89ce055e5@mail.gmail.com>

January Weiner [january@uni-muenster.de] wrote:
> Hello,
> 
> I am running a server with Debian stable. After a recent automatic
> update and an unrelated reboot suddenly I could not mount some of my
> hard disks any more. For example,
> 
> mount /dev/sda1 /mnt
> 
> gave me
> 
> mount: /dev/sda1 already mounted or /mnt busy
> 
> It took me quite a while to figure out that it is the device mapper
> that makes /dev/sda1 busy. For whatever reason, there are now the
> files /dev/dm-0, /dev/dm-1 and /dev/dm-2 that correspond to /dev/sda,
> /dev/sda1 and /dev/sda2. I assume they have been created by the dev
> mapper. The server has been running for ages, has a relatively complex
> setup and has been through a number of configurations. However, I
> never really used dev mapper.
> 
> My questions are as follows:
> 
> 1) does dev mapper somehow automatically gets hold of my /dev/sda, or
> is there a configuration file somewhere (maybe a stale configuration
> that got used after the update? I used to have an lvm, but I got rid
> of it. Never on purpose used multipath-tools or dm-crypt). My
> suspicion is that it is due to multipath, as multipath -l shows
> 
> 3600d0230006c1c550bdc214a99d0c000dm-0 Transtec,PV610F16R1B
> [size=2.7T][features=0][hwhandler=0]
> \_ round-robin 0 [prio=0][active]
>  \_ 3:0:0:0 sda 8:0   [active][undef]
> 
> ...but I never told multipath to do that! Running multipath -v 3 -l
> shows that there are some disks that are "blacklisted":
> 
> cciss!c0d0: blacklisted
> cciss!c0d1: blacklisted
> dm-0: blacklisted
> dm-1: blacklisted
> dm-2: blacklisted
> fd0: blacklisted
> ...
> 
> Are they blacklisted automatically or is there a way to do it manually?

Remove /etc/multipath.conf file if you have. Same file can be used to
blacklist if you want to apply multipath to exclude few devices.

  reply	other threads:[~2008-06-09 14:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-09 10:08 Questin about device mapper, Debian and devices January Weiner
2008-06-09 14:53 ` malahal [this message]
2008-06-09 15:42   ` January Weiner
2008-06-09 16:22     ` malahal
2008-06-12  8:44 ` Guido Günther

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=20080609145318.GA26029@us.ibm.com \
    --to=malahal@us.ibm.com \
    --cc=dm-devel@redhat.com \
    /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.