LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 10-02-2005, 12:14 PM   #1
bobbens
Member
 
Registered: Sep 2004
Location: Barcelona
Distribution: Debian, FreeBSD, Gentoo
Posts: 586

Rep: Reputation: 30
wierd nfs + mdadm bork (worked before)


My set up:

Server (192.168.2.13)
  • Debian sarge
  • 2 SCSI drivers, raid 0 with mdadm (/dev/md0) - ext3
  • NFS server, exporting 2 folder (one is /dev/md0; other is normal IDE,/dev/hdb1)

Main (192.168.2.9)
  • Debian SID
  • mounts both NFS folders


Now then, until like a week ago it was working fine, i could read/write from and to both folders. Now recently through NFS, if i try to mv or cp a file it just hangs and i cant kill it or umount it or anything, so i have to reboot to be able to clear it, otherwise i have processes running for no reason. The thing is that this happens when writing to my raid or my other folder. So it has to do with the NFS itself (because i can write between folders with ssh). When i attempt to copy a file, network activity goes to an alternating stream of 35k and 68k which goes on and off, but it doesnt do anything and no file goes on it. I'm guessing NFS is borked, so i ran an apt-get update && apt-get dist-upgrade on both machines and got mysql security updates on my server and 250 megs on my main (pretty much everything) get upgraded. I have no problem mounting NFS, but once its mounted and i attempt to move something on it, it just hangs. No error message no nothing and then it locks it up and df also hangs...
I of course know that debian sid has no official support, but is anyone experiencing the same problem? It's getting annoying and don't really know what to do. I was able to back up my entire raid but it's getting annoying and i need that space. NFS is able to read just fine, error is only when copying.
I've redone the raid serveral times, remade the filesystems and all the permissions (on both server and main), but cant seem to get it working. Is there any alternative to NFS for quick data read/write via lan?
 
Old 10-03-2005, 03:11 PM   #2
XOR007
Member
 
Registered: May 2005
Location: Africa
Distribution: Ubuntu, Redhat 6.2 to 9, Centos 4, Suse 8 Ent.,Suse 9 Ent.
Posts: 51

Rep: Reputation: 15
Tried reducing the rsize and wsize options? You could also use smb: it works and though a bit more work for the server at first, you need it if you also have windows machines.
 
Old 10-03-2005, 03:17 PM   #3
bobbens
Member
 
Registered: Sep 2004
Location: Barcelona
Distribution: Debian, FreeBSD, Gentoo
Posts: 586

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by XOR007
Tried reducing the rsize and wsize options? You could also use smb: it works and though a bit more work for the server at first, you need it if you also have windows machines.
where would i find the rsize and wsize options? The funny thing is that i wasnt having this problem before and without changing anything (besides apt-get updates && apt-get dist-upgrades, soo many things in unstable that i usually only look out for important ones and don't read it through), so unless for some reason a configuration file got overridden it would surprise me if it was that. I don't have any windows machines and would like to avoid samba, and go for something more similar to NFS, which i have enjoyed immensly until now (just under a year with no problems until now). Just surprises me that this has happened. Haven't had many problems in unstable, just dependencies every so often (enigmail and thunderbird are broken right now). Well i'll try that out, don't remember specifying rsize and wsize when setting it up (probably let it run on defaults).
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
multipathing - mdadm da_kidd_er Linux - General 0 05-19-2005 07:28 PM
Managed to bork XFce4... infidel Linux - Software 3 01-18-2005 07:40 PM
Very Wierd NFS Problem in Suse 9.2 jayfoo Linux - Networking 0 12-08-2004 03:08 PM
Can I use mdadm to get the SoftRaidlist? Friarchen Linux - Software 0 09-10-2004 03:56 AM
do you know mdadm? Coldburn Linux - Newbie 1 08-31-2004 02:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 01:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration