Jump to content

Kosmos

Members
  • Posts

    19
  • Joined

  • Last visited

Posts posted by Kosmos

  1. Hey everyone,

    how can I set the directory of my persistent container data to be in the appdata folder on the array?

     

    right now, the compose file is created on the boot usb device and all my paths in the compose file are relative to it.

    However, I'd like to store the data in the same location as the "normal" docker implementation.

     

    I found working_dir and context but received errors on trying it.

     

     

    Btw. can I circumvent the error

    "Configuration not found. Was this container created using this plugin?"

    when updating the container from the gui?

     

    Best regards

  2. On 9/8/2021 at 6:26 PM, JorgeB said:

    Correct.

     

    Not sure why that device is not being decrypted, it's being detected so it should also be decrypted, but I've never used encryption, so not familiar that with how it works, could be an Unraid bug, if you have a different device test with that, if it works it was likely a device problem, if it's the same it's likely a bug.

    In my opinion, it could be both.

    It appears, the partition information is lost at some point, so Unraid does not detect there is a cache partition on the ssd.

    As a consequence, nothing can be decrypted. However, the problem appears without encryption as well.

    I tried to change the sata controller and cable as well, but it didn't help either.

     

    Anyway, I wonder why this particular disk is recognized correctly sometimes, but sometimes not after reboots.

    So either unraid is not reading the disk correctly,

    or the ssd is resetting/deleting it's partition (headers) sometimes for unknown reasons...

     

    I attached a screenshot of the unassigned drives after the problem occured (encryption lock symbol and partition gone)
    and a SMART report of this ssd as well.

     

    Screenshot 2021-09-15 133926.png

    server-smart-20210915-1213.zip

  3. It should be decrypted only after entering the password and starting the array, right?
    However, Unraid doesn't show the encrypted volume properly before starting the array, already (after boot)

     

    Also, when usind the "failing" ssd in another pool (single, not raid) it's working properly.

    The combination of the "failing" ssd with a different HDD continued to fail,

    but the combination of the other "working" ssd with the other HDD did not fail after many reboots.

    (logs attached)

     

    So it seems to me that this particular disk is not working properly in a (encrypted) btrfs raid1 (pool).

    Could it be due to the pcie -> sata addon card they are attached to (all 3)?

     

    I may try to change ports or use the pool without encryption.

    1a_before-reboot-diagnostics-20210830-2036.zip 1b_after-reboot-diagnostics-20210830-2100.zip 2a_before-reboot-diagnostics-20210901-1613.zip 2b_after-reboot-diagnostics-20210901-1735.zip 3a_before-reboot-diagnostics-20210901-2343.zip 3b_after-reboot-diagnostics-20210901-2351.zip

  4. Hey everyone,

    thanks for sticking with me.

    In the meantime, I moved my hard drives to completely new hardware.

    The problem persists: Sometimes after reboots, the encryption symbol of the second cache disk goes missing and when the array starts, it's throwing the "missing disk" errors.

    Furthermore, I have a feeling that it appears more often when there was data written to the disk before rebooting - maybe a coincidence and not a causality...

     

    When I changed the disk order in the pool, the disk went missing as well, unfortunately losing all its data.

     

    This leads me to the conclusion that the ssd (controller) is damaged.

    I will continue to try and grab logs before and after a reboot with the problem occuring.

  5. On 6/16/2020 at 6:28 AM, tmchow said:

    Even more so, the Unraid Web UI for the VMs is also slow. I get the perpetual loading screen sometimes and the VM list can take minutes to load.  Sometimes it won't load at all. If the parity check isn't running, things are super smooth.  

    Hey,

    did you ever find out what's the issue with the slow ui during heavy hdd loads?

    Best regards

  6. 3 minutes ago, JorgeB said:

    That is strange, I do see some data corruption detected, you should run memtest and then a scrub on the pool, other than that next time grab diags before rebooting (stop the array, grab diags, then reboot) and new diags after rebooting if the same thing happens.

    Thanks for looking into this 😃

    I will try to get the logs in this order (after my vacations).

    From the current point of view, do you think it's some hardware failure?

    Best regards

  7. On 7/15/2021 at 8:30 AM, JorgeB said:

    Now it's working correctly, if it stops working I'd need to see the diags showing the problem, before rebooting.

    Alright, it just started happening again. Here is a log.

    The thing is, it only occurs after restarts - not while running, so I can't really provide logs from before.

    One thing i noticed is the encryption symbol (green lock, left from the pool name) was there before the reboot and now is gone.

    So maybe it's some issue with the drive header being corrupted?

    server-diagnostics-20210716-1300_again.zip

  8. 1 hour ago, JorgeB said:

    2nd device wasn't added to the pool, try again, stop array, unassign sdi, start array, stop array, re-assign sdi, start array and post new diags.

    I tried this previously as suggested by some other post (and intended to point out with "When setting up the pool (again) everything works fine"), but it didn't help making the pool consistent over reboots/time.

    The last time I tried this, the problem reoccured after a while.

    I checked the SSD but it seems OK, data is stored persistently for a week even without power.

    server-diagnostics-20210714-1857-newpool.zip

  9. Greetings everyone,

     

    I do have a similar problem, but there is a key difference: Only after rebooting the server, my cache pool device can not be reassigned.

     

    So my server starts throwing this error message every minute: Cache pool BTRFS missing device(s).

    Then of course the "pool" continues on a single drive only. Logs below.

    Consequently, I can not run the balance command to raid1.

    The pool size is displayed as the sum of both drives, which should not be the case, free space is displayed correctly, though.

    When setting up the pool (again) everything works fine with raid1 and r/w access.

     

    Curiously, the missing device is displayed as the one continuing to work. But maybe thats just for identification of the respective pool.

    When I'm using the SSDs individually, they work as intended.

    They are even attached to the same SATA controller.

     

    I'm happy to get your opinions.

    Best regards

     

    UNRAID Version: 6.9.2 

    Quote

    Jul 14 10:32:54 Server emhttpd: shcmd (1418): mkdir -p /mnt/ssd2cache
    Jul 14 10:32:54 Server emhttpd: /mnt/ssd2cache uuid: 45e569e9-eb23-4a71-a966-df286a5e680a
    Jul 14 10:32:54 Server emhttpd: /mnt/ssd2cache TotDevices: 2
    Jul 14 10:32:54 Server emhttpd: /mnt/ssd2cache NumDevices: 2
    Jul 14 10:32:54 Server emhttpd: /mnt/ssd2cache NumFound: 1
    Jul 14 10:32:54 Server emhttpd: /mnt/ssd2cache NumMissing: 1
    Jul 14 10:32:54 Server emhttpd: /mnt/ssd2cache NumMisplaced: 0
    Jul 14 10:32:54 Server emhttpd: /mnt/ssd2cache NumExtra: 1
    Jul 14 10:32:54 Server emhttpd: /mnt/ssd2cache LuksState: 1
    Jul 14 10:32:54 Server emhttpd: shcmd (1419): mount -t btrfs -o noatime,space_cache=v2,discard=async,degraded -U 45e569e9-eb23-4a71-a966-df286a5e680a /mnt/ssd2cache
    Jul 14 10:32:54 Server kernel: BTRFS info (device dm-8): turning on async discard
    Jul 14 10:32:54 Server kernel: BTRFS info (device dm-8): allowing degraded mounts
    Jul 14 10:32:54 Server kernel: BTRFS info (device dm-8): using free space tree
    Jul 14 10:32:54 Server kernel: BTRFS info (device dm-8): has skinny extents
    Jul 14 10:32:54 Server kernel: BTRFS warning (device dm-8): devid 2 uuid aae9367d-7288-498d-a637-35cbb816dd99 is missing
    Jul 14 10:32:54 Server kernel: BTRFS warning (device dm-8): devid 2 uuid aae9367d-7288-498d-a637-35cbb816dd99 is missing
    Jul 14 10:32:54 Server kernel: BTRFS info (device dm-8): enabling ssd optimizations
    Jul 14 10:32:54 Server emhttpd: shcmd (1420): /sbin/btrfs device delete missing /mnt/ssd2cache && /sbin/btrfs balance start --full-balance /mnt/ssd2cache &

    [...]

    Jul 14 12:28:32 Server ool www[26914]: /usr/local/emhttp/plugins/dynamix/scripts/btrfs_balance 'start' '/mnt/ssd2cache' '-dconvert=raid1,soft -mconvert=raid1,soft'
    Jul 14 12:28:32 Server kernel: BTRFS error (device dm-8): balance: invalid convert data profile raid1

     

    Screenshot 2021-07-14 124344.png

    server-diagnostics-20210714-1540.zip

  10. Hey, thanks for your replies 😃

     

    7 hours ago, Batter Pudding said:

    Does it work if you use \\IP-Address ?  Quicker without the names?

    Actually, yes. IP seems working fine. So your guess with Master Browser might be correct.

    When I go to SMB settings, master browser election works quite fast.

     

    Quote

    1\ On the UNRAID server did you tick the "make master browser option"?  Try doing the opposite setting.

    2\ Is every computer on the same Workgroup - and be careful as WORKGROUP and Workgroup can sometimes be different.  I always stick to ALL CAPS

    3\ On the Windows machine what do you see in Network on Explorer?  Do you see all the machines listed or are some missing?

    1\ I tried, but nothing changed.

    2\ yes, they are and all caps.

    3\ yes, I see all of the computers right away. Besides, there are some "other", "multimedia" and "network infrastructure" devices.

     

    4 hours ago, Frank1940 said:

    One thing to look at is the time required for changes to propagate through the chain. 

    How would I do that? Is there some Windows tool for that?

     

     

    Anyway, I wouldn't mind about the initial delay, if the connection wouldn't drop from time to time.

    Any idea about that?

     

    Best regards 😃

  11. Hey everyone,

    I think I'm having a weird issue with my SMB Shares and I couldn't find anyone describing the same problem.

    There are several topics about access restrictions regarding the smb version or other authentication problems.

    Also, I've read about the Lanman settings in gpedid, but all of the solutions apply if you couldn't connect to the shares at all.

     

    My problem is a little different, but easy to describe:

    The first time I try to access the network share from Windows 10, I get an error: \\server could not be accessed (network path was not found), BUT:

    After approx. 30 seconds, it suddenly works fine.

     

    After a while, the connection drops (even when streaming files) again for about 30 sec. Repeatedly.

     

    The same problem from all Windows 10 machines.

     

    From Ubuntu, it works instantly, so I guess it is a Windows -> SMB thing.

    Disk spin down should therefore not be the reason, either.

    Also, in the Windows "Network" folder overview, the server appears right away.

    Any other connection, such as web interface, docker access, etc. do work smoothly and without interruptions.

     

    I'm glad if someone has a suggestion.

    If you need more info, please let me know 😃

    Best regards

  12. Hey everyone,

    I think I'm having a weird issue with my dockers, and I couldn't find anyone describing the same problem.

     

    What I'm trying to do:

    Connect container A through a privoxy container B (vpn) to the internet.

     

    Error message (in firefox docker) is "Proxy server refused connection"

    In the privoxy docker logs no connection attempts show up.

     

    Strangely, this is the only "thing" that's not working. All of the following scenarios worked just fine:

    - Connecting container A to the internet via B with network "none" and --net=container:privoxy option

    - Connecting container A to the internet via another privoxy container.

    - Connecting container A to the internet directly.

    - Connecting a virtual machine to the internet via privoxy container B. It didn't matter if I set the proxy system-wide or in firefox only.

     

    Also, all of the above is happening when configuring the privoxies' network either as

    bridged with port mappings, or

    on custom:br0 with individual IP and standard ports.

    The same result for http and socks5 proxy.

     

    Enabling host access to custom networks (docker settings) didn't change anything, as suggested by the privoxy docker maintainer.

    He said my config should be ok, as it's running perfectly well on his machine...

     

    Actually, when I deleted the privoxy B and installed it from scratch,

    it worked as inteded for the first time I tried. After, it returned to the described behavior...

     

    Setup:

    A: several dockers, e.g. firefox

    B: hideme privoxy (https://hub.docker.com/r/alturismo/wg_hideme_privoxy)

    VM: Windows 10

     

    I'm glad if someone has a suggestion.

    If you need more info, please let me know 😃

    Best regards

  13. I wonder why nobody replied here.

    Anyway, what I think is that you can indeed transfer the key to the new drive since the old one is unusable anyway.

    Furthermore, if you would hypothetically boot from the old USB, it would probably fall back to a trial version or you would simply not be able to start the array, unless you talk to the support.

     

    Regarding your files, nothing should happen to them before starting them in an array.

    So if you don't remember your old assignment order, it would likely be best to mount them with unassigned devices or on another computer and backup the data.

    After, you could try to simply start the old array on the new USB.

     

    All your settings and docker/vm configs will be gone, though the data will likely be there (depending on your previous settings)

     

    Good luck 😃

×
×
  • Create New...