November 20, 20187 yr This morning while beginning the process to migrate to a new ssd the domain.cfg file on the flash drive for Unraid became corrupt. I did a quick google search and couldn't find anything about fixing the issue. Is this something that can be replaced with the file from the install package or am I SOL here?
November 20, 20187 yr The domain.cfg file is simply the settings from Settings - VM Settings. Whatever you change in there will rewrite the domain.cfg file.
November 20, 20187 yr It isn't a very complex file. Here's mine for reference. SERVICE="enable" DEBUG="no" DOMAINDIR="/mnt/user/domains/" MEDIADIR="/mnt/user/isos/" VIRTIOISO="/mnt/user/isos/virtio-win-0.1.160-1.iso" BRNAME="br0" VMSTORAGEMODE="auto" IMAGE_FILE="/mnt/user/system/libvirt/libvirt.img" IMAGE_SIZE="1" DISKDIR="/mnt/" TIMEOUT="60" HOSTSHUTDOWN="shutdown" It essentially reflects the content of the Settings -> VM Manager page in Advanced view:
November 20, 20187 yr Author Just now, Squid said: The domain.cfg file is simply the settings from Settings - VM Settings. Whatever you change in there will rewrite the domain.cfg file. Thank you, that explains when it got corrupt it was just after I shut down the VMs. If I remove the corrupt file will Unraid write a new one when I change the VM Settings?
November 20, 20187 yr 5 minutes ago, jdmhammer said: If I remove the corrupt file will Unraid write a new one when I change the VM Settings? I expect it would do but you're in a good position to test the theory! It won't make things worse.
November 20, 20187 yr Author 4 minutes ago, John_M said: I expect it would do but you're in a good position to test the theory! It won't make things worse. Fair point, I'll report back.
Archived
This topic is now archived and is closed to further replies.