thanhtran

Members
  • Posts

    69
  • Joined

  • Last visited

Everything posted by thanhtran

  1. Hi Scottc, It runs ok on your system right ? Something is wrong with my unRAID Bash program ? At this point , Do I need to reinstall Bash program ? thanks You just need to fix your script file to get rid of the ^M. I usually just use the file view and file edit functions in mc (Midnight Commander). If you view or edit your file I think you will find the problem. Thanks trurl, After download Midnight Commander then open the script I see ^M there, and after delete these characters, the script works... thanks very much. But I don't know why when I run my script to encode my video (This script worked before) now it doesn't work any more. Time to investigate !!! Midnight Commander is already built-in to unRAID. Why did you download it? Midnight Commander build in unRAID ? Really. Anyway I just modify my bash script and fixed problem . Before upgrade my bash script work ok, but after upgrade to 6.1.2 bash environment change example set path directory in and out for HandbrakeCLI must in "". Everything is ok now, thank you guys.
  2. Hi Scottc, It runs ok on your system right ? Something is wrong with my unRAID Bash program ? At this point , Do I need to reinstall Bash program ? thanks You just need to fix your script file to get rid of the ^M. I usually just use the file view and file edit functions in mc (Midnight Commander). If you view or edit your file I think you will find the problem. Thanks trurl, After download Midnight Commander then open the script I see ^M there, and after delete these characters, the script works... thanks very much. But I don't know why when I run my script to encode my video (This script worked before) now it doesn't work any more. Time to investigate !!!
  3. Hi Scottc, It runs ok on your system right ? Something is wrong with my unRAID Bash program ? At this point , Do I need to reinstall Bash program ? thanks
  4. I loaded the script that you attached and it definitely has the Windows/DOS end-of-line characters. Even if you originally created it in vi it looks as if at some point you loaded it into a Windows text editor and then saved from that. So my BASH program in my unRAID doesn't work right ? Could you please give me the script that work with your system ( or my simple script that it works), so I can try on my unRAID . I want to make sure unRAID Bash program not any issue, before I troubleshooting other scripts. Thanks very much
  5. Thanks for reply, I created this script by Vi . Thanks
  6. After upgrade to new unRAID OS version 6.1.2 my Bash shell is no longer work. I have a bash shell that it worked before in Bash environment. Yesterday, my unRAID is abnormal acting, it can not write any more even my unRAID server still has a lot of spaces. then I upgrade to newer version 6.1.2, every thing is work normal again, except my bash script does not work any more, even I create very simple program call Basictest.sh ex: #!/bin/bash STRING="Hello World" echo $STRING After run this script it gives error as: -bash: ./Basictest.sh: /bin/bash^M: bad interpreter: No such file or directory What is possible ? Does my Bash program is corrupted ? so what I have to do for It works again . To isolate problem, I post my script . Please run it in your unRAID server to see it works or not ? If It works with your system. So my Bash program need to be reinstall ? to do that, what command to reinstall Bash program. Thanks in advance Basictest.zip
  7. Pducharme, Could you please post the direct link ?
  8. Thank itimpi, without your help, I can not solve my problem.
  9. Thank itimpi , seem all disks access ok ( I just guess, because more than 14 disks and all were high water share, It is hard to tell ). Let's me mount disks and run command line as your suggestion. Please help me . I just finished run command line reiserfsck --check /dev/md4 and I see the message as root@hightower:~# reiserfsck --check /dev/md4 reiserfsck 3.6.24 Will read-only check consistency of the filesystem on /dev/md4 Will put log info to 'stdout' Do you want to run this program?[N/Yes] (note need to type Yes if you do):Yes ########### reiserfsck --check started at Sat May 23 06:43:17 2015 ########### Replaying journal: Done. Reiserfs journal '/dev/md4' in blocks [18..8211]: 0 transactions replayed Checking internal tree.. / 13 (of 15)/ 66 (of 144)/135 (of 160)block 224912409: The level of the node (0) is not correct, (1) expected the problem in the internal node occuredfinished Comparing bitmaps..vpf-10640: The on-disk and the correct bitmaps differs. Bad nodes were found, Semantic pass skipped 1 found corruptions can be fixed only when running with --rebuild-tree ########### reiserfsck finished at Sat May 23 06:53:28 2015 ########### what do I have do next ?
  10. Do I need to put 2tb old disk back at slot # 4 or do I still use new disk to check ?
  11. Thank itimpi , seem all disks access ok ( I just guess, because more than 14 disks and all were high water share, It is hard to tell ). Let's me mount disks and run command line as your suggestion.
  12. Hi all, Hoped some one can help me solve problem. 1 . Last week, I try to transfer file from usb stick to my unRAID server, in middle of process copy files, the unRAID just stopped copy. I logged in unRAID , I see disk # 4 is "unformatted" , I though drive # 4 is bad, and I replace it (2tb) with large drive 3tb. 2. I pre_clear 3tb with command ./pre_clear /dev/sdo without error 3. Bring array on line. 4. Format 3tb , seem can not format it. 5. Rebuld data disk # 4, but drive # 4 still show unformatted in FW (6.12 beta) 5. take array off line, seem can not take all drives to offline state. Last option was reboot from console. 6. Upgrade FW 6RC3 7. Bring array on line. 8. Format 3tb , seem can not format it. 9. Can not bring array to offline, both FW the same problem. 10. What can I do to solve problem ? Please help me out or give instruction what I have to do next. 11. Thanks for help preclear_finish_W1F36MD3_2015-05-21.txt
  13. Please confirm this directory /mnt/docker/downloads is right or wrong ? I'm confusing .
  14. I will probably make a video soon (possibly tomorrow) that will explain how to set up any docker you want. + 1
  15. According to the Upgrade instructions in the Release announcement, you should only need to copy a few files and reboot. Edit: By the way, I'm going to move this thread to the V6 support board soon. Thanks you all to help me solve problem. Specially to RobJ point me to right direction to save my time and effort . To solve this problem I have to upgrade to current version 6.0 beta 12 . After upgrade OS to 6.0.12 my unRAID works normal again, I can flush cache drive and moving files around. Next time if I want to upgrade, the first thing is upgrade OS to eliminate problem. Again thanks for your helps. regards,
  16. Can I still keep my config files, by copy whole config directory , then restore it back ? I'm new with linux , please help me out. Thanks you
  17. Sorry for my blind, I should post this thread in section unRAID OS version 6.x Support , my mistake. Thanks again
  18. Thanks you, beta 7, and 8 has issues ? is it safe for me to upgrade to beta 12 ?
  19. Hello, I hoped some one can help me out. My disk1 2tb is ran out of space, all 100% use. Yesterday, I upgrade disk 1 to 4tb (Seagate disk). After success upgrade my disk 1 shows Size =4TB, use = 2TB, and Free = 0TB. That's reason when I do manual mover disk, the data in cache drive it doesn't flush all the data because of no space of disk 1 for them to move. I'm upgrade disks couple time, but this time I have problem, Please help me out or give me a suggestion Thanks in advance
  20. thanks you, bro. have a great Thanksgiving .
  21. jumperalex, my HandBrake on my server is working by following your guide. Now,I need to install libdvdcss for HandBrake 64-bit, where is good place to find this library and how to install it . Hope, you can help me out. Thanks