dcoens

Members
  • Posts

    51
  • Joined

  • Last visited

Everything posted by dcoens

  1. Something is wrong: code definitely uses 'xfs_repair', never used 'xfs_check'. Where are you seeing this message? Looks like the xfs_check is on its way out the door and replaced with xfs_repair -n. If if did: xfs_check /dev/sdg1 it returns: xfs_check is deprecated and scheduled for removal in June 2014. Please use xfs_repair -n <dev> instead. xfs_repair -n /dev/sdg1 works just fine. however its still in the man pages "xfs_check and xfs_repair can be used to cross check each other": http://xfs.org/docs/xfsdocs-xml-dev/XFS_User_Guide//tmp/en-US/html/ch11s02.html found this: https://bugzilla.redhat.com/show_bug.cgi?id=1029458
  2. A interesting note in 6b8: If you try xfs_check ( the primary tool for checking XFS disks) it returns with "xfs_check is deprecated and scheduled for removal in June 2014. Please use xfs_repair -n instead."
  3. A interesting note here is in 6b7, if you try xfs_check it returns with "xfs_check is deprecated and scheduled for removal in June 2014." it appears that xfs_repair -n will become the primary tool. I've read that XFS is extremely good with large files and very low CPU usage. I primarily have large files and am using an ATOM processor. Soo, I already started the move and have one more HD to switch over from RFS to XFS. I use the BTRFS on my cache drive using docker and plex. As long as I keep the library (many small files reads and writes) on that file system, I'll be good.
  4. I run a headless server and it every several days it disconnects. So I run the powerdown script via pressing the power button. The server will start back up and everything is ok. I just fixed the "Volume was not properly unmounted. Some data may be corrupt. Please run fsck" error by putting the USB into a windows machine and fixing the errors today. I wouldn't think that would cause the eth0 from disconnecting though. syslog attached. Any ideas as to why? UNRAID version 5.05 Thanks Dave syslog-20140514-204125.txt
  5. I have a share for each user in my household. They all use unraid to store their homework and personal files on each of their personal space (share) that only they only have access to. If they delete something accidentally, they know where to get it (fail safe). In addition if someone deletes a common share file, I can still retrieve it. Unraid with its parity drive makes it nice to use instead of using the unprotected drive on each separate computer. This approach has worked out well.
  6. Are you thinking something like the swapfile.plg? Something that is configurable via a page with optional inputs to how your recycle bin would be setup? I know some like the one location for recycle bin while some (like me) likes a "top level per share" The nice thing is that all these setting could be placed into the smb-extra.conf file. then do a stop / start of the share /etc/rc.d/rc.samba restart for it to take effect. That would be great!
  7. 1. Edit file with something like "notepad2" for windows. 2. smb-extra.conf need to be Windows \\Tower(your_unraid_name)\flash\config or Telnet /boot/config folder. 3. Use attached or edit it using the websites provided below. 4. I always manually delete files in the ".Recycle.Bin" folder (using my script it will be at the top level of the share). the below is contained in the smb-extra.conf file. # Recycle options # http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/VFS.html#id2651247 # Recycle varibles # http://www.samba.org/samba/docs/man/manpages-3/smb.conf.5.html#idp52823744 # My usage # %S the name of the current service, if any. (which in unRaid equals the user share name), eg. Storage # %P the root directory of the current service, if any. eg /mnt/user/Storage # %u Username of the current service: will place users name who deleted the file/s # To apply changes execute: /etc/rc.d/rc.samba restart or restart unraid box [global] vfs objects = recycle recycle:repository = %P/.Recycle.Bin/%u recycle:keeptree = Yes recycle:touch = Yes recycle:touch_mtime = Yes recycle:versions = Yes recycle:exclude = *.tmp recycle:exclude_dir = .Recycle.Bin Note: recycle: repository - Remove the "."Recycle.bin if you don't want it hidden when you delete a file and recycle:exclude_dir Remove the "."Recycle.Bin smb-extra.conf
  8. @dgaschk Should this be the script of the monthly_parity_check-sh then? #line would be removed. Also what does "test" do or is their a simpler line to replace it with #!/bin/sh crontab -l >/tmp/crontab grep -q "/root/mdcmd check" /tmp/crontab 1>/dev/null 2>&1 if [ "$?" = "1" ] then echo "# check parity on the first of every month at midnight:" >>/tmp/crontab echo "00 00 01 * * /root/mdcmd check NOCORRECT 1>/dev/null 2>&1" >>/tmp/crontab test -f /var/spool/cron/crontabs/root- && cp /tmp/crontab /var/spool/cron/crontabs/root- # cp /tmp/crontab /var/spool/cron/crontabs/root- crontab /tmp/crontab fi
  9. Can someone validate that by five preclear disks are good to go with the preclear process Thanks There is a start / report and finish I am not sure what I am suppose to look for. dcoens_preclear_reports.zip
  10. Thanks @garycase Ok, I removed the "cache" in the main Web GUI. I do admit that I was looking in the Shares section and didn't know where the "cache" was getting its share from. However, Other folks should know that this possibility exist or have the "cache" share disabled by default when you add a "cache" disk for this identified security reason.
  11. It is confirmed on my system that IS the case, but why is there a share of "cache" to be accessed by all (no security) during this period before the mover script. If this a glitch, maybe a moderator can move this to the unRAID OS 5.x Issue List. Thanks
  12. Possible Security concern: I have added cache drive and I noticed that a "cache" share showed up. I then checked /etc/samba/smb-shares.conf and it has a [cache] section with: [cache] path = /mnt/cache comment = Disk share browseable = yes public = yes writeable = yes This mean that if I have a file that I write onto a secure/private share with the "Use cache disk" set to yes, then when the file writes to a secure/private share, it will show up under the "cache" share until it moves the file with the mover script. can someone confirm this? latest version 5.0 is being used
  13. I voted releasing rc16b I have kept up with the RC's until rc16x was released where this was a version only the willing (send tom an email to get a copy) for serious testing of data loss. I think that it would be a fair shake for us "general" users to run rc16b just to be sure of any other conditions that could arise. like nars found out a day or so before rc15 went to final 5. nars figured this was just in the nick of time.
  14. I have the all of the plg files in the flash\config\plugins folder and it does not install on reboot. I have also tried to do it manually and it also fails. What am I missing? root@coensserver:/usr/local/sbin# installplg simpleFeatures.core.webGUI-1.0.5-noarch-1.plg installing plugin: simpleFeatures.core.webGUI-1.0.5-noarch-1 Warning: simplexml_load_file(): I/O warning : failed to load external entity "simpleFeatures.core.webGUI-1.0.5-noarch-1.plg" in /usr/local/sbin/installplg on line 13 xml parse error root@coensserver:/usr/local/sbin#
  15. I made the changes, but without the code: mkswap -f /dev/sdg Note: My USB drive has changed since my last post to /dev/sde. You are right about this command being a dangerous/unforgiving command if you are not correct about the drive, you will have destroyed the drive on witch it is assigned. The swapon and swapoff will just error out if the drive is not swap drive. now the dynamic part: if the script could check for where a swap drive/partition or file is and then assign the swapon/swapoff, that would be great.
  16. This is great! I had posted this link some time ago into a lime-technology forum. http://lime-technology.com/forum/index.php?topic=1595.msg190521#msg190521 How can I incorporate a swap disk (like my swap USB stick) into your plg file?
  17. You can disable your bios detection of an option boards by going to the motherboards bios, under Advanced, disable option ROM scan. This is how my older TYAN dual CPU board was. I had to do this for other reasons though.
  18. This is how I have mine setup: The recycle.bin is always in the root folder of the share and the user on who deletes the file/folder is shown. This works great for me. some of the topics for reference is #commented # Documentation http://www.samba.org/samba/docs/man/manpages-3/smb.conf.5.html # Forum topic http://lime-technology.com/forum/index.php?topic=5446.0 # %S Samba share name (which in unRaid equals the user share name), eg. Storage # %P User share full path, eg /mnt/user/Storage # %u Username of the current service, if any # To apply changes execute: /etc/rc.d/rc.samba restart # If the single custom bin solution is chosen, create the dir manually, and grant it g+rwx permissions [global] vfs objects = recycle recycle:repository = %P/.Recycle.Bin/%u recycle:keeptree = Yes recycle:touch = Yes recycle:touch_mtime = Yes recycle:versions = Yes recycle:exclude = *.tmp recycle:exclude_dir = .Recycle.Bin
  19. As a newb, I see that a plg is a plugin and a tzg is a package. in either case it was pretty straight forward. I have simple features install vs unmenu and thus not sure on the how to as darkside40 recomendation . That would be great if darkside40 wrote a how to and have it as a plugin or work with simplefeatures. I do not wish to have my unraid server issue out ip address since I do not have it running 100% of the time.
  20. I wanted to do the same thing and I ran across this on the internet. http://stuffbyjeroen.blogspot.com/2011/07/using-unraid-server-to-pxe-boot.html I do not know if jeroen is in this forum, but this is some nice work from him and he should be noticed. He had created a plugin - only not posted in the RC5 plug ins directory.
  21. This is an old thread, but I had the same question and had to figure it out the long way. I thought that I would share my process and results. First off I only have 1MB of memory installed and wanted to get a swap partition so it would stop killing my apps. I simply installed a second USB stick (2MB) as I did not want a swap file on my unraid USB (swap files are hard on USBs over the long term (read/writes)). I did not care about the add on USB stick since they are cheep although they may not be as fast. Anyhow this method worked great and my system has a 2MB swap partition and now I can run many more addons. Its been running for 2 months now with no issues. I am using unraid version 5 RC-5. 1. Need to find out what your USB stick name is... cat /proc/partitions this will get a list of drives. you just need to figure out what witch one is the USB. I just looked for the 2MB one. 2. Need to make a swap drive. WARNING the -f will erase any drive that is put after the /dev/. you,ve been warned! mkswap -f /dev/"drive from above" mine line was mkswap -f /dev/sdg 3. Need to make your system use the swap partition. swapon /dev/"drive from above" so my line was swapon /dev/sdg 4. now you can confirm that it is working by using "top" as it shows memory and all processes. Note CTRL C to quit top. top