VirtualBox

Opened 8 years ago

#15842 new defect

Error with VBoxManage internalcommands createrawvmdk on SAS 4K block size drive.

Reported by: michelparis Owned by:
Component: virtual disk Version: VirtualBox 5.1.4
Keywords: raw disk VMDK problem Cc: tr14@…
Guest type: Linux Host type: Linux

Description

  • The host (and guests) are under Ubuntu 16.04.1 LTS.
  • My system has 2 X SAMSUNG MZ7KM480 SSD and 6 X SEAGATE Model: ST1000NX0323. I can create virtual drive on SSD drives without any problem but it does NOT work on SAS drives. The problem is the same with DOS or GPT format.
  • The user is in vboxusers and disk groups.
  • Partitions are readable with the dd command.

ma@X10DRi:~$ VBoxManage internalcommands createrawvmdk -filename /export/VirtualBox/VMs/VM-A1/lvdatah6.vmdk -rawdisk /dev/sdh -partitions 6 VBoxManage: error: Logical partition without magic VBoxManage: error: Cannot read the partition information from '/dev/sdh' VBoxManage: error: The raw disk vmdk file was not created ma@X10DRi:~$ fdisk -l /dev/sdh Disk /dev/sdh: 931,5 GiB, 1000204886016 bytes, 244190646 sectors Units: sectors of 1 * 4096 = 4096 bytes Sector size (logical/physical): 4096 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disklabel type: dos Disk identifier: 0x44def683

Device Boot Start End Sectors Size Id Type /dev/sdh1 256 244190645 244190390 931,5G 5 Extended /dev/sdh5 512 52429311 52428800 200G 83 Linux /dev/sdh6 52429568 55051007 2621440 10G 83 Linux

ma@X10DRi:~$ VBoxManage internalcommands createrawvmdk -filename /export/VirtualBox/VMs/VM-A1/lvdataf6.vmdk -rawdisk /dev/sdf -partitions 6 VBoxManage: error: Cannot read the partition information from '/dev/sdf' VBoxManage: error: The raw disk vmdk file was not created

ma@X10DRi:~$ fdisk -l /dev/sdf Disk /dev/sdf: 931,5 GiB, 1000204886016 bytes, 244190646 sectors Units: sectors of 1 * 4096 = 4096 bytes Sector size (logical/physical): 4096 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disklabel type: gpt Disk identifier: 3D5F9AA3-AA3D-49E4-88B7-1E9CD35FFDF8

Device Start End Sectors Size Type /dev/sdf5 512 52429311 52428800 200G Linux LVM /dev/sdf6 52429568 55051007 2621440 10G Linux filesystem

# # The behavior is exactly the same with the root user. #

  • hdparm works well with our SSD drive seems NOT to be working with our ST1000NX0323 drives
  • smartctl works well on our both type of drives

Change History (0)

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use