-
web interface crashing when dealing with a "bad hdd"
thanks, yeah i seen that happening in other devices, specially windows, it freezes the whole thing. however as i pointed it out, only the web session gets locked, the ssh still works fine and while opening the web server with another "session" it seems to work but i suspect its the plugin, the last times i was in ssh i could see the logs about the unnatended devices takiing more than 10 seconds... i also see plenty of reset usb device on the dmesg logs the thing that worried me is that at one point unraid went crazy and told me my usb pen boot drive was damaged and i needed to replace it, being a new usb pen drive i got worried lol i had to force reboot and when it rebooted the boot drive error did go away and i didnt see any other signs of a failed usb pen
-
web interface crashing when dealing with a "bad hdd"
I have an old hdd that is suffering from old age (some bad sectors, some corruption), i did connected with a usb to sata "adapter" and i am using unnasigned devices plugin to mount the drive as a disk. i used the web interface to move files out of the hdd in the background but while navigating, mainly going into the disk page or sometimes at random the browser loses the connection and is not able to load any page anymore. one thing is, i usually connect via hostname (tower.lan) while the web server is stuck if i open the browser in the ip, it still is able to work but if the thing hangs at the ip it will lock me out, i suspect the web session gets hangged i can't see any relevant logs about the webserver... ssh connections are never lost i believe..
-
VM as the gateway/router/network provider
Ok, i managed to pull it off and i am writing here for the reference and to help people in the future I am used to modern Debian based systems, so well, " modern people with their systemd based tools that don't know better", i am one of those.. it was a cool experience for me dealing with unraid not only is not debian, in unraid the interface and OS was made some unconventional decisions that probbaly made every sense for the people developing and it's history. well, i found out that pratically unraid expects eth0 to be it's main communication port, when trying stuff around like dhcp, routes etc, by convention and default just preefers to use eth0 when deploying a VM with openwrt or other solution bridged to eth0 + br0, (dhcp and dns servers) unraid will work out of the box. with unraid and the VM connected to br0, unraid can get a dhcp lease and work fine even without anything connected to the real port, unraid sees there is a dhcp on the bridge and gladly accepts it. but if you attempt to do the same on a br1 without manual configuration in the shell it's a nightmare. you can use eth1/br1 (the interface allows that), but in my case since i had not a physical cable connected to this port, unraid just decides to ignore that this bridge has anything on it... so yeah, even if your VM provides the network or somehting in eth1, that is a "faiolver" or "alternative" connection, not like the main exit port.... so basically, unraid will gladly connect to a bridged VM or anything on eth0 in eth1 it can connect to wan but it's not as plug and play, there is a checkbox to allow it as the gateway but stuff like DNS is still configured in eth0 and yeah, you need to have a real device connected to that port which i didn't bother tryiing
-
VM as the gateway/router/network provider
Thanks for the info and sharing, i will have a look, it was funny seing this project at "the forbidden router", yes that is sooo true and i agree with it! the machine i am setting this up is not a machine that i will depend on it for connections or to access the network. and i will only turn it on in small bursts. îts really about being as portable as possible and be able to transfer stuff without relying on anything else... (kinda like a wireless usb stick that won't corrupt) i can always setup something in debian or use other solutions for this.... maybe i could even do the other way around and put unraid in a vm, but the storage thing is the main use for this machine and i want the storage to be its main thing. in my mind wouldn't make sense to virtualize unraid.. if i end up setting up a proxmox (or similar) machine i wouldn't actually have use for unraid, i would just setup a RAID, ZFS, or even ceph (i wanted to try that one for a long time, it would be interesting to have an s3 api available) the thing is i really enjoyed unraid, it seems to work right out of the box and very close to my dream "just a bunch of disks" system the parity thing and smb shares work very well, and i really had fun with it. i always had a bad time with SMB on other solutions...
-
migss started following VM as the gateway/router/network provider
-
VM as the gateway/router/network provider
I am trying to setup my unraid server to be standalone and basically be the AP and "lan provider" please dont just reply that i need a router or second machine :C my machine has 2 NICS and a wifi card i did created a VM with openwrt, passed through the wifi card and it works just fine as an AP and i can even get online trough that connection however i am having a very hard time configuring the unraid Host to connect to the VM networking... i tried to bridge eth1 with the VM but the interface wont get up i guess because the physical port is not connected to a real device I also tried to create a dummy eth3 port, then bridge and force it to go up but no use.... is there a way that i can create a host-VM connection where unraid will use the VM's network? PS i dont have a license yet, i am on trial until i figure this out