-
Posts
40 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Store
Gallery
Bug Reports
Documentation
Landing
Posts posted by sysop-gwg
-
-
@trurl Well, after all that great info you provided, I think I'm now past "newbee". I have the system set up pretty well right now. Here is my set up:
- I shrunk my vdisks down to the minimum - just enough for the O/S and main programs. I have that on domains w/cache.
- I have another vdisk that I can't shrink right now, so I moved it to another Share w/o cache until I can resize it properly and them move it back to domains.
- I have a appdata share that I'm using to application programs with cache
- I have a data share for cad and video without cache
So, it all seems to be working well with either mounting shares as drives or using symbolic links when "C:" drive is required installing a app.
-
58 minutes ago, JonathanM said:
@JonathanM, Thanks for the response.
you can use pools just as easily.
- Need a definition of a 'pool' (sry, Newbee)
That's excluding all user generated data? That's rather large for just OS and program data, what does this VM hold?
- Cad applications and video rendering software - these are pretty large - multiple versions of them.
In my opinion, if you truly need VM primary drives larger than 265GB, then I would add the 1TB (1gb typo? yes) as an additional pool, dedicated to just the VM(s) primary vdisk(s). (domains share) Then you can use your current cache drive as storage for appdata - What goes in appdata? Could you give a Windows 10 example?
Example:
- Windows O/S installed on a smaller vdisk, along with user profiles, which creates standard folders, including Program Files.
- Are you saying we mount a share for Programs to install apps? Or should that be on the vdisk? -> Typically, Programs stay with the O/S disk.
- And, mount of a share, called "Data" for files (mp4, dwg) that we generate? (see below)
- Which of the above should be on cache?
and system shares, and as a temporary home for work in progress. Use the storage array for finished work, archives, and reference materials. - Are we mounting these as drive letters to my Windows 10 VM?
You could set up a share for WIP, and set it to cache only, then when the project is done move it to a cache yes share to transfer to the array when mover runs overnight.
-
1 hour ago, trurl said:
Here's where my VM experience may run out for your purposes. I'll teIl what I have and maybe others will chime in.
I only have a couple VMs that I don't consider critical (yet), just playing around for now. Neither of the VMs need multiple vdisks, or even large ones (32G and 15G). Both use VNC for remote desktop with no dedicated graphics.
I have 2 pools.
Please define "pools"
One, named "fast", is 1x256G nvme formatted XFS, and another, named "cache", is 2x500G SSD formatted BTRFS raid1. So fast has no redundancy, but cache does. I have appdata and system shares on fast (only), with appdata backups to the array weekly. I have domains on cache (only)
How would you put domains on cache (only)?
and I also use that pool to cache (yes) user share writes.
Could your provide a screen shot of your Shares?
I also have some other scenarios with download and postprocessing shares that both of these pools get involved in for efficiency, and copies of a subset of my music and photos on fast so other devices can get them without spinning up the array.
So lots of possibilities, multiple pools is a great addition to Unraid since v6.9
-
@trurl Fantastic. Now, that we are level-set, what would suggest for the following:
- What part of the domains should be removed from the array? We have a VM with disk 1 and disk 2. I thought you need to run a VM on the array? We need at least 265gb to store the apps and and O/S for this VM. (Am I misunderstanding the relationship between Arrays, vms, and vdisks?)
- Should we increase the size of our Cache? As we started this thread, we purchased a 1gb drive to do so. But, with your suggestion in this thread, we don't seem need to increase it anymore. Agreed?
- Based on the fact that we have an storage array of 7.46 gb, is that the best practice for utilization? Above, you seem to suggest that we should store our files (in our case - cad and video) somewhere else. Can you elaborate?
-
@trurl Here is my current Share setup. I ran mover last night. I attached diags.
-
@trurl Attached. Thank you. Note: At the time of of this download, I don't have any VMs running.
-
@trurl No files at the top of cache:
root@RenderServer:/mnt/cache# ls -l
total 0
drwxrwxrwx 1 nobody users 0 Jun 14 18:41 appdata/
drwxrwxrwx 1 nobody users 30 Jun 14 10:08 domains/
drwxrwxrwx 1 nobody users 12 Nov 3 2020 system/ -
Nothing in here: root@RenderServer:/mnt/cache/system/docker# ls root@RenderServer:/mnt/cache/system/docker# Only 1 file in here for my one test VM: root@RenderServer:/mnt/cache/domains# ls Windows\ 10\ TEST/ root@RenderServer:/mnt/cache/domains# cd Windows\ 10\ TEST/ root@RenderServer:/mnt/cache/domains/Windows 10 TEST# ls vdisk1.img In System I found this: root@RenderServer:/mnt/disk1# cd system root@RenderServer:/mnt/disk1/system# ls docker/ libvirt/ root@RenderServer:/mnt/disk1/system# cd docker root@RenderServer:/mnt/disk1/system/docker# ls root@RenderServer:/mnt/disk1/system/docker# cd .. root@RenderServer:/mnt/disk1/system# ls docker/ libvirt/ root@RenderServer:/mnt/disk1/system# cd libvirt/ root@RenderServer:/mnt/disk1/system/libvirt# ls -l total 1048576 -rw-rw-rw- 1 nobody users 1073741824 Jun 14 17:56 libvirt.img
@trurl I didn't find any duplicates - agreed?
Here are my disk files:
root@RenderServer:~# df
Filesystem 1K-blocks Used Available Use% Mounted on
rootfs 65824696 890084 64934612 2% /
tmpfs 32768 452 32316 2% /run
/dev/sdc1 15612024 676616 14935408 5% /boot
overlay 65824696 890084 64934612 2% /lib/firmware
overlay 65824696 890084 64934612 2% /lib/modules
devtmpfs 8192 0 8192 0% /dev
tmpfs 65895440 0 65895440 0% /dev/shm
cgroup_root 8192 0 8192 0% /sys/fs/cgroup
tmpfs 131072 468 130604 1% /var/log
tmpfs 1024 0 1024 0% /mnt/disks
tmpfs 1024 0 1024 0% /mnt/remotes
tmpfs 1024 0 1024 0% /mnt/rootshare
/dev/md1 976285620 421643424 554642196 44% /mnt/disk1
/dev/md2 7811939620 1066612328 6745327292 14% /mnt/disk2
/dev/sdf1 488386552 19404732 467906148 4% /mnt/cache
shfs 8788225240 1488255752 7299969488 17% /mnt/user0
shfs 8788225240 1488255752 7299969488 17% /mnt/user
/dev/sda1 976759804 837085300 139674504 86% /mnt/disks/External-Disk
/dev/sdb2 3906885628 2299209608 1607676020 59% /mnt/disks/Seagate_Backup_Plus_Drive
//192.168.1.99/External-Disk 976759804 837085300 139674504 86% /mnt/remotes/192.168.1.99_External-Disk
/dev/loop2 1048576 4216 925832 1% /etc/libvirtI do find that these are identical. Not sure why they are two places.
-
7 hours ago, trurl said:
If you looked for that in the system share, you would only see one. You have to look on each disk (cache, disk1) separately to see duplicates.
Will do. Thx
You can delete docker.img on the same Settings page where you disable Docker. You can delete appdata share after deleting its contents.
Will do. Thx.
If you need to keep those vdisks on the array just be aware that these can only be written as fast as parity, and array disks with open files can't spin down, including parity.
I believe I need at least 256gb for O/S and app for my VM. So, I don't suspect I can change that. Right?
But, it does sound like I need to move vdisk2 to somewhere else! What do you suggest? I'm newbee...so go slow.
-
The final fix was to rebuild a VM from scratch. It seems that once we upgraded the PCI controllers needed a whole different set of settings. Thanks to all that helped. Especially @ghost82
- 1
-
17 hours ago, trurl said:
Almost certainly the system files on disk1 are duplicates, probably a duplicate 20G docker.img, with a 1G libvirt.img on disk1. Mover won't move duplicates, you will have to clean those up yourself. You want all of system on cache.
I can only find 1 docker.img of 21G on the system.
I didn't mention appdata before because it was already on cache but now you have changed that. You want appdata cache-prefer and all on cache for the same reasons you want domains and system on cache.
I changed them to allow Mover to work. I was waiting for Parity Check to finish before resetting them. Below is an image of how I have it now based on your recommendations.
For some reason appdata doesn't seem to have much data (and none in earlier screenshot). Do you have any dockers?
We don't have any dockers. I have docker turned off. Can I shrink or delete it since we don't use it?
Why is your domains so large? It often isn't necessary to have very large vdisks for your VMs because your VMs can access Unraid storage and only the vdisk for the VM OS is needed.
I have two vm's - the disks on domains are:
VM 1
vdisk1.img - 256gb - windows 10 and cad apps and video rendering
vdisk1.img - 429gb - cad and mp4 files
VM 2
vdisk1.img - 275gb - windows 10, general purpose stuff
Attach diagnostics to your NEXT post in this thread. Attached
Looking forward to your input - Thank you!
17 hours ago, trurl said: -
@trurl After I ran Mover, here is what my Shares looks like. I appears that I would need quite a bit more Cache disk size to leave Domains and System on "Yes". Do you agree? I have a new 1.0TB drive that I can add, if need be. Also, I notices that Cache has a warning now. Not sure why? NOTE: I have NOT restarted the system, turned on the Array, Docker or VMs as of this screen shot. Currently, I'm waiting for the Parity Check to complete (8 more hrs.)
-
@trurl Thank for the help. I ran the mover. I'm now doing a parity check (10 hrs). After which, I will set up the cache as you prescribed above and see how we do.
Thanks again!
Erok
-
-
@ghost82 I'll going to give that try. Thanks again.
-
@ghost82 Perhaps I'm not explaining enough what is happening. When I use VNC as my graphics i/f, the machine comes up and I'm able to ping the machine from my desktop. However, when I switch to the NVIDIA card, the machine seems to be running, and no IP address is showing up on the network for that machine. Therefore, I can't remote into it. If I switch back to VNC, it shows up on the network and I can connect to it either by RDC or VNC. Below is the updated XML per your suggestion above.
Gosh! This is killing me (and likely you), since this VM was working fine for over 1yr - then my cache filled up; I fixed that issue; now I can't get this VM to work. Thanks again for your patience.
Eric
<?xml version='1.0' encoding='UTF-8'?> <domain type='kvm'> <name>001 Windows 10</name> <uuid>8ff1b299-3467-488a-8a9e-1ffa44d87fa9</uuid> <description>First VM for Windows 10</description> <metadata> <vmtemplate xmlns="unraid" name="Windows 10" icon="windows.png" os="windows10"/> </metadata> <memory unit='KiB'>51904512</memory> <currentMemory unit='KiB'>51904512</currentMemory> <memoryBacking> <nosharepages/> </memoryBacking> <vcpu placement='static'>10</vcpu> <cputune> <vcpupin vcpu='0' cpuset='1'/> <vcpupin vcpu='1' cpuset='33'/> <vcpupin vcpu='2' cpuset='3'/> <vcpupin vcpu='3' cpuset='35'/> <vcpupin vcpu='4' cpuset='5'/> <vcpupin vcpu='5' cpuset='37'/> <vcpupin vcpu='6' cpuset='7'/> <vcpupin vcpu='7' cpuset='39'/> <vcpupin vcpu='8' cpuset='9'/> <vcpupin vcpu='9' cpuset='41'/> </cputune> <resource> <partition>/machine</partition> </resource> <os> <type arch='x86_64' machine='pc-i440fx-4.2'>hvm</type> </os> <features> <acpi/> <apic/> <hyperv mode='custom'> <relaxed state='on'/> <vapic state='on'/> <spinlocks state='on' retries='8191'/> <vendor_id state='on' value='none'/> </hyperv> </features> <cpu mode='host-passthrough' check='none' migratable='on'> <topology sockets='1' dies='1' cores='5' threads='2'/> <cache mode='passthrough'/> <feature policy='require' name='topoext'/> </cpu> <clock offset='localtime'> <timer name='hypervclock' present='yes'/> <timer name='hpet' present='no'/> </clock> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>restart</on_crash> <devices> <emulator>/usr/local/sbin/qemu</emulator> <disk type='file' device='disk'> <driver name='qemu' type='raw' cache='writeback'/> <source file='/mnt/user/domains/001 Windows 10/vdisk1.img'/> <target dev='hdc' bus='virtio'/> <boot order='1'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/> </disk> <disk type='file' device='disk'> <driver name='qemu' type='raw' cache='writeback'/> <source file='/mnt/user/domains/001 Windows 10/vdisk2.img'/> <target dev='hdd' bus='virtio'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/> </disk> <controller type='usb' index='0' model='nec-xhci' ports='15'> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/> </controller> <controller type='virtio-serial' index='0'> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/> </controller> <controller type='pci' index='0' model='pci-root'/> <interface type='bridge'> <mac address='38:7a:0e:12:a1:4f'/> <source bridge='br0'/> <model type='virtio-net'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/> </interface> <serial type='pty'> <target type='isa-serial' port='0'> <model name='isa-serial'/> </target> </serial> <console type='pty'> <target type='serial' port='0'/> </console> <channel type='unix'> <target type='virtio' name='org.qemu.guest_agent.0'/> <address type='virtio-serial' controller='0' bus='0' port='1'/> </channel> <input type='tablet' bus='usb'> <address type='usb' bus='0' port='1'/> </input> <input type='mouse' bus='ps2'/> <input type='keyboard' bus='ps2'/> <audio id='1' type='none'/> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x21' slot='0x00' function='0x0'/> </source> <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0' multifunction='on'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x21' slot='0x00' function='0x1'/> </source> <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x1'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x21' slot='0x00' function='0x2'/> </source> <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x2'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x21' slot='0x00' function='0x3'/> </source> <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x3'/> </hostdev> <memballoon model='none'/> </devices> <seclabel type='dynamic' model='dac' relabel='yes'/> </domain>
-
@JonathanM We currently have 500GB drive installed in the box dedicated for cache. It was running out of space (per above). My intent is to add additional cache capacity. I have purchased a 1TB drive of the same type and manufacturer. I suspect we could either:
- Replace the current 500GB drive with 1TB drive
- Add the 1TB drive to extend the cache volume of the 1.5TB
Either one is fine with me. I would need guidance. Sorry, but I'm a newbee to UNRAID. Our IT person moved on and now I'm left to figure out how to support this system. I've worked mostly with VMWare in the past, but never on my own hardware.
Your input is greatly appreciated.
PS> I'd like to know how you stop the cache from just filling up. I found ours just filling up to 99% - not sure where, or if, we can set a limit. Truly, I'm really not sure why it has 21 gb free now....I don't recall doing anything other than turning off a VM that has issues (still working on that) and cleaning out the syslog files.
Eric
-
-
@trurl It seems now that i have 21.5 GB free now. So, the warnings have gone. I'm adding another Cache drive today as well. Thanks for the help. I guess since one of my VMs (heave video rendering app) has been down for a while the cache may have been cleaned up.
-
@ghost82 Here is my updated syslinux configuration, xml config, log output and diags attached. I still can't seem to access the machine via RDC, ping it or shut it down ("clean") via the GUI (only force it).
If switch back to VNC, I have no issues, except I need to use the performance graphics card for this VM - funny thing, this was all work fine...for over 1yr - not sure what happened. Do you think I need the optional ROM BIOS?
I really appreciate all your help with this!!!!
Eric
default menu.c32
menu title Lime Technology, Inc.
prompt 0
timeout 50
label Unraid OS
menu default
kernel /bzimage
append video=efifb:off initrd=/bzroot
label Unraid OS GUI Mode
kernel /bzimage
append initrd=/bzroot,/bzroot-gui
label Unraid OS Safe Mode (no plugins, no GUI)
kernel /bzimage
append initrd=/bzroot unraidsafemode
label Unraid OS GUI Safe Mode (no plugins)
kernel /bzimage
append initrd=/bzroot,/bzroot-gui unraidsafemode
label Memtest86+
kernel /memtesHere is xml config:
<?xml version='1.0' encoding='UTF-8'?>
<domain type='kvm'>
<name>001 Windows 10</name>
<uuid>8ff1b299-3467-488a-8a9e-1ffa44d87fa9</uuid>
<description>First VM for Windows 10</description>
<metadata>
<vmtemplate xmlns="unraid" name="Windows 10" icon="windows.png" os="windows10"/>
</metadata>
<memory unit='KiB'>51904512</memory>
<currentMemory unit='KiB'>51904512</currentMemory>
<memoryBacking>
<nosharepages/>
</memoryBacking>
<vcpu placement='static'>10</vcpu>
<cputune>
<vcpupin vcpu='0' cpuset='1'/>
<vcpupin vcpu='1' cpuset='33'/>
<vcpupin vcpu='2' cpuset='3'/>
<vcpupin vcpu='3' cpuset='35'/>
<vcpupin vcpu='4' cpuset='5'/>
<vcpupin vcpu='5' cpuset='37'/>
<vcpupin vcpu='6' cpuset='7'/>
<vcpupin vcpu='7' cpuset='39'/>
<vcpupin vcpu='8' cpuset='9'/>
<vcpupin vcpu='9' cpuset='41'/>
</cputune>
<resource>
<partition>/machine</partition>
</resource>
<os>
<type arch='x86_64' machine='pc-i440fx-4.2'>hvm</type>
</os>
<features>
<acpi/>
<apic/>
<hyperv mode='custom'>
<relaxed state='on'/>
<vapic state='on'/>
<spinlocks state='on' retries='8191'/>
<vendor_id state='on' value='none'/>
</hyperv>
</features>
<cpu mode='host-passthrough' check='none' migratable='on'>
<topology sockets='1' dies='1' cores='5' threads='2'/>
<cache mode='passthrough'/>
<feature policy='require' name='topoext'/>
</cpu>
<clock offset='localtime'>
<timer name='hypervclock' present='yes'/>
<timer name='hpet' present='no'/>
</clock>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>restart</on_crash>
<devices>
<emulator>/usr/local/sbin/qemu</emulator>
<disk type='file' device='disk'>
<driver name='qemu' type='raw' cache='writeback'/>
<source file='/mnt/user/domains/001 Windows 10/vdisk1.img'/>
<target dev='hdc' bus='virtio'/>
<boot order='1'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
</disk>
<disk type='file' device='disk'>
<driver name='qemu' type='raw' cache='writeback'/>
<source file='/mnt/user/domains/001 Windows 10/vdisk2.img'/>
<target dev='hdd' bus='virtio'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
</disk>
<controller type='usb' index='0' model='nec-xhci' ports='15'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
</controller>
<controller type='virtio-serial' index='0'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
</controller>
<controller type='pci' index='0' model='pci-root'/>
<interface type='bridge'>
<mac address='38:7a:0e:12:a1:4f'/>
<source bridge='br0'/>
<model type='virtio-net'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
</interface>
<serial type='pty'>
<target type='isa-serial' port='0'>
<model name='isa-serial'/>
</target>
</serial>
<console type='pty'>
<target type='serial' port='0'/>
</console>
<channel type='unix'>
<target type='virtio' name='org.qemu.guest_agent.0'/>
<address type='virtio-serial' controller='0' bus='0' port='1'/>
</channel>
<input type='tablet' bus='usb'>
<address type='usb' bus='0' port='1'/>
</input>
<input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<audio id='1' type='none'/>
<hostdev mode='subsystem' type='pci' managed='yes'>
<driver name='vfio'/>
<source>
<address domain='0x0000' bus='0x21' slot='0x00' function='0x0'/>
</source>
<address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
</hostdev>
<hostdev mode='subsystem' type='pci' managed='yes'>
<driver name='vfio'/>
<source>
<address domain='0x0000' bus='0x21' slot='0x00' function='0x1'/>
</source>
<address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/>
</hostdev>
<memballoon model='none'/>
</devices>
<seclabel type='dynamic' model='dac' relabel='yes'/>
</domain>
Here is the log after I booted the VM:
-display none \
-no-user-config \
-nodefaults \
-chardev socket,id=charmonitor,fd=36,server=on,wait=off \
-mon chardev=charmonitor,id=monitor,mode=control \
-rtc base=localtime \
-no-hpet \
-no-shutdown \
-boot strict=on \
-device nec-usb-xhci,p2=15,p3=15,id=usb,bus=pci.0,addr=0x7 \
-device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x3 \
-blockdev '{"driver":"file","filename":"/mnt/user/domains/001 Windows 10/vdisk1.img","node-name":"libvirt-2-storage","cache":{"direct":false,"no-flush":false},"auto-read-only":true,"discard":"unmap"}' \
-blockdev '{"node-name":"libvirt-2-format","read-only":false,"cache":{"direct":false,"no-flush":false},"driver":"raw","file":"libvirt-2-storage"}' \
-device virtio-blk-pci,bus=pci.0,addr=0x4,drive=libvirt-2-format,id=virtio-disk2,bootindex=1,write-cache=on \
-blockdev '{"driver":"file","filename":"/mnt/user/domains/001 Windows 10/vdisk2.img","node-name":"libvirt-1-storage","cache":{"direct":false,"no-flush":false},"auto-read-only":true,"discard":"unmap"}' \
-blockdev '{"node-name":"libvirt-1-format","read-only":false,"cache":{"direct":false,"no-flush":false},"driver":"raw","file":"libvirt-1-storage"}' \
-device virtio-blk-pci,bus=pci.0,addr=0x5,drive=libvirt-1-format,id=virtio-disk3,write-cache=on \
-netdev tap,fd=39,id=hostnet0 \
-device virtio-net,netdev=hostnet0,id=net0,mac=38:7a:0e:12:a1:4f,bus=pci.0,addr=0x2 \
-chardev pty,id=charserial0 \
-device isa-serial,chardev=charserial0,id=serial0,index=0 \
-chardev socket,id=charchannel0,fd=35,server=on,wait=off \
-device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=org.qemu.guest_agent.0 \
-device usb-tablet,id=input0,bus=usb.0,port=1 \
-audiodev '{"id":"audio1","driver":"none"}' \
-device vfio-pci,host=0000:21:00.0,id=hostdev0,bus=pci.0,addr=0x6 \
-sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \
-msg timestamp=on
char device redirected to /dev/pts/0 (label charserial0)
2022-06-09T15:55:39.050071Z qemu-system-x86_64: terminating on signal 15 from pid 6402 (/usr/sbin/libvirtd)
2022-06-09 15:55:39.850+0000: shutting down, reason=destroyed
2022-06-09 15:56:52.690+0000: starting up libvirt version: 8.2.0, qemu version: 6.2.0, kernel: 5.15.43-Unraid, hostname: RenderServer
LC_ALL=C \
PATH=/bin:/sbin:/usr/bin:/usr/sbin \
HOME='/var/lib/libvirt/qemu/domain-9-001 Windows 10' \
XDG_DATA_HOME='/var/lib/libvirt/qemu/domain-9-001 Windows 10/.local/share' \
XDG_CACHE_HOME='/var/lib/libvirt/qemu/domain-9-001 Windows 10/.cache' \
XDG_CONFIG_HOME='/var/lib/libvirt/qemu/domain-9-001 Windows 10/.config' \
/usr/local/sbin/qemu \
-name 'guest=001 Windows 10,debug-threads=on' \
-S \
-object '{"qom-type":"secret","id":"masterKey0","format":"raw","file":"/var/lib/libvirt/qemu/domain-9-001 Windows 10/master-key.aes"}' \
-machine pc-i440fx-4.2,usb=off,dump-guest-core=off,mem-merge=off,memory-backend=pc.ram \
-accel kvm \
-cpu host,migratable=on,topoext=on,hv-time=on,hv-relaxed=on,hv-vapic=on,hv-spinlocks=0x1fff,hv-vendor-id=none,host-cache-info=on,l3-cache=off \
-m 50688 \
-object '{"qom-type":"memory-backend-ram","id":"pc.ram","size":53150220288}' \
-overcommit mem-lock=off \
-smp 10,sockets=1,dies=1,cores=5,threads=2 \
-uuid 8ff1b299-3467-488a-8a9e-1ffa44d87fa9 \
-display none \
-no-user-config \
-nodefaults \
-chardev socket,id=charmonitor,fd=36,server=on,wait=off \
-mon chardev=charmonitor,id=monitor,mode=control \
-rtc base=localtime \
-no-hpet \
-no-shutdown \
-boot strict=on \
-device nec-usb-xhci,p2=15,p3=15,id=usb,bus=pci.0,addr=0x7 \
-device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x3 \
-blockdev '{"driver":"file","filename":"/mnt/user/domains/001 Windows 10/vdisk1.img","node-name":"libvirt-2-storage","cache":{"direct":false,"no-flush":false},"auto-read-only":true,"discard":"unmap"}' \
-blockdev '{"node-name":"libvirt-2-format","read-only":false,"cache":{"direct":false,"no-flush":false},"driver":"raw","file":"libvirt-2-storage"}' \
-device virtio-blk-pci,bus=pci.0,addr=0x4,drive=libvirt-2-format,id=virtio-disk2,bootindex=1,write-cache=on \
-blockdev '{"driver":"file","filename":"/mnt/user/domains/001 Windows 10/vdisk2.img","node-name":"libvirt-1-storage","cache":{"direct":false,"no-flush":false},"auto-read-only":true,"discard":"unmap"}' \
-blockdev '{"node-name":"libvirt-1-format","read-only":false,"cache":{"direct":false,"no-flush":false},"driver":"raw","file":"libvirt-1-storage"}' \
-device virtio-blk-pci,bus=pci.0,addr=0x5,drive=libvirt-1-format,id=virtio-disk3,write-cache=on \
-netdev tap,fd=39,id=hostnet0 \
-device virtio-net,netdev=hostnet0,id=net0,mac=38:7a:0e:12:a1:4f,bus=pci.0,addr=0x2 \
-chardev pty,id=charserial0 \
-device isa-serial,chardev=charserial0,id=serial0,index=0 \
-chardev socket,id=charchannel0,fd=35,server=on,wait=off \
-device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=org.qemu.guest_agent.0 \
-device usb-tablet,id=input0,bus=usb.0,port=1 \
-audiodev '{"id":"audio1","driver":"none"}' \
-device vfio-pci,host=0000:21:00.0,id=hostdev0,bus=pci.0,addr=0x6 \
-device vfio-pci,host=0000:21:00.1,id=hostdev1,bus=pci.0,addr=0x8 \
-sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \
-msg timestamp=on
char device redirected to /dev/pts/0 (label charserial0)
-
@ghost82 - I hate to sound so dense...but is this what it would look like when I'm done. I'm losing you, when you say "edit the append line" - since there are many in the file, I'm not sure which one you referring to.
default menu.c32
menu title Lime Technology, Inc.
prompt 0
timeout 50
label Unraid OS
menu default
kernel /bzimage
append initrd=/bzroot
label Unraid OS GUI Mode
kernel /bzimage
append initrd=/bzroot,/bzroot-gui
label Unraid OS Safe Mode (no plugins, no GUI)
kernel /bzimage
append initrd=/bzroot unraidsafemode
label Unraid OS GUI Safe Mode (no plugins)
kernel /bzimage
append initrd=/bzroot,/bzroot-gui unraidsafemode
label Memtest86+
kernel /memtesappend video=efifb:off
-
-
Sorry, @ghost82 that I'm not following your instructions: Here is my syslinux configuration file contents. Can you provide me where I'm supposed to add this and syntax?
default menu.c32
menu title Lime Technology, Inc.
prompt 0
timeout 50
label Unraid OS
menu default
kernel /bzimage
append initrd=/bzroot
label Unraid OS GUI Mode
kernel /bzimage
append initrd=/bzroot,/bzroot-gui
label Unraid OS Safe Mode (no plugins, no GUI)
kernel /bzimage
append initrd=/bzroot unraidsafemode
label Unraid OS GUI Safe Mode (no plugins)
kernel /bzimage
append initrd=/bzroot,/bzroot-gui unraidsafemode
label Memtest86+
kernel /memtes -
@ghost82 Here is the config for the vm.
How do I clear/flush the cache drive?
in General Support
Posted · Edited by sysop-gwg
@trurl So, now after all that...I still have the 1gb SSD sitting on my desk. Back to your original question, what do I plan to do it? I'd like to increase the size of the Cache so I can add more vdisks associated with vms on the domains share. What is the best way to do that?