Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
11-05-2005, 10:58 AM
|
#1
|
Member
Registered: Nov 2003
Location: Huntsville, AL
Distribution: RHEL, Solaris, OSX, SuSE
Posts: 419
Rep:
|
File corruptions using NFS
This is a long shot, but I'm not sure where else to look. I'm hoping that someone here might have noticed this before.
I've been doing system backups of one of my servers weekly for about a year now using tar and gunzip. The file is then saved off onto an NFS share which is on a SAN. The problem that I just noticed is that about 40% of backup jobs are corrupt. When I try to un-gzip them it says that they are not recognized as gzip files.
I'm sure that it's something to do with NFS because I never once get this problem if I FTP the file to the NAS or if I save the file to a partition on a physical drive. Something in the NFS transfer changes the file because if I make a copy of the good gzip file then copy it to the SAN on the NFS mount I can do a 'diff' and it says that the file is different.
What could this be? Thanks!
|
|
|
11-05-2005, 12:22 PM
|
#2
|
Member
Registered: Mar 2004
Location: Netherlands
Distribution: Debian
Posts: 729
Rep:
|
What options do you use for the mount? In automounter I use: -rw,hard,intr,rsize=8192,wsize=8192,noatime. Besides this, do you use a hub or a switch?
|
|
|
11-05-2005, 02:21 PM
|
#3
|
Member
Registered: Nov 2003
Location: Huntsville, AL
Distribution: RHEL, Solaris, OSX, SuSE
Posts: 419
Original Poster
Rep:
|
Moloko, thanks for your response. What I have in my fstab file for that mount is
"192.168.1.2:/backup /mnt/backup nfs rw 0 0"
I'm not near that machine today, but I'm excited to use your options. Do you think that the
reason that I'm having the trouble is because of the way I had it set up?
I'm using a switch to connect the computers to the SAN. They are SMC 1000g switches.
Thanks again.
Last edited by mijohnst; 11-05-2005 at 02:33 PM.
|
|
|
11-06-2005, 06:18 AM
|
#4
|
Member
Registered: Mar 2004
Location: Netherlands
Distribution: Debian
Posts: 729
Rep:
|
The rsize, wsize might help, but I'm not sure. I haven't experienced any problems with NFS, but it's the only option I can think of right now.
|
|
|
11-06-2005, 02:46 PM
|
#5
|
Member
Registered: Nov 2003
Location: Huntsville, AL
Distribution: RHEL, Solaris, OSX, SuSE
Posts: 419
Original Poster
Rep:
|
Thanks for the try... That didn't fix my problem. About 40% of the time I move any tar file over to my SAN and bring it back I get this error:
gunzip: testfile.tgz: Invalid data -- format violated
Hum... Not sure what to do at this point...
|
|
|
11-09-2005, 09:41 AM
|
#6
|
Member
Registered: Mar 2004
Location: Netherlands
Distribution: Debian
Posts: 729
Rep:
|
Are you sure it isn't due to memory corruption (faulty memory banks)?
|
|
|
11-09-2005, 11:34 AM
|
#7
|
Member
Registered: Nov 2003
Location: Huntsville, AL
Distribution: RHEL, Solaris, OSX, SuSE
Posts: 419
Original Poster
Rep:
|
Moloko,
I don't think it is because the data that is being moved is coming from about 44 other nodes of which all have the same problem. As far as the SAN that is exporting the NFS we don't see this problem on anything else. We're starting to think it might be an issue with the SAN client software, but not sure yet. Thanks for the continuted input!
|
|
|
All times are GMT -5. The time now is 11:47 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|