Running pveversion pve-manager/3.0/0428106c
I have a 4tb USB3 drive attached to my server, and I wish to add the 2nd partition to a windows vm, but get errors when using qm set, or assigning it in the vm config, I have tried both ide0, and sata0, the entire dev, or just the partition, setting media=disk, but the vm fails to boot
after the set command, my vm conf looks like this:
I have a 4tb USB3 drive attached to my server, and I wish to add the 2nd partition to a windows vm, but get errors when using qm set, or assigning it in the vm config, I have tried both ide0, and sata0, the entire dev, or just the partition, setting media=disk, but the vm fails to boot
Code:
root@pve1:/etc/pve/qemu-server# parted /dev/sdc print
Model: Seagate Backup+ Desk (scsi)
Disk /dev/sdc: 4001GB
Sector size (logical/physical): 4096B/4096B
Partition Table: gpt
Number Start End Size File system Name Flags
1 1049kB 3400GB 3400GB primary
2 3400GB 4001GB 601GB primary
root@pve1:/etc/pve/qemu-server# qm set 132 -sata0 /dev/sdc
root@pve1:/etc/pve/qemu-server# qm start 132
kvm: -drive file=/dev/sdc,if=none,id=drive-ide0,aio=native,cache=none: could not open disk image /dev/sdc: Invalid argument
after the set command, my vm conf looks like this:
Code:
boot: dcn
bootdisk: virtio0
cores: 6
ide2: local:iso/virtio-win-0.1-59.iso,media=cdrom,size=60572K
memory: 16000
name: SBS2011
net0: virtio=52:B8:01:98:56:DF,bridge=vmbr0
onboot: 1
ostype: win7
parent: CurrentServerState
sata0: /dev/sdc,size=3907018580K
#also tried: ide0: /dev/sdc2,size=572954M
sockets: 1
virtio0: RAID10:132/vm-132-disk-1.qcow2,format=qcow2,size=121G
virtio1: RAID10:132/vm-132-disk-3.qcow2,format=qcow2,size=300G
[CurrentServerState]...
...snapshot info ommitted
Last edited: