Re: Storage device enumeration script

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Some info can be found here https://github.com/pturmel/lsdrv

The output will typically be like this:

Controller platform [None]
 ââplatform floppy.0
    ââfd0: Empty/Unknown 4.00k
PCI [pata_jmicron] 03:00.1 IDE interface: JMicron Technology Corp. JMB362/JMB363 Serial ATA Controller (rev 02)
 ââscsi 0:x:x:x [Empty]
 ââscsi 2:x:x:x [Empty]
PCI [ahci] 03:00.0 SATA controller: JMicron Technology Corp. JMB362/JMB363 Serial ATA Controller (rev 02)
 ââscsi 12:0:0:0 ATA THROTTLE
 â  ââsdu: Empty/Unknown 7.51g
 â     ââsdu1: Empty/Unknown 243.00m
 â     â  ââMounted as /dev/sdu1 @ /boot
 â     ââsdu2: Empty/Unknown 1.00k
 â     ââsdu5: Empty/Unknown 7.27g
 â        ââdm-0: Empty/Unknown 6.90g
 â        â  ââMounted as /dev/mapper/server-root @ /
 â        ââdm-1: Empty/Unknown 368.00m
 ââscsi 13:0:0:0 ATA WDC WD10EACS-00Z
    ââsdv: Empty/Unknown 931.51g
       ââmd1: Empty/Unknown 3.64t
          ââdm-3: Empty/Unknown 3.64t
             ââMounted as /dev/mapper/big1 @ /mnt/big1
PCI [pcieport] 00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 02)
 ââscsi 15:0:0:0 ATA WDC WD20EARS-00J
 â  ââsdy: Empty/Unknown 1.82t
 â     ââsdy1: Empty/Unknown 1.82t
 â        ââmd3: Empty/Unknown 7.28t
 â           ââdm-5: Empty/Unknown 7.28t
 â              ââMounted as /dev/mapper/big3 @ /mnt/big3
 ââscsi 15:0:1:0 ATA WDC WD20EARS-00J
 â  ââsdz: Empty/Unknown 1.82t
 â     ââsdz1: Empty/Unknown 1.82t
 ââscsi 15:0:2:0 ATA WDC WD20EARS-00J
 â  ââsda: Empty/Unknown 1.82t
 â     ââsda1: Empty/Unknown 1.82t
 ââscsi 15:0:3:0 ATA WDC WD20EARS-00J
 â  ââsdw: Empty/Unknown 1.82t
 â     ââsdw1: Empty/Unknown 1.82t
 ââscsi 15:0:4:0 ATA WDC WD20EARS-00J
    ââsdae: Empty/Unknown 1.82t
       ââsdae1: Empty/Unknown 1.82t
---snip---


On Fri, 2011-05-27 at 11:45 +0100, Gordon Henderson wrote:
> On Fri, 27 May 2011, Roman Mamedov wrote:
> 
> > On Fri, 27 May 2011 08:16:07 +0800
> > Brad Campbell <brad@xxxxxxxxxxxxxxx> wrote:
> >
> >> On 27/05/11 08:13, Leslie Rhorer wrote:
> >>>>
> >>> 	I can't speak to Ubuntu, but Debian evidently does not.  I don't
> >>> know what "pvs" is, but neither bash nor Python recognize it as a file
> >>> anywhere in the path.
> >> apt-get install lvm2.
> >
> > Sure, but lsdrv shouldn't assume lvm2 is installed or require it to be
> > installed. Not everyone uses LVM, and simply installing it automatically adds
> > things to initramfs (PV/VG/LV detection?), which can slow down boot-up process.
> 
> As well as not using LVM, some of us don't even use udev... Or kernels 
> with modules...
> 
> Can someone post the output of this utility so I can see what it's 
> actually doing?
> 
> (I don't have python on all my servers either)
> 
> Cheers,
> 
> Gordon
> --
> To unsubscribe from this list: send the line "unsubscribe linux-raid" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

-- 
TorbjÃrn Skagestad
Idà Til Produkt AS
torborn@xxxxxxxx

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux