> 在 Sat, 21 Jul 2012 06:31:54 +0800,James Bottomley
> <James.Bottomley@xxxxxxxxxxxxxxxxxxxxx> 写道:
>
> > On Fri, 2012-07-20 at 16:24 +0800, gaoqiang wrote:
> >> I'm using udev to manage my hard disks. but I'm confusing
> >> about the "PATH_ID"
> >>
> >> gaoqiang@h150:~$/lib/udev/path_id /block/sda
> >> ID_PATH=pci-0000:01:00.0-scsi-0:0:0:0
> >>
> >> the path_id is about disk or about disk slot ?
> >
> > Neither: it's pci function and scsi host:channel:target:lun
> >
> > As far as I can tell, path_id returns are completely useless for
> > labelling disks (since host and sometimes target are scan order
> > dependent).
> >
> > James
> >
> >
>
> I know the host:channel:target:lun but not deeply. the "lun" is about a
> disk, or a disk slot?
> I mean,if I take the disk on a slot and plug in a new disk,will the
> ID_PATH change,or not ?
>
> many thanks.
>
[Jack Wang] It depends on driver implement. Driver base on
scsi_transport_sas(like mpt2sas pm8001 isci..)the number always get bigger,
but some driver bind the lun number with topology like phy number.
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[SCSI Target Devel]
[Linux SCSI Target Infrastructure]
[Kernel Newbies]
[Share Photos]
[IDE]
[Security]
[Git]
[Netfilter]
[Bugtraq]
[Photos]
[Yosemite]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Linux ATA RAID]
[Linux IIO]
[Samba]
[Video 4 Linux]
[Device Mapper]
[Linux Resources]