Very slow write speed NAS326 RAID1 via NFS
Options
Pete2019
Posts: 1
Hi,
I have a NAS326 with two 4TB disks installed. I have created a single Volume using raid1.
I have install NFS via the app center and created a single (/data) share which is read/write.
I then mount the NFS share to my linux box using autofs using the following.
/data -fstype=nfs4,rw,noatime nas:/data
I checked in the /etc/exports file on the NAS326 and changed (as some have suggested, sync to async)
/i-data/bc2c904e/nfs/data *(rw,async,no_subtree_check,wdelay,no_root_squash) #
I test the write speed by using rsync:
rsync --progress -av <big-file> /data
Firstly it pauses for a good 10-20 seconds then copying starts and I get a average speed of about 20MB/s
I repeat the same exercise with the same directory shared using Samba and get close to 70MB/s
My question is, why that exactly the same directory shared via NFS is so much slower than Samba share? Any suggestions of how to improve this situation would be grateful. I would have assumed using native linux format would be better. I would prefer to use NFS as I would like to preserve file ownership and permission when saving to the NAS drive.
I did test a similar setup with another box on the same network and I am actually getting over 110MB/s write speeds which is close to the limit of my home Gb network.
Thanks,
Pete.
#NAS_Sep_2019
I have a NAS326 with two 4TB disks installed. I have created a single Volume using raid1.
I have install NFS via the app center and created a single (/data) share which is read/write.
I then mount the NFS share to my linux box using autofs using the following.
/data -fstype=nfs4,rw,noatime nas:/data
I checked in the /etc/exports file on the NAS326 and changed (as some have suggested, sync to async)
/i-data/bc2c904e/nfs/data *(rw,async,no_subtree_check,wdelay,no_root_squash) #
I test the write speed by using rsync:
rsync --progress -av <big-file> /data
Firstly it pauses for a good 10-20 seconds then copying starts and I get a average speed of about 20MB/s
I repeat the same exercise with the same directory shared using Samba and get close to 70MB/s
My question is, why that exactly the same directory shared via NFS is so much slower than Samba share? Any suggestions of how to improve this situation would be grateful. I would have assumed using native linux format would be better. I would prefer to use NFS as I would like to preserve file ownership and permission when saving to the NAS drive.
I did test a similar setup with another box on the same network and I am actually getting over 110MB/s write speeds which is close to the limit of my home Gb network.
Thanks,
Pete.
#NAS_Sep_2019
0
All Replies
-
I am having a similar issue wth my NFS, the app seems to be buggy. Dos your NFSv4 work instantly?
0 -
Same issue here, did either of you figure out the issue and have any pointers?0
Categories
- All Categories
- 398 Beta Program
- 2.1K Nebula
- 117 Nebula Ideas
- 83 Nebula Status and Incidents
- 5.2K Security
- 99 USG FLEX H Series
- 247 Security Ideas
- 1.3K Switch
- 69 Switch Ideas
- 923 WirelessLAN
- 35 WLAN Ideas
- 5.9K Consumer Product
- 212 Service & License
- 337 News and Release
- 71 Security Advisories
- 21 Education Center
- 5 [Campaign] Zyxel Network Detective
- 2.1K FAQ
- 1K Nebula FAQ
- 445 Security FAQ
- 238 Switch FAQ
- 213 WirelessLAN FAQ
- 47 Consumer Product FAQ
- 142 Service & License FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 72 About Community
- 62 Security Highlight