I want to change the disk model in a KVM machine on SmartOS.
vi upddisk.json
{
"update_disks": [
{
"path": "/dev/zvol/rdsk/zones/e888a82a-bca1-49fda6d7-988debb09703-disk0",
"model": "ide"
}
]
}
vmadm update e888a82a-bca1-49fd-a6d7-988debb09703 -f upddisk.json
vmadm get e888a82a-bca1-49fd-a6d7-988debb09703
No comments:
Post a Comment