first post, i hope Ive included enough info
system specs:
HPE dl380p gen8
ibm m5110 (9207-8i)
120gb sata sdd
2x 4tb seagate sas hdd
3tb wd black sata hdd
Goal: to pass the 2 sas hdd and 1 sata hdd through proxmox to a vm
Results : sata hdd passes through, sas hdd not found
Gui: sas device show up as device /dev/sdd/ & /dev/sde, type = unknown, smart = ok
GUi Test: zfs->create zfs: drives shows up as available.
Result: # /sbin/zpool create -o ashift=12 backups mirror /dev/disk/by-id/scsi-35000c50058fb9147 /dev/disk/by-id/scsi-35000c50058fbc697
cannot label 'sdd': failed to detect device partitions on '/dev/sdd1': 19
TASK ERROR: command '/sbin/zpool create -o 'ashift=12' backups mirror /dev/disk/by-id/scsi-35000c50058fb9147 /dev/disk/by-id/scsi-35000c50058fbc697' failed: exit code 1
Ssh test to pass through drive to vm :
apt-get install lshw the to drives
lshw -class disk -class storage
cd /dev/disk/by-id
ls -l
#results:
lrwxrwxrwx 1 root root 9 Aug 23 21:39 ata-ST3000DM001-9YN166_W1F2J0JM -> ../../sdc
lrwxrwxrwx 1 root root 10 Aug 23 21:39 ata-ST3000DM001-9YN166_W1F2J0JM-part1 -> ../../sdc1
lrwxrwxrwx 1 root root 10 Aug 23 21:39 ata-ST3000DM001-9YN166_W1F2J0JM-part2 -> ../../sdc2
lrwxrwxrwx 1 root root 9 Aug 23 21:36 ata-WDC_WDS120G2G0A-00JH30_20398D803569 -> ../../sda
lrwxrwxrwx 1 root root 10 Aug 23 21:36 ata-WDC_WDS120G2G0A-00JH30_20398D803569-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Aug 23 21:36 ata-WDC_WDS120G2G0A-00JH30_20398D803569-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Aug 23 21:36 ata-WDC_WDS120G2G0A-00JH30_20398D803569-part3 -> ../../sda3
lrwxrwxrwx 1 root root 9 Aug 23 21:36 ata-WDC_WDS120G2G0A-00JH30_20399C803261 -> ../../sdb
lrwxrwxrwx 1 root root 10 Aug 23 21:36 ata-WDC_WDS120G2G0A-00JH30_20399C803261-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Aug 23 21:36 ata-WDC_WDS120G2G0A-00JH30_20399C803261-part2 -> ../../sdb2
lrwxrwxrwx 1 root root 10 Aug 23 21:36 ata-WDC_WDS120G2G0A-00JH30_20399C803261-part3 -> ../../sdb3
lrwxrwxrwx 1 root root 12 Aug 23 21:36 lvm-pv-uuid-NmRiLR-pcU5-jOdu-B8fX-JdBs-c4wo-xQAyFj -> ../../zd16p3
lrwxrwxrwx 1 root root 9 Aug 23 21:36 scsi-35000c50058fb9147 -> ../../sdd
lrwxrwxrwx 1 root root 9 Aug 23 21:36 scsi-35000c50058fbc697 -> ../../sde
lrwxrwxrwx 1 root root 9 Aug 23 21:36 usb-HP_iLO_LUN_00_Media_0_000002660A01-0:0 -> ../../sdf
lrwxrwxrwx 1 root root 10 Aug 23 21:36 usb-HP_iLO_LUN_00_Media_0_000002660A01-0:0-part1 -> ../../sdf1
lrwxrwxrwx 1 root root 9 Aug 23 21:36 wwn-0x5000c50058fb9147 -> ../../sdd
lrwxrwxrwx 1 root root 9 Aug 23 21:36 wwn-0x5000c50058fbc697 -> ../../sde
lrwxrwxrwx 1 root root 9 Aug 23 21:39 wwn-0x5000c5006002fecd -> ../../sdc
lrwxrwxrwx 1 root root 10 Aug 23 21:39 wwn-0x5000c5006002fecd-part1 -> ../../sdc1
lrwxrwxrwx 1 root root 10 Aug 23 21:39 wwn-0x5000c5006002fecd-part2 -> ../../sdc2
lrwxrwxrwx 1 root root 9 Aug 23 21:36 wwn-0x5001b448bbc6452d -> ../../sda
lrwxrwxrwx 1 root root 10 Aug 23 21:36 wwn-0x5001b448bbc6452d-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Aug 23 21:36 wwn-0x5001b448bbc6452d-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Aug 23 21:36 wwn-0x5001b448bbc6452d-part3 -> ../../sda3
lrwxrwxrwx 1 root root 9 Aug 23 21:36 wwn-0x5001b448bbc6cbf5 -> ../../sdb
lrwxrwxrwx 1 root root 10 Aug 23 21:36 wwn-0x5001b448bbc6cbf5-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Aug 23 21:36 wwn-0x5001b448bbc6cbf5-part2 -> ../../sdb2
lrwxrwxrwx 1 root root 10 Aug 23 21:36 wwn-0x5001b448bbc6cbf5-part3 -> ../../sdb3
#sas drive 1 passing through to vm
qm set 526 -scsi10 /dev/disk/by-id/scsi-35000c50058fb9147
#Result:
update VM 526: -scsi10 /dev/disk/by-id/scsi-35000c50058fb9147
qemu-img: Could not open '/dev/disk/by-id/scsi-35000c50058fb9147': Could not read image for determining its format: Input/output error
could not parse qemu-img info command output for '/dev/disk/by-id/scsi-35000c50058fb9147'
volume /dev/disk/by-id/scsi-35000c50058fb9147 does not exist
#sas drive 2
qm set 526 -scsi11 /dev/disk/by-id/scsi-35000c50058fbc697
update VM 526: -scsi10 /dev/disk/by-id/scsi-35000c50058fbc697
qemu-img: Could not open '/dev/disk/by-id/scsi-35000c50058fbc697': Could not read image for determining its format: Input/output error
could not parse qemu-img info command output for '/dev/disk/by-id/scsi-35000c50058fbc697'
volume /dev/disk/by-id/scsi-35000c50058fbc697 does not exist
#wd hd
qm set 526 -scsi12 /dev/disk/by-id/ata-ST3000DM001-9YN166_W1F2J0JM
#result:
update VM 526: -scsi12 /dev/disk/by-id/ata-ST3000DM001-9YN166_W1F2J0JM
any help getting proxmox to pass through the drives and show more smart would be apricated
system specs:
HPE dl380p gen8
ibm m5110 (9207-8i)
120gb sata sdd
2x 4tb seagate sas hdd
3tb wd black sata hdd
Goal: to pass the 2 sas hdd and 1 sata hdd through proxmox to a vm
Results : sata hdd passes through, sas hdd not found
Gui: sas device show up as device /dev/sdd/ & /dev/sde, type = unknown, smart = ok
GUi Test: zfs->create zfs: drives shows up as available.
Result: # /sbin/zpool create -o ashift=12 backups mirror /dev/disk/by-id/scsi-35000c50058fb9147 /dev/disk/by-id/scsi-35000c50058fbc697
cannot label 'sdd': failed to detect device partitions on '/dev/sdd1': 19
TASK ERROR: command '/sbin/zpool create -o 'ashift=12' backups mirror /dev/disk/by-id/scsi-35000c50058fb9147 /dev/disk/by-id/scsi-35000c50058fbc697' failed: exit code 1
Ssh test to pass through drive to vm :
apt-get install lshw the to drives
lshw -class disk -class storage
cd /dev/disk/by-id
ls -l
#results:
lrwxrwxrwx 1 root root 9 Aug 23 21:39 ata-ST3000DM001-9YN166_W1F2J0JM -> ../../sdc
lrwxrwxrwx 1 root root 10 Aug 23 21:39 ata-ST3000DM001-9YN166_W1F2J0JM-part1 -> ../../sdc1
lrwxrwxrwx 1 root root 10 Aug 23 21:39 ata-ST3000DM001-9YN166_W1F2J0JM-part2 -> ../../sdc2
lrwxrwxrwx 1 root root 9 Aug 23 21:36 ata-WDC_WDS120G2G0A-00JH30_20398D803569 -> ../../sda
lrwxrwxrwx 1 root root 10 Aug 23 21:36 ata-WDC_WDS120G2G0A-00JH30_20398D803569-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Aug 23 21:36 ata-WDC_WDS120G2G0A-00JH30_20398D803569-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Aug 23 21:36 ata-WDC_WDS120G2G0A-00JH30_20398D803569-part3 -> ../../sda3
lrwxrwxrwx 1 root root 9 Aug 23 21:36 ata-WDC_WDS120G2G0A-00JH30_20399C803261 -> ../../sdb
lrwxrwxrwx 1 root root 10 Aug 23 21:36 ata-WDC_WDS120G2G0A-00JH30_20399C803261-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Aug 23 21:36 ata-WDC_WDS120G2G0A-00JH30_20399C803261-part2 -> ../../sdb2
lrwxrwxrwx 1 root root 10 Aug 23 21:36 ata-WDC_WDS120G2G0A-00JH30_20399C803261-part3 -> ../../sdb3
lrwxrwxrwx 1 root root 12 Aug 23 21:36 lvm-pv-uuid-NmRiLR-pcU5-jOdu-B8fX-JdBs-c4wo-xQAyFj -> ../../zd16p3
lrwxrwxrwx 1 root root 9 Aug 23 21:36 scsi-35000c50058fb9147 -> ../../sdd
lrwxrwxrwx 1 root root 9 Aug 23 21:36 scsi-35000c50058fbc697 -> ../../sde
lrwxrwxrwx 1 root root 9 Aug 23 21:36 usb-HP_iLO_LUN_00_Media_0_000002660A01-0:0 -> ../../sdf
lrwxrwxrwx 1 root root 10 Aug 23 21:36 usb-HP_iLO_LUN_00_Media_0_000002660A01-0:0-part1 -> ../../sdf1
lrwxrwxrwx 1 root root 9 Aug 23 21:36 wwn-0x5000c50058fb9147 -> ../../sdd
lrwxrwxrwx 1 root root 9 Aug 23 21:36 wwn-0x5000c50058fbc697 -> ../../sde
lrwxrwxrwx 1 root root 9 Aug 23 21:39 wwn-0x5000c5006002fecd -> ../../sdc
lrwxrwxrwx 1 root root 10 Aug 23 21:39 wwn-0x5000c5006002fecd-part1 -> ../../sdc1
lrwxrwxrwx 1 root root 10 Aug 23 21:39 wwn-0x5000c5006002fecd-part2 -> ../../sdc2
lrwxrwxrwx 1 root root 9 Aug 23 21:36 wwn-0x5001b448bbc6452d -> ../../sda
lrwxrwxrwx 1 root root 10 Aug 23 21:36 wwn-0x5001b448bbc6452d-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Aug 23 21:36 wwn-0x5001b448bbc6452d-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Aug 23 21:36 wwn-0x5001b448bbc6452d-part3 -> ../../sda3
lrwxrwxrwx 1 root root 9 Aug 23 21:36 wwn-0x5001b448bbc6cbf5 -> ../../sdb
lrwxrwxrwx 1 root root 10 Aug 23 21:36 wwn-0x5001b448bbc6cbf5-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Aug 23 21:36 wwn-0x5001b448bbc6cbf5-part2 -> ../../sdb2
lrwxrwxrwx 1 root root 10 Aug 23 21:36 wwn-0x5001b448bbc6cbf5-part3 -> ../../sdb3
#sas drive 1 passing through to vm
qm set 526 -scsi10 /dev/disk/by-id/scsi-35000c50058fb9147
#Result:
update VM 526: -scsi10 /dev/disk/by-id/scsi-35000c50058fb9147
qemu-img: Could not open '/dev/disk/by-id/scsi-35000c50058fb9147': Could not read image for determining its format: Input/output error
could not parse qemu-img info command output for '/dev/disk/by-id/scsi-35000c50058fb9147'
volume /dev/disk/by-id/scsi-35000c50058fb9147 does not exist
#sas drive 2
qm set 526 -scsi11 /dev/disk/by-id/scsi-35000c50058fbc697
update VM 526: -scsi10 /dev/disk/by-id/scsi-35000c50058fbc697
qemu-img: Could not open '/dev/disk/by-id/scsi-35000c50058fbc697': Could not read image for determining its format: Input/output error
could not parse qemu-img info command output for '/dev/disk/by-id/scsi-35000c50058fbc697'
volume /dev/disk/by-id/scsi-35000c50058fbc697 does not exist
#wd hd
qm set 526 -scsi12 /dev/disk/by-id/ata-ST3000DM001-9YN166_W1F2J0JM
#result:
update VM 526: -scsi12 /dev/disk/by-id/ata-ST3000DM001-9YN166_W1F2J0JM
any help getting proxmox to pass through the drives and show more smart would be apricated
Last edited: