LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 06-29-2014, 05:12 AM   #1
ofirbs
LQ Newbie
 
Registered: Jun 2014
Posts: 7

Rep: Reputation: Disabled
Compare scsi port in vmware with the accual disk on the linux


I can't find a way to compare the virtual disk with the accual disk in my server.

I can't compare it with the files in /dev/disks/by-path/ because it is not accurate. In the linux i see 1:13, but in the vSphere client it is really 1:9

lets say I have alot of disks, and I want to remove /dev/sdx.
how can i trace it to the virtual disk?
Thanks.
 
Old 06-29-2014, 01:51 PM   #2
notsure
Member
 
Registered: Jun 2012
Location: Detroit
Distribution: Arch x86_64
Posts: 112

Rep: Reputation: 10
What ESX/ESXi version are you running?

In ESXi 5.0 esxcfg-scsidevs -l will show this:

Code:
~ # esxcfg-scsidevs -l
mpx.vmhba2:C0:T0:L0
   Device Type: Direct-Access 
   Size: 35190 MB
   Display Name: Local Adaptec Disk (mpx.vmhba2:C0:T0:L0)
   Multipath Plugin: NMP
   Console Device: /vmfs/devices/disks/mpx.vmhba2:C0:T0:L0
   Devfs Path: /vmfs/devices/disks/mpx.vmhba2:C0:T0:L0
   Vendor: Adaptec   Model: ESX               Revis: V1.0 
   SCSI Level: 2  Is Pseudo: false Status: on        
   Is RDM Capable: false Is Removable: false 
   Is Local: true  Is SSD: false 
   Other Names: 
      vml.0000000000766d686261323a303a30
   VAAI Status: unsupported
mpx.vmhba2:C0:T2:L0
   Device Type: Direct-Access 
   Size: 1428470 MB
   Display Name: Local Adaptec Disk (mpx.vmhba2:C0:T2:L0)
   Multipath Plugin: NMP
   Console Device: /vmfs/devices/disks/mpx.vmhba2:C0:T2:L0
   Devfs Path: /vmfs/devices/disks/mpx.vmhba2:C0:T2:L0
   Vendor: Adaptec   Model: data              Revis: V1.0 
   SCSI Level: 2  Is Pseudo: false Status: on        
   Is RDM Capable: false Is Removable: false 
   Is Local: true  Is SSD: false 
   Other Names: 
      vml.0000000000766d686261323a323a30
   VAAI Status: unsupported
mpx.vmhba4:C0:T0:L0
   Device Type: Direct-Access 
   Size: 365990 MB
   Display Name: Local Adaptec Disk (mpx.vmhba4:C0:T0:L0)
   Multipath Plugin: NMP
   Console Device: /vmfs/devices/disks/mpx.vmhba4:C0:T0:L0
   Devfs Path: /vmfs/devices/disks/mpx.vmhba4:C0:T0:L0
   Vendor: Adaptec   Model: ssd5              Revis: V1.0 
   SCSI Level: 2  Is Pseudo: false Status: on        
   Is RDM Capable: false Is Removable: false 
   Is Local: true  Is SSD: false 
   Other Names: 
      vml.0000000000766d686261343a303a30
   VAAI Status: unsupported
t10.ATA_____ST3000DM0012D1E6166__________________________________Z1F2QQZ4
   Device Type: Direct-Access 
   Size: 2861588 MB
   Display Name: Local ATA Disk (t10.ATA_____ST3000DM0012D1E6166__________________________________Z1F2QQZ4)
   Multipath Plugin: NMP
   Console Device: /vmfs/devices/disks/t10.ATA_____ST3000DM0012D1E6166__________________________________Z1F2QQZ4
   Devfs Path: /vmfs/devices/disks/t10.ATA_____ST3000DM0012D1E6166__________________________________Z1F2QQZ4
   Vendor: ATA       Model: ST3000DM001-1E61  Revis: CC45 
   SCSI Level: 5  Is Pseudo: false Status: on        
   Is RDM Capable: false Is Removable: false 
   Is Local: true  Is SSD: false 
   Other Names: 
      vml.01000000002020202020202020202020205a31463251515a34535433303030
   VAAI Status: unknown
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
question about disk space management in Linux compare to Windows xusword Linux - Newbie 3 08-29-2008 04:06 PM
Now I have a scsi hard disk, two IDE hard disk, i want install linux on scsi hard dis tecpenguin Linux - Server 4 11-10-2007 06:44 AM
LXer: How does Linux-based virtualization really compare with VMware & MS Virtual Ser LXer Syndicated Linux News 0 09-21-2007 04:50 AM
How to get SMART values for SCSI disk in Linux? Prassanta SUSE / openSUSE 1 03-15-2006 08:10 PM
Shuttle ETA Parallel port SCSI hard disk timgiffney Linux - Hardware 0 10-09-2004 04:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 06:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration