Jump to content

mgutt

Moderators
  • Posts

    11,274
  • Joined

  • Last visited

  • Days Won

    123

Posts posted by mgutt

  1. 3 hours ago, testdasi said:

    Look to be issue with your USB stick but not because /usr/local is on the stick.

    Do a diskchk of your USB stick on a Windows machine to make sure the file system is ok.

    Then boot your server using a different USB port, preferably USB 2.0 port.

     

     

     

     

     

     

     

     

    Ok I'll do both (new stick and use an USB 2.0 port this time). The stick was really old, so this was probably the reason.

     

    P.S. after restarting the server it seem to work again, but I was not able to start the mover. It did nothing. So finally I did a fresh re-install. I hope this does not happen again.

  2. Finally I created the folders manually by CLI.

     

    Steps I did (maybe helpful for someone else)

     

    1.) I set the share to "Manual: do not automatically split directories" (correct?)

     

    2.) Then opened the terminal through Unraid Webclient:

    13272186_2020-04-2116_53_34.png.14806952192982653373b6be941835c9.png

     

    3.) Created the Share Folder "Movies" and the subdirectory "KL":

    1220840814_2020-04-2117_00_11.png.5f2034c37a3a0711705f9116b9b5e301.png

     

    4.) Opened the Unraid Main Tab and viewed the content of Disk3. Everything looked good:

    2078626122_2020-04-2117_01_39.png.e67670b11362b7c20ed5b060d4492909.png

     

    1345489993_2020-04-2117_02_49.png.f48b50fae83e430a32d79a42f631ccd2.png

     

    5.) Installed the CA user scripts plugin. Added a new script with the following content (direct execution by terminal would be possible, too) to fetch the files from the source NAS through FTP (this script is helpful to backup websites as well):

    wget --background --quiet --recursive --level 0 --no-host-directories --cut-dirs=2 --no-verbose --timestamping --backups=0 --user=<ftp_username> --password=<ftp_password> "ftp://10.1.2.3/video/Filme/GH/" --directory-prefix=/mnt/user/Movies

    6.) Added this script multiple times for multiple copy processes on different disks and different folder names (in my case the letters). Then I clicked on "Run in Background" and now I need to wait...

    181490627_2020-04-2117_14_28.png.3a50eafbdec022116157552bacd98dab.png

     

    In the main tab the "Writes" column rises on the corresponding disks, so everything looks good:

    664434655_2020-04-2117_10_30.png.893226a065f23933d3cbd9a44843c3a3.png

     

    7.) Finally I opened the terminal again and typed in "top" to check if there are still active wget process:

    1800044723_2020-04-2117_15_10.png.0df6e27674dc2c0acb736e1093563653.png

     

    So it works now, but I hoped it would copy faster. The maximum is 970 Mbps altough 10G network is used and a parity disk is not set up:

    1333535222_2020-04-2117_30_12.png.18d0cda0940ee7b9c3545ebe7936b73b.png

    10G source:

    1456381396_2020-04-2117_30_44.png.db87e7ef58cde90a8af7c34cc9d5deaa.png

     

     The load looks good as well:

    984344718_2020-04-2117_09_10.png.a80191cb47cd0d325a42ee979d860b21.png

    Source:

    1302972632_2020-04-2117_34_22.png.d6265ba9335cd466e2e68854391aa1d7.png

     

    EDIT: Started a fourth wget process (now copying to four disks at the same time) and now I reach 1.2 Gbps:

    7331250_2020-04-2117_43_19.thumb.png.6941caead39eb04888555f8de500a666.png

     

    This means around 30 MB/s per disk. Much lower than the disks maximum write speed?!

  3. This happend for me, too. How I produced this error:

    Nearly fresh Unraid server with 2 parity disk, 6 data disks and 1 nvme ssd cache. While using wget through the user scripts plugin to get the files from my old NAS I disabled the ssd cache as it would produce unnecessary TBW on the SSD. But as the write speed was really low I dediced on the next day to remove the parity drives as well. So I tried to stop the array. After several minutes it was still not stopped (it was trying to unmount the user shares):

    1577111502_2020-04-2112_31_41.png.7d74a68eb5b4f92b5351dbab05a5cced.png

     

    I thought this was because of the still running wget script. So I removed the ethernet cable, waited several minutes and plugged it in again. Now the traffic monitor did not show anything so I successfully stopped the array.

     

    Now I unselected the Parity Disks:

    1619484044_2020-04-2112_33_22.png.643b5cd9358b4b57a6d83e7fca34e70d.png

     

    and started the Array again. At first it looks promissing:

    1748757948_2020-04-2112_35_16.png.7a8f252fdd5a3f75ed11d3efca778469.png

     

    But on the next click the top left corner missed the server name and description and the disk overview as completely empty so the web clients JS API seemed to be dead now:

    2020-04-21_11-56-07_02-00_1294_1407_984731_1.thumb.jpg.cdf2be051a3d42ed22b97c20b57e8fe9.jpg

     

    Finally I logged out and logged in again and the known error message appeared:

    Warning: session_write_close(): write failed: No space left on device (28) in /usr/local/emhttp/login.php on line 33
    
    Warning: session_write_close(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php) in /usr/local/emhttp/login.php on line 33
    
    Warning: Cannot modify header information - headers already sent by (output started at /usr/local/emhttp/login.php:33) in /usr/local/emhttp/login.php on line 35

     

     

    "usr/local/" is on the usb flash drive, correct? Does it probably mean that the drive is defective or is there a connection regarding the removed parity drives / bug in unraid? What should be my next step?

     

    2020-04-21_11-56-07_02-00_1294_1407_984731_1.jpg

  4. I have multiple movies and they are located in dirs with their starting letter. Example:

    Movies/A/Alien/Alien.mkv

     

    I like to have all "A" movies on the same Disk so I should choose the split level "Automatically split only the top directory level".

     

    Lets say all movies with "A", "B" and "C" fit on Disk 1. What happens if I add more "A" movies and they do not fit on Disk 1 anymore? Does it move all existing "A" movies to a different Disk that has enough space left or does it ignore the split level rule in this situation and create an additional "A" dir on a different Disk?

     

     

×
×
  • Create New...