taychive

Members
  • Posts

    6
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

taychive's Achievements

Noob

Noob (1/14)

1

Reputation

  1. Hi I upgraded from 6.8.3 to 6.9.1 then upgraded all my plugins to latest version. Now when I use unassigned devices, my USB drives will not unmount. The log shows that the unmount is taking place but the device is never actually unmounted. UD also still reports the device is mounted. Subsequent clicks of the unmount button result in error in log. UD just refreshes back and still displays the unmount button. Syslog 1. Attaching USB hub with flash drive. (Mar 10 00:22:37) 2. Mounting partition (Mar 10 00:23:58) 2. Copying files. 3. Clicking unmount on unassigned devices. (Mar 10 00:28:49) 4. Clicking it again ~20 minutes later. (Mar 10 00:47:40) mount root@Tower:~# mount /dev/sdc1 on /mnt/disks/Flash type fuseblk (rw,nosuid,nodev,noatime,allow_other,default_permissions,blksize=4096) umount root@Tower:~# umount /mnt/disks/Flash/ umount: /mnt/disks/Flash: not mounted. lsof returns blank - nothing open in that mount path I have tried everything I can think of. Different Flash drives With/without a USB hub Different ports Different formats Waiting several hours (in case cached data was still being written) Rebooting (if unmount was pressed, the will system now hang unless USB drive physically removed) It also worth mentioning at this when it is stuck unmounting I cannot stop the array. Unraid gets hung at the filesystem sync step waiting. I have not found a command successful in force this drive to be ejected so I have resorted to manually unplugging it which then allows unraid to resume with stopping the array. Any ideas what's going on. Thanks.
  2. I have a docker container named "pia" from docker image qmcgaw/private-internet-access. This works great and i would like to use it as my master PIA VPN connection. As of 6.8.2 6.8.3, To use this as network in other containers i simply run "docker network create container:pia" and select "custom:container:pia" from the network dropdown. This is working well for me. My question is how can make a VM take advantage of this pia docker container too? Is there an equivalent " --net=container:pia" option i can set to the VM/network config? I have already tried using Tinyproxy and ShadowSocks that are built into the pia container and connected to them with a W10 VM. It worked and had good throughput, but there were some things it did that didn't give me a strong trust windows was sending everything over the proxy. For this reason, direct (transparent) connection is a must. I don't want to use software installed on the VM OS or set the OS to use a proxy where either of them may leak. I want the VM's OS to see it as a standard VM NIC where all traffic will get tunneled to the pia docker container and out to the PIA servers. I'm thinking this would have to be done with the use of VLANs but i'm not 100% sure if needed or possible. Before i dive into this further I figured i better stop and ask. Anyone know how? Thanks!
  3. Dang. While I was planning on connecting my 3.5 disk shelf via an extra LSI HBA, I was also hoping to use the internal P420i to manage the front 2.5 bays. And actually i was trying to save myself a step by mounting the existing hardware created RAID5 volume with Unassigned Devices so i could check for data before i nuke that array for setting to JBOD. That's if the tutorials i found online of forcing this controller to HBA mode actually work.. I'm riding on a lot of IFs at this point so i don't expect his to work as i was planning but i will test it out. Thanks for putting your previous HP information together in a convenient place. Was an insightful read as a ProLiant owner.
  4. I am kicking around the idea of putting UNRAID on my unused HPE ProLiant DL385p Gen8 and was doing some initial testing. Immediately I ran into a problem shutting down. It starts just fine and proceeds slowly. it get to the point where the screen output says "umount: /boot unmounted". This is where it appears to hang. After about five minutes the server's alarms start going off with a critical array controller failure. The only thing i can do at this point is pull the power. It may be important to know that the cursor on UNRAID's output is continuing to flash up until i pull power. The server is 6.6.7 with UEFI USB media created via the UNRAID tool. There are ho hard disk present in the system at the time of testing, just the boot flash drive. I do have the Community Apps and Unassigned Devices installed as i was shutting down to add disks when i discover this problem. I have made and attached a diagnostics but i don't know how useful they will be as this is a blank installation with no disks and the problem happens at shutdown. Let me know if there is a better diagnostic output i should run/capture. Thanks. hpe-diagnostics-20190306-0844.zip
  5. Agh it is natural sort, you are right. I read up on it before and thought i understood it, but i was wrong. I thought natural sorting only applies to numbers so a 10 would come after 9 and so on. With that now known, if i add the V and f options to the sort command i can get: 012 AaBbCc ( ) [ ] { } Its closer but still not exactly like the webgui Any idea how to get parentheses and square brackets to come between the numbers and letters? Here is a snippet i was playing around with. #!/bin/bash Folder="Test" oldIFS="$IFS" IFS=$'\n' for Subfolder in `ls -d /mnt/user/"${Folder}"/*/ | sort -t/ -Vf`; do SubfolderSize=$(du -sb "${Subfolder}" | cut -f1) TotalSize=$((TotalSize+SubfolderSize)) DirCount=$((DirCount+1)) echo -n "${Subfolder}" is folder number "${DirCount}" and is" " echo "${SubfolderSize}" | numfmt --to="iec" done IFS="$oldIFS" echo -n "${Folder}" has "${DirCount}" folders and is" " echo "${TotalSize}" | numfmt --to="iec"
  6. Hello, I trying to write a bash script that will generate a report about one of my unraid shares. Inside is a FOR IN loop that points to the shared folder. By default the FOR IN loop searches the directory in ASCII order for example: ( ) 012 ABC [ ] abc { } However, in the WebGui if i browse the disk or shared folder and select ascending by name i get: 012 ( ) [ ] AaBbCc { } I do not know what this type of sorting order is called and couldn't find anything that matched when searching online so this is my first part of my question. What is it called? The second part is how can I write my FOR IN loop to use this order?