× NETGEAR will be terminating ReadyCLOUD service by July 1st, 2023. For more details click here.
Orbi WiFi 7 RBE973
Reply

ReadyNAS NV+ performance and file permission issues.

evoblade
Aspirant

ReadyNAS NV+ performance and file permission issues.

I have a NV+ with 4x1TB HDD. Lately its performance is pretty slow. Initially I attributed this to marginal WIFI connection to my router (the NV+ is hardwired), but the other night I connected my laptop up via ethernet cable and confirmed the performance wasn't a fluke. I got about 3.5 MB/s via rsync, which is about what I get with CIFS and NFS.

 

Second issue is file permissions. I noticed these were fouled up when I was using Free File Sync (FFS) to sync up my backup disk to the NAS (I would like to this via USB, but my backup disk is 5TB, so it can't use USB backup on the NV+) and saw that all transfers from the computer to the NV+ were failing. Transfers in the other direction are fine. I have switched several times between user and share over the years, so I'm guessing somehow that got hosed up.

 

At this point, I would kinda like to nuke and pave the NV+, but what do you guys recommend? If I do that, will a factory reset do what I need?

Model: ReadyNASRND4000|ReadyNAS NV+ Chassis only
Message 1 of 24

Accepted Solutions
StephenB
Guru

Re: ReadyNAS NV+ performance and file permission issues.

The fastest method over wired ethernet,using NFS, followed by Windows (CIFS).  Rsync is robust, but not as fast as the other two for full restores.

 

One popular method is to configure the backup as incremental NFS, then edit the job after it completes to use rsync.  Then rerun it.  Running it again should be incremental (and very fast), and it can clean up any mismatches in owner/group/permissions/timestamps.

 

If you are connecting the USB drive directly to the NAS, then local->local is the fastest option.  But that is slower than wired ethernet on the NV+ v1.

View solution in original post

Message 22 of 24

All Replies
StephenB
Guru

Re: ReadyNAS NV+ performance and file permission issues.

What firmware are you running?  Do you have SSH enabled?

 

Also, have you checked the disk smart stats?

 

You can of course back up the data and try a factory reset.

 

 

Message 2 of 24
evoblade
Aspirant

Re: ReadyNAS NV+ performance and file permission issues.

SMART attributes look ok. SSH root access is enabled. I installed it and poked around but i didnt change anything with it. firmware: RAIDiator 4.1.14 [1.00a043] Factory reset keeps my current firmware version or reverts to original?
Message 3 of 24
mdgm-ntgr
NETGEAR Employee Retired

Re: ReadyNAS NV+ performance and file permission issues.

When you update the firmware it is both updated on the flash and on the disks.

So when you do a factory reset it will wipe all data, settings, everything and install the firmware currently on the flash. 4.1.14 would be on the flash on your system at the moment so that is what it would install.

Your system would be returned to the state it would've been in if it shipped from the factory with 4.1.14.

Message 4 of 24
evoblade
Aspirant

Re: ReadyNAS NV+ performance and file permission issues.

@StephenB ,

How does SSH affect performance?

 

 

I cobbled together a backup drive last night. Apparently just having a <2TB partition on a larger drive isn't good enough to get the NV+ to recognize it as USB drive with a valid partition. Hopefully this will give me enough redundancy to feel safe nuking the NV+ with a factory reset.

Message 5 of 24
evoblade
Aspirant

Re: ReadyNAS NV+ performance and file permission issues.

Also, I believe I saw in another post that Share permissions were "deprecated". Should I stick to user permissions after the FR? What are best practices to keep all of my files readable and writeable. I don't really need multiple users, but I can create one user to log in to shares with.

 

 

Would the shares be owned by admin, with RW rights given to the user? Is it possible to make shares that are owned by the user? I'm definitely going to avoid "guest" being turned on, since his "nouser, nogroup" files are not RW by the regular users. I really don't want to screw this up.

 

 

I have read this post, but it was a bit confusing. It seems to me that the extra layer of abstraction that the NAS adds above the standard linux permission really makes for some big headaches. The post I linked seemed to imply the best practice was owner: admin, group:users, set group and everyone to RW and then adjust the protocol permission as necessary?

Message 6 of 24
StephenB
Guru

Re: ReadyNAS NV+ performance and file permission issues.


@evoblade wrote:

Also, I believe I saw in another post that Share permissions were "deprecated". Should I stick to user permissions after the FR?

 


Yes.


@evoblade wrote:

What are best practices to keep all of my files readable and writeable.

I've attached a couple screen shots on settings I suggest.  You'd need to do these for each share.  Note I did some merging, some of these screens require scrolling to see everything.

 

On the CIFS tab for each share:

 

nv+ cifs-1.png

Then scroll down and enter

nv+ cifs-.png

 

Then switch to the "advanced options tab" and enter

 

NV+ advanced.png


@evoblade wrote:

 

Would the shares be owned by admin, with RW rights given to the user? Is it possible to make shares that are owned by the user? I'm definitely going to avoid "guest" being turned on, since his "nouser, nogroup" files are not RW by the regular users. I really don't want to screw this up.

 


First, if you don't need security on your local LAN, then its fine to enable guest (and I did that in the settings above).  nobody and nogroup translate to the built in linux "guest" account, and its fine to use them as the share owners.  Then you don't need to create any NAS accounts.

 

An alternative is to use admin for both the user and the group, and configure the PCs to use NAS admin credentials when they access the NAS.  You'd do that in the windows credential manager.

 

If permissions do get messed up, you can always go to the advanced option screen (as shown above) and check the "set ownership and permission..." box.  When you click apply, the box will clear, and the ownership/permissions for everything in the share are reset.  There's a pop-up when that completes (and it is also in the log).

 

 

Message 7 of 24
evoblade
Aspirant

Re: ReadyNAS NV+ performance and file permission issues.

Thanks for the post. Is there any reason all of my shares can't be owned by a specific user (and have none owned by admin)? Specifically, my backup share is currently owned by "backup". Is that necessary?

 

Thanks for pointing out how the guest account works. I think I'll stick to a specific user for now, just in case I need to control access at a later date.

 

Next question, how do file permissions work for files copied to a share, do they inherit owners from client machine OS or does the share owner become the file owner once the file is written to the share.

 

I want all of the files on the NAS to be owned by one user. I guess I could just use admin, I'm just wondering if there is a legitimate reason why I might not want to. All of my years of linux use have trained me to avoid using "root" whenever possible.

Message 8 of 24
StephenB
Guru

Re: ReadyNAS NV+ performance and file permission issues.


@evoblade wrote:

Thanks for the post. Is there any reason all of my shares can't be owned by a specific user (and have none owned by admin)? 

 

Of course they can be,and my suggested settings have them owned by "nobody" (which is a real built-in account on the NAS, with the same UID as guest).  You can create a user on the NAS if you want, and make that user the owner of all the files.  You can also use that user's credentials in the PCs.


@evoblade wrote:

Specifically, my backup share is currently owned by "backup". Is that necessary?

 

 


No it is not (and my backup share is not owned by backup).

 


@evoblade wrote:

Thanks for pointing out how the guest account works. I think I'll stick to a specific user for now, just in case I need to control access at a later date.

 


To be clear on this - network access is distinct from file access.  If you enable guest access, that means that any account credentials (for example the default windows credentials) are accepted, and can access the NAS.  The only exception is if the account exists on the NAS but has a different password.  Then the attempted access will result in a password prompt.  You can enable/disable guest access any time you like in the NAS, and doing that will not change file ownership or file permissions.

 

Choosing "nobody" as the file owner is completely different (and is the same as having the file owned by "guest").  Nobody/nogroup are built-in, so you can choose to use them (and avoid creating a new accounts).  There's no downside, since you can always reset ownership for everything in the share any time you like.

 


@evoblade wrote:

 

 Next question, how do file permissions work for files copied to a share, do they inherit owners from client machine OS or does the share owner become the file owner once the file is written to the share.

 


If guest access is enabled and user's credentials are not on the NAS, then the file is owned by guest (same as nobody).

 

If the user's logon is a NAS account, then that NAS account is the file owner.

 

So be intentional on the logon.  The easiest way to do that is to set up the NAS credentials in the windows credential manager for each PC (or keychain for OSX).

 

 

Message 9 of 24
evoblade
Aspirant

Re: ReadyNAS NV+ performance and file permission issues.

Thank you very much. I'm going to get cracking on this as soon as the backup completes.
Message 10 of 24
evoblade
Aspirant

Re: ReadyNAS NV+ performance and file permission issues.

Still waiting for the backup I started Thursday night at 10PM to finish. Something is definitely wrong.

Message 11 of 24
StephenB
Guru

Re: ReadyNAS NV+ performance and file permission issues.

How much are you backing up?  Is this to a local USB drive or over the network?  If the former, how is the drive formatted?

Message 12 of 24
evoblade
Aspirant

Re: ReadyNAS NV+ performance and file permission issues.

Local USB. NTFS. 1.4TB of data.

Message 13 of 24
StephenB
Guru

Re: ReadyNAS NV+ performance and file permission issues.

Then it should be running at about 3 MB per second.  That's about 6 days.

 

The fastest way to back up the NV+ is over a wired network (preferably gigabit).

Message 14 of 24
evoblade
Aspirant

Re: ReadyNAS NV+ performance and file permission issues.

Why is it 3MB/s? I thought USB2 was 480 Mb/s  (60 MB/s), which is probably faster than the drive that is hooked up to it. The reason I went with USB is because I was only getting about 3.5 MB/s over the LAN. This is frustrating.

 

What format are the USB backups in? Can I rsync to update it later? If this factory reset does not fix my performance issues, I'm not going to keep this thing. 3 MB/s does not meet my needs.

Message 15 of 24
StephenB
Guru

Re: ReadyNAS NV+ performance and file permission issues.

I don't know all the reasons for ~3 MB/s xfer speed to an NTFS formatted external drive on the nv+ v1.

 

Some factors are:

-ntfs is not a native linux file system

-the CPU on the NV+ is not very capable

-Linux USB drivers back then were not efficient.

 

The NV+ v1 is a very old design (2007)

 

 

Message 16 of 24
evoblade
Aspirant

Re: ReadyNAS NV+ performance and file permission issues.

I don't think 256MB of RAM helps either. Smiley Frustrated

Message 17 of 24
StephenB
Guru

Re: ReadyNAS NV+ performance and file permission issues.


@evoblade wrote:

I don't think 256MB of RAM helps either. Smiley Frustrated


I don't think that actually matters for this (since the file server performance over the network is normally a lot faster than the USB copy speed).

Message 18 of 24
evoblade
Aspirant

Re: ReadyNAS NV+ performance and file permission issues.

Backup failed. Seemed to have been a permssions thing. Copying rest of files manually as we speak. Then I will do factory reset. One thing that always bugged me, as soon as you change the name of the NAS, then the browser certificate becomes invalid. Is there a way to fix that?
Message 19 of 24
StephenB
Guru

Re: ReadyNAS NV+ performance and file permission issues.


@evoblade wrote:
Backup failed. Seemed to have been a permssions thing. Copying rest of files manually as we speak. Then I will do factory reset. One thing that always bugged me, as soon as you change the name of the NAS, then the browser certificate becomes invalid. Is there a way to fix that?

You can try the "generate new key" option on the services->standard file protocols page.

 

Though self-signed certs will usually result in browser warnings anyway (simply because they are self-signed).

Message 20 of 24
evoblade
Aspirant

Re: ReadyNAS NV+ performance and file permission issues.

Factory reset has been performed. Disk 4 performed a "sync" after the reset, which I did not expect. This made frontview extremely slow. Hopefully it all be done when I get home. What is the fastest / best way to restore data? Rsync?

Message 21 of 24
StephenB
Guru

Re: ReadyNAS NV+ performance and file permission issues.

The fastest method over wired ethernet,using NFS, followed by Windows (CIFS).  Rsync is robust, but not as fast as the other two for full restores.

 

One popular method is to configure the backup as incremental NFS, then edit the job after it completes to use rsync.  Then rerun it.  Running it again should be incremental (and very fast), and it can clean up any mismatches in owner/group/permissions/timestamps.

 

If you are connecting the USB drive directly to the NAS, then local->local is the fastest option.  But that is slower than wired ethernet on the NV+ v1.

Message 22 of 24
evoblade
Aspirant

Re: ReadyNAS NV+ performance and file permission issues.

Thanks! I learned a lot about this gizmo from talking to you. Even though I've owned it nearly 8 years.

Message 23 of 24
mdgm-ntgr
NETGEAR Employee Retired

Re: ReadyNAS NV+ performance and file permission issues.

The disks have to be synced sector by sector to setup the RAID. That is why there was a resync as a result of doing the factory reset.

Message 24 of 24
Top Contributors
Discussion stats
  • 23 replies
  • 5267 views
  • 0 kudos
  • 3 in conversation
Announcements