On Thursday 11 December 2003 12:51 pm, James Oakley wrote:
On Thursday 11 December 2003 02:11 am, Tom Emerson wrote:
HOWEVER, at some point in the copy process "things went bad", and the system locked up. ... rebooting returned "cannot find a valid reiserfs partition on 09:00"
I had the EXACT same problem, ... As it turned out, my power supply turned out to be too small for my system.
I wouldn't expect this to be the problem as this system has been running 24x7 for a couple of years [then again, I *have* had a couple of strange lockups in the last month or so -- it could be "going bad..."]
reiserfsck reported it couldn't find a superblock, so I [rebuilt it]... rebuild-sb suggested a block size of 4096, however ... during the boot there were references to a 1024-byte block size, so I overrode it
ALWAYS TAKE THE ADVICE OF THE REISERFS TOOLS, UNLESS YOU ARE A REISERFS DEVELOPER!
[that is generally what I do, but read on]
I'm pretty sure that this is where you shot yourself in the foot.
Actually, "the first time" I tried to rebuild the table I did choose 4096, but when it was "all done", it reported that it still couldn't find a superblock. When I rebooted, I monitored the messages a little more carefully and noticed the 1024 blocksize, which made me wonder. Another data point is that the system in question was built with SuSE 7.x, but the "rescue" CD is from the 9.0 installation disk -- I figured there had been a change in some of the defaults since that time.
... I also had to perform a "--rebuild-tree" ... the program reported THOUSANDS of "size (...) should be (...)" error messages
This is where your drive *really* got hosed.
I was afraid of that the instant the screen "filled up" with these messages -- unfortunately, once it starts, you can't really [safely] stop it :( [OTOH, since this is the first time I've ever done a "rebuild tree", it is entirely possible that this is/was the expected output -- I really have no way of knowing...]
Did you backup the partition like reiserfsck told you? The chances are good that you'll never recover unless you made a backup.
Equally unforunate, I didn't have a partition "to back up TO", nor do I have a CD burner on this system (it does have a QIC tape drive, but I've never been successful getting it to "work" -- one of my "projects" once I upgraded the system to a newer version was to get the tape drive "working"...) On the plus side, the only thing that was actually "on" this partition that I need is the website proper -- but as I develop the "pages" on other machines and copy to the server, I have the (semi) originals -- what I don't have is them "all in the same place" [nor "up to date" in the other locations -- live and learn :) ] -- Yet another Blog: http://osnut.homelinux.net [down at the moment :( ]