-
Dataset conversion added trailing slash?
Ok, well I guess this can get closed. I'm switching to TrueNas anyways.
-
Dataset conversion added trailing slash?
Hello all. This morning I followed the tuturial from the awesome @SpaceInvaderOne to convert my appdata folder to a dataset for snapshots. I followed everything to the letter, but when I went to run the script again on my domains folder, I get errors. It seems that a trailing slash was added at some point and the script doesn't like it. See below: #!/bin/bash #set -x # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # Script for watching a dataset and auto updating regular folders converting them to datasets # # # # (needs Unraid 6.12 or above) # # # # by - SpaceInvaderOne # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # real run or dry run dry_run="yes" # Set to "yes" for a dry run. Change to "no" to run for real # # Main Variables source_pool="cache" #this is the zpool in which your source dataset resides (note the does NOT start with /mnt/) source_dataset= "appdata" "domains" #this is the name of the dataset you want to check and convert its child directories to datasets should_stop_containers="yes" # Setting to "yes" will stop all containers except thos listed below. This should be set to yes if watching the appdata share containers_to_keep_running=("AdGuard-Home" "binhex-plexpass") #Containers that you do not want to be stopped (see readme) should_stop_vms="no" #Setting to "yes" will stop all vms except thos listed below. This should be set to yes if watching the domain share vms_to_keep_running=("Home Assistant" "vm2") #Containers that you do not want to be stopped (see readme) cleanup="yes" #Seeting to yes will cleanup after running (see readme) replace_spaces="no" # Set this to "no" to keep spaces in the dataset names # # #Avanced variables you do not need to change these. source_path="${source_pool}/${source_dataset}" mount_point="/mnt" stopped_containers=() stopped_vms=() converted_folders=() buffer_zone=11 # this is a bufferzone for addional free space needed in the dataset set as a percentage value beween 1 and 100. # it should be set a little higher than what you have your minimum free space floor that is set in the Unraid gui for the zpool Script location: /tmp/user.scripts/tmpScripts/auto convert to dataset/script Note that closing this window will abort the execution of this script /tmp/user.scripts/tmpScripts/auto convert to dataset/script: line 16: appdata: command not found Checking Docker containers... Stopping Docker container nextcloud... Dry Run: Docker container nextcloud would be stopped Stopping Docker container mariadb... Dry Run: Docker container mariadb would be stopped Stopping Docker container swag... Dry Run: Docker container swag would be stopped Stopping Docker container Cloudflare-DDNS... Dry Run: Docker container Cloudflare-DDNS would be stopped Processing folder /mnt/cache//appdata... Folder size: 71G cannot open 'cache/': trailing slash in name /tmp/user.scripts/tmpScripts/auto convert to dataset/script: line 142: ((: >= buffer_zone_size : syntax error: operand expected (error token is ">= buffer_zone_size ") Skipping folder /mnt/cache//appdata due to insufficient space Processing folder /mnt/cache//domains... Folder size: 88G cannot open 'cache/': trailing slash in name /tmp/user.scripts/tmpScripts/auto convert to dataset/script: line 142: ((: >= buffer_zone_size : syntax error: operand expected (error token is ">= buffer_zone_size ") Skipping folder /mnt/cache//domains due to insufficient space Processing folder /mnt/cache//system... Folder size: 13G cannot open 'cache/': trailing slash in name /tmp/user.scripts/tmpScripts/auto convert to dataset/script: line 142: ((: >= buffer_zone_size : syntax error: operand expected (error token is ">= buffer_zone_size ") Skipping folder /mnt/cache//system due to insufficient space The following folders were successfully converted to datasets: Not sure what's going on or why. I don't think I did anything wrong, but would appreciate any help available. Thanks!!!
-
How to get Bluetooth to work in a Windows 10 VM?
Is your passed through Bluetooth device part of a pci card? Like a combo WiFi/Bluetooth deal? If so, then I would make sure to pass the WiFi component through as well.
-
Nvidia SR-IOV Support
Step 1, learn traditional Chinese Step 2, easily enable vgpu Jokes aside, I found this documentation for enabling sr-iov on ProxMox. I'm just not sure if this will work the same in unRAID. https://pve.proxmox.com/wiki/NVIDIA_vGPU_on_Proxmox_VE_7.x
-
Nvidia SR-IOV Support
I can bump? Still hoping someone has tried this before.
-
ZFS Arc Cache Size
Thanks a bunch. I created a config file named zfs.conf, added "options zfs zfs_arc_max=64000000000" to the file, saved and uploaded to the modprobe.d file on my flash. Seems to be working. Looking forward to having this in the gui.
-
ZFS Arc Cache Size
Is there a way to set the arc cache size manually? I am running 128gb of ram in my server, with mirrored 1tb cache drives but it seems like the system is limiting the zfs arc cache to 16gb. Thanks. Kartoshka
-
Kartoshka_1 started following Nvidia SR-IOV Support
-
Nvidia SR-IOV Support
Hello All, In my quest to find more and more useful things to do with my server, I was hoping to figure out if it's possible to split an Nvidia enterprise GPU to handle multiple VM's using SR-IOV. From some of the research I've been doing, it seems like this is possible with Intel iGPU's and NICS, but I haven't found much on Nivida GPU's. Has someone done a write up about this? My server is running the following hardware: Ryzen 5900x Asus b550 Creator (SR-IOV supported in BIOS) 128gb Nemix UDIMM, 3200Mhz RTX A4500 Full disclosure; I'm just a hobbyist and haven't yet learned scripting or many of the acronyms that get thrown around here. I'm at the "find a tutorial and follow it to the T" level, but I'm definitely willing to learn and try things. Thanks in advance. Kartoshka
Kartoshka_1
Members
-
Joined
-
Last visited