Hello, I have a m/c running suse 9.0 and have just encountered problems when I started making heavy use of a disk. I suspect hardware problems but at the moment my concern is to understand how to recover from what looks to me like a corruption on reiserfs, about which I know nothing :( The m/c has SATA disks running in legacy mode. It has been OK for several months under light general usage but I just started using the file system seriously (100s of thousands of files in directories, files
2GB in size, lots of copying etc) and have some problems.
The m/c suddenly locks up in the middle of programs doing file operations (no response to keyboard, network suddenly inactive) and needs a reboot. I don't know why. There's nothing in /var/log/messages. I've run fsck.reiserfs on the filesystem, which has given it a clean bill of health. After the last time it crashed, I can't ls a directory: # ls xml /bin/ls: xml/releases: Permission denied /bin/ls: xml/tmp.log: Permission denied file.xml index The xml directory is 755 for me (dhoworth) but I get the same result doing the ls as myself or as root. 'releases' and 'index' are both directories, both were 755 and index still is (can't see releases!). 'tmp.log' and 'file.xml' are plain files, both 644. I don't understand how I can get permission denied as root? Given I suspect hardware problems as the source of the crash, I suspect filesystem corruption as the source of this problem, but I don't know about reiserfs. Is there some technique to figure out what's going on? And regain access to the data? Thanks, Dave
On Thu, 2004-09-02 at 10:59 +0100, Dave Howorth wrote:
The m/c suddenly locks up in the middle of programs doing file operations (no response to keyboard, network suddenly inactive) and needs a reboot. I don't know why. There's nothing in /var/log/messages.
With disk errors there rarely is, since the error message would be printed to file after the error occurs. If you have the opportunity, you could try logging to a different machine over the network. With luck, you might get some of the messages that way, assuming the whole machine doesn't hang completely instantly.
I don't understand how I can get permission denied as root? Given I suspect hardware problems as the source of the crash, I suspect filesystem corruption as the source of this problem, but I don't know about reiserfs. Is there some technique to figure out what's going on? And regain access to the data?
Try running reiserfsck --fix-fixable
On Thursday 02 September 2004 05:04 am, Anders Johansson wrote:
I don't understand how I can get permission denied as root? Given I suspect hardware problems as the source of the crash, I suspect filesystem corruption as the source of this problem, but I don't know about reiserfs. Is there some technique to figure out what's going on? And regain access to the data?
Try running
reiserfsck --fix-fixable
Dont overlook heat problems. Make sure your cpu fans are up to snuff and the fins on the heatsink are clean. Dont forget to look at your video card if it has a fan on it. That one drove me nuts for weeks. Richard Old age ain't for Sissies!
On Thursday 02 September 2004 05:04 am, Anders Johansson wrote:
I don't understand how I can get permission denied as root? Given I suspect hardware problems as the source of the crash, I suspect filesystem corruption as the source of this problem, but I don't know about reiserfs. Is there some technique to figure out what's going on? And regain access to the data?
Try running
reiserfsck --fix-fixable
Dont overlook heat problems. Make sure your cpu fans are up to snuff and the fins on the heatsink are clean. Dont forget to look at your video card if it has a fan on it. That one drove me nuts for weeks.
Richard Old age ain't for Sissies! Yes i can vouch for the video card one it's an absolute pain in the rear end drove me nuts for ages trying to find out why kde kept locking up till i found that as the video card heated up the fan slowed down due to the lube in
On Thursday 02 Sep 2004 11:31, Richard wrote: the bearings drying up change the fan and away it went , made my own cooler for the video card now runs a dream .. Pete . -- Linux user No: 256242 Machine No: 139931 G6NJR Pete also MSA registered "Quinton 11" A Linux Only area Happy bug hunting M$ clan PGN
participants (4)
-
Anders Johansson
-
Dave Howorth
-
peter Nikolic
-
Richard