Jump to content

taychive

Members
  • Posts

    6
  • Joined

  • Last visited

Posts posted by taychive

  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)

    Spoiler

    Mar 10 00:22:37 Tower kernel: usb 3-12: USB disconnect, device number 4
    Mar 10 00:23:37 Tower kernel: usb 3-12: new high-speed USB device number 7 using xhci_hcd
    Mar 10 00:23:37 Tower kernel: hub 3-12:1.0: USB hub found
    Mar 10 00:23:37 Tower kernel: hub 3-12:1.0: 4 ports detected
    Mar 10 00:23:37 Tower kernel: usb 3-12.3: new high-speed USB device number 8 using xhci_hcd
    Mar 10 00:23:37 Tower kernel: usb-storage 3-12.3:1.0: USB Mass Storage device detected
    Mar 10 00:23:37 Tower kernel: scsi host2: usb-storage 3-12.3:1.0
    Mar 10 00:23:38 Tower kernel: scsi 2:0:0:0: Direct-Access     SanDisk  Extreme          1.00 PQ: 0 ANSI: 6
    Mar 10 00:23:38 Tower kernel: sd 2:0:0:0: Attached scsi generic sg2 type 0
    Mar 10 00:23:38 Tower kernel: sd 2:0:0:0: [sdc] 122552320 512-byte logical blocks: (62.7 GB/58.4 GiB)
    Mar 10 00:23:38 Tower kernel: sd 2:0:0:0: [sdc] Write Protect is off
    Mar 10 00:23:38 Tower kernel: sd 2:0:0:0: [sdc] Mode Sense: 43 00 00 00
    Mar 10 00:23:38 Tower kernel: sd 2:0:0:0: [sdc] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
    Mar 10 00:23:38 Tower kernel: sdc: sdc1
    Mar 10 00:23:38 Tower kernel: sd 2:0:0:0: [sdc] Attached SCSI removable disk
    Mar 10 00:23:38 Tower unassigned.devices: Disk with serial 'Extreme_4C530001010308101401', mountpoint 'Flash' is not set to auto mount.
    Mar 10 00:23:58 Tower emhttpd: SanDisk_Extreme_4C530001010308101401-0:0 (sdc) 512 122552320
    Mar 10 00:23:58 Tower emhttpd: read SMART /dev/sdc
    Mar 10 00:24:03 Tower unassigned.devices: Adding disk '/dev/sdc1'...
    Mar 10 00:24:03 Tower unassigned.devices: Mount drive command: /sbin/mount -t ntfs -o rw,auto,async,noatime,nodiratime,nodev,nosuid,nls=utf8,umask=000 '/dev/sdc1' '/mnt/disks/Flash'
    Mar 10 00:24:06 Tower ntfs-3g[37851]: Version 2017.3.23 integrated FUSE 27
    Mar 10 00:24:06 Tower ntfs-3g[37851]: Mounted /dev/sdc1 (Read-Write, label "Flash", NTFS 3.1)
    Mar 10 00:24:06 Tower ntfs-3g[37851]: Cmdline options: rw,noatime,nodiratime,nodev,nosuid,nls=utf8,umask=000
    Mar 10 00:24:06 Tower ntfs-3g[37851]: Mount options: rw,nodiratime,nodev,nosuid,nls=utf8,allow_other,nonempty,noatime,default_permissions,fsname=/dev/sdc1,blkdev,blksize=4096
    Mar 10 00:24:06 Tower ntfs-3g[37851]: Global ownership and permissions enforced, configuration type 1
    Mar 10 00:24:06 Tower unassigned.devices: Mount warning: The disk contains an unclean file system (0, 0). The file system wasn't safely closed on Windows. Fixing. 
    Mar 10 00:24:06 Tower unassigned.devices: Successfully mounted '/dev/sdc1' on '/mnt/disks/Flash'.
    Mar 10 00:28:49 Tower unassigned.devices: Unmounting disk 'Flash'...
    Mar 10 00:28:49 Tower unassigned.devices: Unmounting '/dev/sdc1'...
    Mar 10 00:28:49 Tower unassigned.devices: Unmount cmd: /sbin/umount '/dev/sdc1' 2>&1
    Mar 10 00:28:49 Tower ntfs-3g[37851]: Unmounting /dev/sdc1 (Flash)


    Mar 10 00:47:40 Tower unassigned.devices: Unmounting disk 'Flash'...
    Mar 10 00:47:40 Tower unassigned.devices: Unmounting '/dev/sdc1'...
    Mar 10 00:47:40 Tower unassigned.devices: Unmount cmd: /sbin/umount '/dev/sdc1' 2>&1
    Mar 10 00:47:40 Tower unassigned.devices: Unmount of '/dev/sdc1' failed. Error message: umount: /mnt/disks/Flash: not mounted. 
     

     

    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!

×
×
  • Create New...