I use NFS a lot for my everyday needs. I have a server with Debian Sarge on it that has about 260 gb of hard drive space, so I use this to my advantage and I store all my music, photos, docs, etc etc. This saves my space on my notebook computer and other desktops.
I can FTP to the server for when I need to transfer big files quickly (~11mb/s) but I am unable to get these type of speeds through NFS (~320kb/s).
This makes for a really bad experience with NFS and is making me use FTP more and more. I just don't like the FTP login and all that crap. It takes too much time when I am in a hurry. I like how NFS mounts at boot and it never has to login or authenticate before I can transfer data.
I mount 3 directories from my server to my notebook computer. /home/billy/downloads /home/billy/music and /var/www
Here is the server's /etc/exports file:
Code:
# /etc/exports: the access control list for filesystems which may be exported
# to NFS clients. See exports(5).
/home/billy/downloads 192.168.1.157(rw,no_root_squash)
/home/billy/music 192.168.1.157(rw,no_root_squash)
/var/www 192.168.1.157(rw,no_root_squash)
Here is my /etc/fstab on my notebook:
Code:
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/hda1 none swap sw 0 0
/dev/hda2 /mnt/sarge ext3 defaults 0 2
/dev/hda3 / ext3 defaults,errors=remount-ro 0 1
/dev/hda4 /mnt/stuff ext3 defaults 0 2
/dev/hdc /media/cdrom0 iso9660 ro,user,noauto 0 0
/dev/sda1 /mnt/usb vfat rw,user,noauto 0 0
192.168.1.101:/home/billy/downloads /mnt/downloads nfs noauto,rw,user,rsize=8192,wsize=8192,intr,sync 0 0
192.168.1.101:/home/billy/music /mnt/music nfs noauto,rw,user,rsize=8192,wsize=8192,intr,sync 0 0
192.168.1.101:/var/www /mnt/www nfs noauto,rw,user,rsize=8192,wsize=8192,intr,sync 0 0
Anyone know what I am doing wrong? How can I speed up my NFS transfers?