Why duplicate disk got detected on xen Red Hat Enterprise Linux 5 guest?
Issue
- After migrating Red Hat Enterprise Linux 5 vm from vmware to oracle vm ( based on xen virtualization), disk is detected twice:
# fdisk -l
Disk /dev/hda: 85.8 GB, 85899345920 bytes
255 heads, 63 sectors/track, 10443 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 104391 83 Linux
/dev/hda2 14 10443 83778975 8e Linux LVM
Disk /dev/xvda: 85.8 GB, 85899345920 bytes
255 heads, 63 sectors/track, 10443 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/xvda1 * 1 13 104391 83 Linux
/dev/xvda2 14 10443 83778975 8e Linux LVM
pvscanis also showing same device twice:
# pvscan
Found duplicate PV SEUovxL6Ud68dTVQ2zuSJh5p5GpANf0M: using /dev/xvda2 not /dev/hda2
PV /dev/xvda2 VG vg00 lvm2 [79.88 GB / 22.88 GB free]
Total: 1 [79.88 GB] / in use: 1 [79.88 GB] / in no VG: 0 [0 ]
Environment
- Red Hat Enterprise Linux 5.11 Guest
- Xen hypervisor
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
