All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Bruen, Mark" <mbruen@trilegiant.com>
To: device-mapper development <dm-devel@redhat.com>
Subject: Trying to blacklist a USB memory stick
Date: Fri, 14 Jul 2006 10:38:33 -0400	[thread overview]
Message-ID: <44B7AC69.20100@trilegiant.com> (raw)

I'm trying to blacklist a USB memory stick in /etc/multipath.conf. The 
output of multipath -v4:
===== path sdar =====
bus = 1
dev_t = 66:176
size = 126976
vendor =        
product = USB DISK 2.0   
rev = 1.16
h:b:t:l = 3:0:0:0
tgt_node_name =
failed to open /dev/sdar

I've tried this with the "h:b:t:l" alone and with the "product" alone 
(neither work):

devnode_blacklist {
#   devnode "^(ram|raw|loop|fd|md|dm-|sr|scd|st|sda|sdb|hdc)[0-9]*"
    devnode "^(ram|raw|loop|fd|md|dm-|sr|scd|st|hdc)[0-9]*"
    devnode "sda "
    devnode "sdb "
    wwid 350002ac0001302c6
    wwid 350002ac0002502c6
    device {
        h:b:t:l = 3:0:0:0
        product "USB DISK 2.0"
    }
}

Any ideas? Thanks.
-Mark

             reply	other threads:[~2006-07-14 14:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-14 14:38 Bruen, Mark [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-09-30 10:47 Trying to blacklist a USB memory stick Harald_Jensas
2008-09-30 14:23 ` Konrad Rzeszutek

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=44B7AC69.20100@trilegiant.com \
    --to=mbruen@trilegiant.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.