On Sun, 29 Feb 2004, Szakacsits Szabolcs wrote:
> I CC: this email to linux-ntfs-dev also, maybe others have more ideas
> about your RAID [google could help also(?), I don't have the time for it
> right now, sorry]. More details about the issue are here:
>
> http://sourceforge.net/forum/forum.php?thread_id=1030819&forum_id=44085
>
> What we figured out was that NTFS couldn't be mounted because of
>
> Loading $MFT... ntfs_pread(): Entering for pos 0xc0000000, count 0x400.
> Error: $MFT has invalid magic.
>
> No wonder, the $MFT started as complete garbage:
>
> 0000000: 54ae 3d2f fd14 9a6d c863 2491 472a 8b4d T.=/...m.c$.G*.M
> 0000010: 47de 8a7d f0a3 2a81 0403 33cd 83b3 0591 G..}..*...3.....
> 0000020: 2924 5c67 620f aa05 8cc4 1974 ec3f 2c70 )$\gb......t.?,p
> 0000030: ea38 592a 3bcd 9737 f6b4 9b28 1e6e c360 .8Y*;..7...(.n.`
> 0000040: 87ee 40b0 6b43 80a0 7a0a 2a59 0f64 1052 ..@.kC..z.*Y.d.R
>
> > The system stalls for a bit and then i get:
> > dd: reading `/dev/hdf1': Input/output error
>
> OK, I'm figuring out what's going on. You have four 20 GB disks. Your NTFS
> is clearly 60 GB (from the NTFS metadata), so it spans 3 disk. But it's
> not dynamic disk. Apparently they are put together a different way under
> Windows and Linux. Well, actually it isn't put together on Linux at all,
> /dev/hdf1 is only 20 GB. 40 GB is "missing".
>
> This looks to be either a Promise kernel driver bug or a Promise driver
> configuration problem. Or maybe you should configure the 3 disks as 1
> using software RAID?
>
> > After this, i get the same error if I try to do any of the command
> > (mft.bin,mftmir.bin, or bootsect.bin)
> > I need to reboot for mft.bin to dd properly
>
> This definitely looks to be a Promise driver problem.
The important question is how the RAID was created. Was is
1) created using the Promise BIOS
2) created within Windows NT4 or earlier
3) some other way - please specify
If 1) the Linux promise driver is apparently not functioning correctly or
you are trying to open the wrong partition device (I thought ATA RAID
drivers had their devices under something like /dev/ataraid/blah or
something).
If 2) you need to use Linux Software RAID (the MD driver) to connect the
pieces of your array correctly and then you can mount the /dev/md0 device
(or /dev/md1, etc, whatever you configured the array as) with the Linux
NTFS driver. If this is the case see our instructions on how to configure
the driver. They can be found in the Linux kernel 2.6 sources in
Documentation/filesystems/ntfs.txt or online here:
http://linux-ntfs.bkbits.net:8080/ntfs-2.6/anno/Documentation/filesystems/ntfs.txt@1.41?nav=index.html|src/.|src/Documentation|src/Documentation/filesystems
If 3) we need more information.
Best regards,
Anton
--
Anton Altaparmakov <aia21 at cam.ac.uk> (replace at with @)
Unix Support, Computing Service, University of Cambridge, CB2 3QH, UK
Linux NTFS maintainer / IRC: #ntfs on irc.freenode.net
WWW: http://linux-ntfs.sf.net/ & http://www-stu.christs.cam.ac.uk/~aia21/
|