linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Nelson, Doug" <doug.nelson@intel.com>
To: Paolo Bonzini <pbonzini@redhat.com>
Cc: Matthew Wilcox <willy@linux.intel.com>,
	Linus Torvalds <torvalds@linux-foundation.org>,
	linux-kernel@vger.kernel.org
Subject: Re: scsi_id: sending ioctl 2285 to a partition
Date: Fri, 10 Feb 2012 15:47:01 -0800	[thread overview]
Message-ID: <4F35AC75.5090703@intel.com> (raw)
In-Reply-To: <4F3584AF.6030601@redhat.com>

On 02/10/2012 12:57 PM, Paolo Bonzini wrote:
> On 02/10/2012 08:47 PM, Nelson, Doug wrote:
>>>>> # scsi devices
>>>>> KERNEL=="sd*[!0-9]|sr*", ENV{ID_SERIAL}!="?*",
>>>>> IMPORT{program}="scsi_id --export --whitelisted -d $tempnode",
>>>>> ENV{ID_BUS}="scsi"
>>>>
>>>> The rule I had was not excluding partitions.   I'll fix that and try
>>>> again.
>>>
>>> So was it a custom rule, or it came with the distro?
>>>
>>
>> It's a custom rule we've been using for a long time to rename our 672 x
>> ssd's.
>
> Can you post the whole snippet?

Here's what I had in 20-local.rules

KERNEL=="sd*", BUS=="scsi", PROGRAM="scsi_id --whitelisted -d 
$tempnode", ENV{ID_BUS}="scsi"

BUS=="scsi", RESULT=="3500151795924153d", NAME="disk-r1e1-d1s%n", 
GROUP:="dba", OWNER:="oracle"
BUS=="scsi", RESULT=="35001517959269241", NAME="disk-r1e1-d2s%n", 
GROUP:="dba", OWNER:="oracle"
BUS=="scsi", RESULT=="3500151795926930d", NAME="disk-r1e1-d3s%n", 
GROUP:="dba", OWNER:="oracle"



>
> Paolo


  reply	other threads:[~2012-02-10 23:42 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-09 20:29 scsi_id: sending ioctl 2285 to a partition Matthew Wilcox
2012-02-09 20:42 ` Linus Torvalds
2012-02-09 21:00   ` Matthew Wilcox
2012-02-09 21:11     ` Linus Torvalds
2012-02-10  8:17     ` Paolo Bonzini
2012-02-10 16:10       ` Linus Torvalds
2012-02-10 16:25         ` Paolo Bonzini
2012-02-10 17:23       ` Nelson, Doug
2012-02-10 19:40         ` Paolo Bonzini
2012-02-10 19:41           ` Paolo Bonzini
2012-02-10 19:47           ` Nelson, Doug
2012-02-10 20:57             ` Paolo Bonzini
2012-02-10 23:47               ` Nelson, Doug [this message]
2012-02-11  8:39                 ` Paolo Bonzini
2012-02-11 11:07       ` Kay Sievers
  -- strict thread matches above, loose matches on Subject: below --
2012-02-10 20:43 Alan Stern
2012-02-10 20:52 ` Paolo Bonzini

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=4F35AC75.5090703@intel.com \
    --to=doug.nelson@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pbonzini@redhat.com \
    --cc=torvalds@linux-foundation.org \
    --cc=willy@linux.intel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).