On Thu, 10 Jun 1999 [EMAIL PROTECTED] wrote:
> > srwx----w- 1 13869 8736 892155456 Jan 9 1987 #61186=
> > cr----Sr-- 1 11651 9510 59, 145 Sep 4 1971 #61187
> > b-wx--S--t 1 5441 39578 154, 149 Apr 22 2024 #61189
> > c---r-SrwT 1 7963 9766 55, 116 Jun 18 2036 #61196
> This is obviously a y2k problem :-) ^^^^^^^^
Yup. This is what I first thought ;-)
But here is a bigger problem. I know I run old software. rh4.2
is obsolete from a long time. But I don't have the chance to get a newer
distribution.
The problem is that e2fsck should check for these inconsistences.
there is no '5441' uid and no '39578' gid. And there can't be '154, 149'
a valid lenght, and dev files (with minors and majors) are only in the
/dev/ directory AFAIK. Also, in the permissions field... what is that 't'
or 'T'? These problems should be corrected. Even that louzy scandisk
does it.
So far the fastest way to recover is to keep the more important
stuff in another partition, and the rc files and the rest is backed on
another partition as well. Lucky me I have from the old computer a
running Linux (minimal). So I can switch to the old one, format the
partition with problems, and restore the fs. Than reboot. This takes
time. And is annoying. And it's so windowish. I have to reboot in order
to make changes valid. I hate it! And the thing that drives me mad is
that windoze didn't crash lately.
> Last time something like this happened to me, the DMA on the motherboard
> failed soon after (done anything with floppies, lately? See if they
> still work) and I had to build this junk-pentium 66. I am still using
> the same hd, though.
I had a 486. And I got lucky and made a major upgrade - mb, proc,
new hdd, now memories. The rest is the same. And the configuration
worked well. There was a problem with the partitions. Because I kept
making the dos partitions in Linux. I did the dos partitions with dos'
fdisk and all was well - I know in the documentation that comes with linux
fdisk it is said to do this. Than that hard drive developed bad sectors
which made unavailable a couple of partitions. I had a lot of troble here
because those bastards from the service not only that they didn't solve
the bad sector problem (replacing the hard drive) but they handeled it bad
and that seal (with 'warrnty void if removed') was thorn. After some
arguing they gave me a new hard drive. And I check it constantly for
problems. So far that is the only problem. If it was something hardware
related there should be problems on other partitions.
> If you're _sure_ it's not hardware, the pattern of damage is not
> inconsistent with the fs being written on by some other OS. Fat fs's
> don't give a rat's ass what size the partition is. The size of the fs
> is determined by entries in the partition boot record, and if that is
> inconsistent with the partition size, they may well write all over some
> other partition, starting with the adjacent one. dosfsck might catch
fdisk (linux) says that every partition (besides the first)
overlaps the next one. But I chacked the numbers and there is no
problem. The windoze way would be to back up the more important data and
redo all over again the partitioning. But I can't. And as I said there
is no visible overlapping. Also it looks like Linux is messing up the
stuff. I mean 2 overlaps 3 and so on. With 1 being the first partition.
And the first partition is dos. Than 2 is ext2. Than 3 is dos extended.
Can be Linux the trouble maker here? Again, I know that fat has the most
important part at the beggining - the fat. That would mean that the other
'disks' from windoze should have problems as well. And they don't. I
should add that I don't know how does ext2 looks from a phisical point of
view.
So I receive over and over again messages like 'inode xxx has
wrong block count. clear?' and 'inode xxx has dtime set'. I don't know
what that means - this is frustrating. Is there a place where I can get a
good description of e2fs? I'm interested in other fs descriptions. I
can't spend too much time now, but I'll do the read as soon as I finish my
exams. Oh! And after clearing that stuff (I lose a lot of files in the
process) I run again e2fsck (this is a reflex build up from the time when
I was using scandisk and it ain't too reliable). I rerun it exactly after
first has finished. And I receive that files are cross-linked. So after
running 2 or 3 times e2fsck there aren't more errors reported. Can e2fsck
be so louzy written so it can't see all the errors first time, or it makes
the new ones?
The errors are on the whole partiton. I don't think there can be
any problem because of windoze. And the only partition that linux fdisk
doesn't say it overlaps the next one is the first. And /dev/hda1 should
be the one which does the overwriting.
> this, at least it seems to report files and clusters out of range, but
I don't think rh4.2 had dosfsck. And using a new version can be
incompatible with the kernel.
> to be really sure I would use bpe on /dev/hda1 and see what is in byte
> 0xd (sectors per cluster), 0x16-17 (fat sectors), and 0x20-23 (sectors),
> remebmbering that they are little-endian short and long ints (least
> significan byte first). Fat sectors counts both fats, so divide it by
> 2, multiply it by 256, then by the sectors per cluster, and that is how
> many sectors windows thinks it has to write on, not counting the FAT and
> boot sector.
Couldn't find bpe...
But I don't normally use /dev/hda1. So it is a 300m partition, so
it can let the linux root partition start before that 1k cylinder. On it
there are only the stuff that belong to the windoze directory, and the
stuff that are too dumb to install some other place than c:. This means
that partition is more than half empty, and that is not used very often.
Raider
--
``Liberate tu-temet ex inferis''