On Sat November 4 2006 11:38 pm, Basil Chupin wrote:
Richard wrote:
<snip>
Might be a corruption problem. Several have mentioned on these lists that a reiserfs partition that gets boogered and needs a reiserffchk usually drops into read-only mode, if not for the whole drive than some significant part of it.
So unmount it (boot with rescue cd if necessary) and run a check on it.
Thanks. Just did that and it reports no superblock. I ran the reiserfsck and applied fixes it suggested, but now most recent message is, "Bad root block 0. (--rebuild-tree did not complete)".
It is ok with me to re-write the filesystem to the drive if necessary to get a usable drive back, as I am not concerned about losing any of this data.
Thanks again for your assistance.
Richard
Had the same problem only a couple of weeks ago.
I followed the suggestion to run 'reiserfsck --rebuild-tree' and it cleared up the trouble on the first run and without any loss of data. Your mileage may vary of course.
Cheers.
<snip>
...and it has. Just finished running that and it reports "Could not find a hash in use. Using "r5" Selected hash ("r5") does not match to the hash set in the super block (not set). "r5" hash is selected Flushing..finished Read blocks (but not data blocks) 38760402 Leaves among those 0 Objectids found 2"
[pruned]
I should have mentioned in the first response that I was told that it may take a number of attempts running --rebuild-tree to get the problem repaired. In my case it only took the one run- which is why I said "on the first run". Try running --rebuild again (and again.....).
However I see from what you then wrote is that you don't really care about the data and happy to reformat the partition. If so you could use fdisk or cfdisk but I suggest that the easiest way would probably be to:
Yast2 Control Centre>System>Partitioner; select the damaged partition then Edit>Format in the filesystem of your choice.
Cheers.
Thanks. I think that will be the "final solution" for me. fdisk was the command I was really trying to recall when I was checking on hdparm. Ok, I am getting old, and dotty. Why I never think to go straight thru Yast amazes me. Done already, and very simple, and can now write to and use the disk. Thanks again. Richard