Bug 1207998

Summary: worldwide name (WWN) for storage need to be uniquely identifiable
Product: Red Hat Enterprise Linux 7 Reporter: Sibiao Luo <sluo>
Component: qemu-kvm-rhevAssignee: Virtualization Maintenance <virt-maint>
Status: CLOSED DUPLICATE QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.2CC: bsarathy, chayang, famz, juzhang, kwolf, michen, mkenneth, pbonzini, qzhang, rbalakri, virt-bugs, virt-maint, xfu
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1207993
: 1208009 (view as bug list) Environment:
Last Closed: 2015-04-01 10:02:14 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1207993    
Bug Blocks: 1208009    

Comment 1 Sibiao Luo 2015-04-01 07:49:44 UTC
host info:
# uname -r && rpm -q qemu-kvm-rhev
3.10.0-234.el7.x86_64
qemu-kvm-rhev-2.2.0-5.el7.x86_64

e.g:...-drive file=/home/RHEL-Server-7.1-64-virtio.qcow2,if=none,id=drive-system-disk,format=qcow2,cache=none,aio=native,werror=stop,rerror=stop -device virtio-scsi-pci,bus=pci.0,addr=0x4,id=scsi0 -device scsi-hd,drive=drive-system-disk,id=system-disk,bus=scsi0.0,scsi-id=0,lun=0,channel=0,wwn=0x5000c50015ea71aa,bootindex=1 ...-drive file=/home/my-data-disk.raw,if=none,id=drive-data-disk,format=raw,cache=none,aio=native,werror=stop,rerror=stop -device scsi-hd,drive=drive-data-disk,id=data-disk,bus=scsi0.0,scsi-id=1,lun=0,channel=0,wwn=0x5000c50015ea71aa

# ls -lh /dev/disk/by-id/*
lrwxrwxrwx. 1 root root  9 Apr  1 23:37 /dev/disk/by-id/ata-QEMU_DVD-ROM_QM00003 -> ../../sr0
lrwxrwxrwx. 1 root root 10 Apr  1 23:37 /dev/disk/by-id/dm-name-rhel_virtlab--66--84--70-root -> ../../dm-0
lrwxrwxrwx. 1 root root 10 Apr  1 23:37 /dev/disk/by-id/dm-name-rhel_virtlab--66--84--70-swap -> ../../dm-1
lrwxrwxrwx. 1 root root 10 Apr  1 23:37 /dev/disk/by-id/dm-uuid-LVM-oC3wUMLZfV0nJjVMBEYlJXvghzZqWmzq7JXiK5gbXTMefsXcxk8jspBEMYZ4lIRv -> ../../dm-1
lrwxrwxrwx. 1 root root 10 Apr  1 23:37 /dev/disk/by-id/dm-uuid-LVM-oC3wUMLZfV0nJjVMBEYlJXvghzZqWmzqHtfgXqSBjyKpLHJWAPA3Zvg54FjydfnQ -> ../../dm-0
lrwxrwxrwx. 1 root root 10 Apr  1 23:37 /dev/disk/by-id/lvm-pv-uuid-GRGN0n-KCDl-6k1E-wgjc-zbdy-dxtz-N97p0p -> ../../sda2
lrwxrwxrwx. 1 root root  9 Apr  1 23:37 /dev/disk/by-id/scsi-35000c50015ea71aa -> ../../sda
lrwxrwxrwx. 1 root root 10 Apr  1 23:37 /dev/disk/by-id/scsi-35000c50015ea71aa-part1 -> ../../sda1
lrwxrwxrwx. 1 root root 10 Apr  1 23:37 /dev/disk/by-id/scsi-35000c50015ea71aa-part2 -> ../../sda2
lrwxrwxrwx. 1 root root  9 Apr  1 23:37 /dev/disk/by-id/wwn-0x5000c50015ea71aa -> ../../sda
lrwxrwxrwx. 1 root root 10 Apr  1 23:37 /dev/disk/by-id/wwn-0x5000c50015ea71aa-part1 -> ../../sda1
lrwxrwxrwx. 1 root root 10 Apr  1 23:37 /dev/disk/by-id/wwn-0x5000c50015ea71aa-part2 -> ../../sda2

Comment 2 Paolo Bonzini 2015-04-01 10:02:14 UTC
Moved to libvirt, which doesn't have RHEL/RHEV differentiation.

*** This bug has been marked as a duplicate of bug 1208009 ***