Jump to content

JorgeB

Moderators
  • Posts

    63,741
  • Joined

  • Last visited

  • Days Won

    674

Everything posted by JorgeB

  1. I believe rsync also has a sparse flag, users with vdisks on the array should use it.
  2. If the vdisk was sparse before it's not now, that's the different, you can make it sparse again by using: cp --sparse=always /path/to/source.img /path/to/destination.img
  3. How do you reformat an existing xfs disk as xfs? Do these steps twice by formatting with a different filesystem first, then putting it back to xfs? Yes.
  4. Turbo write should be a little faster than normal writes but because the source disk has to alternate between reading the data to copy and data do update parity it's considerably slower then normal turbo writes, IIRC it maxes out at ~60MB/s.
  5. That means you used: rsync -avPX /mnt/disk2 /mnt/disk3/ It's missing one / at end of disk2 If you want to disable parity stop array, unassign parity, start array, then re-assign it in the end, a parity sync will begin (obviously you'll be unprotected during the conversion)
  6. Most times cycling the UD security setting fixes it: Settings -> Unassigned Devices -> Enable SMB Security Change to Yes, apply, back to No and apply again.
  7. My issue at the time was not unRAID related.
  8. I'm using 1.26 sent by Supermicro support because of another issue, you can try and ask for it.
  9. I have an X11ssm-f but only get the "error clearing flags", try updating the BMC firmware.
  10. That flag is only needed to turn a non sparse file into one, if the backup is sparse you can use just cp without any flag.
  11. In general, the root user has no special access to network shares, so if you try to use root as a login it will just be given the same access as any anonymous user. Notice when you try to setup security for any share that root is not one of the users you can select. For this specific example, what do you have for Settings - Unassigned Devices - SMB Security? If you disable SMB Security your Unassigned Devices will have public access. If you enable SMB Security your Unassigned Devices will have whatever access you give to whatever users you give them to, but Windows won't actually let you change logins to network shares easily, even though it may give you a login prompt. See this post. Sometimes cycling the UD security setting fixes it: Settings -> Unassigned Devices -> Enable SMB Security Change to Yes, apply, back to No and apply again.
  12. Cool, I think this can be very useful for some scripts.
  13. This was for another script, the one I use to make an offline snapshot of all my VMs, unlike the online snapshot script that runs daily and deletes snapshots older than 7 days the offline script doesn't run on a schedule because I have to shutdown all VMs first, I try to run it manually once a week or any time I need to shut them down for other reasons, like when there's an unRAID update, so I wanted an easy way to choose the previous offline snapshot as source for the incremental update and also delete the older one based on the date on the folder name, I know almost nothing about scripts but I'm good at googling, so I found a way of doing this automatically that although I bet it's not elegant or close to the best way, it suits my purpose.
  14. Did the changes for rc9 and it's working great, thanks again. Anyway to run a script that asks for user input? Similar to using read on the console, I'd like for it to ask for a couple of variables that would then be used in the script. If it's not possible or easy to do just let me know and I'll do it a different way. Forget this, it would be much better to use the script to find the variables I want based on the folder names, I'll just need to google how to do that.
  15. Was this feature removed? I'm using latest preclear and trying to stop the array during a preclear doesn't work anymore, stuck on sync filesystems... PS: Any way to check preclear progress using the console?
  16. I've checked there and it has been on Real-time. To make sure I'm not mistaken here, does everyone's Reads/Write on the Main page update in real time? Mine does not, or even the device status when a new drive powers up I don't see the green status light. I open a separate window and stream a file and nothing changes in the browser until I hit the F5 key. The System Status works in the Dashboard but the Statistics/Array Status does not. Dynamix in v5 worked in real time for Reads/Writes. When I'm on the Main page I do see some network traffic coming in, about 113kbps every 3 seconds. The network traffic goes away when I go to a different tab or close the browser. So it's like the data is being sent then received, but it's just not being displayed. "Real time" stats on v6 are updated about once every minute. For the devices spin up/down status go to Settings -> Disk settings -> Tunable (poll_attributes), default is very high at 1800 secs, adjust to lower value like 60, don't set it too low or it will have a negative impact on parity check speed.
  17. Yes, total bandwidth will be shared by the drives in use. Sent from my SM-A500FU using Tapatalk
  18. Not a big deal but I'm getting a line displayed when I execute one of those scripts, is it normal?
  19. I'm getting low read speeds from my unRAID server, is there a fix? There's an issue with Samba included with unRAID v6.2 or above that with some hardware configurations may give slower than normal read speed for Windows 8/10 (and related server releases) clients, my tests indicate that the HDD brand/model used is one of the main factors, write speed is not affected, Windows 7 clients are also not affected. To fix the issue add to "Samba extra configuration" on Settings -> SMB: * max protocol = SMB2_02 Stop and re-start array for changes to take effect, Windows clients may need to reboot to reconnect. Unrelated to this, 10GbE users should make two more changes for better overall performance (reads and writes): 1-Change NIC mtu do 9000 (unRAID server and any other computer with a 10GbE NIC) 2-Go to Settings -> Global Share Settings -> Tunable (enable direct IO): set to Yes ** * Should not be needed/make a difference in Unraid v6.5.x or newer ** Unlikely to make much of a difference starting with Unraid v6.8.x or newer due to changes in FUSE. This last one may also improve performance for gigabit users in some hardware configurations when reading from user shares.
  20. Assign the disk to the cache slot or leave it unassigned and use the unassigned devices plugin.
  21. Yes, I want to keep the log window open and clear the screen before it's updated, instead of showing one after the other, but if it's not an easy thing don't worry about it, it's not a big deal.
  22. This would do but I'm getting: rm: cannot remove '/tmp/user.scripts/tmpScripts/scrub_status_disks/log.txt': No such file or directory
×
×
  • Create New...