Jump to content

Domain.cfg corrupt [HELP]


jdmhammer

Recommended Posts

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?

Link to comment

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:

 

948965119_ScreenShot2018-11-20at14_30_51.png.c4df4fac2a6d8cbe9ce309d1227bfdae.png

Link to comment
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?

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...