Ask a Question related to FreeBSD, Design and Development.
-
Anthony Atkielski #1
WRITE_DMA errors on SATA drive under 5.3-RELEASE
I've gotten two messages like the ones below today on my production server
(5.3-RELEASE):
messages:Feb 27 14:48:17 freebie kernel: ad10: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA=4848803
messages:Feb 27 14:48:17 freebie kernel: ad10: FAILURE - WRITE_DMA timed out
What do these messages mean? The referenced drive is one of two identical SATA
drives on the server; it holds /tmp and /var. I don't recall seeing
these messages before.
Is there a way to work backwards from the LBA to the filesystem so that
I can see which file was being referenced when this occurred?
--
Anthony
Anthony Atkielski Guest
-
SATA Drive
On Mon, 06 Mar 2006 01:09:16 -0800, John & Mary Cook wrote: No reason it shouldn't. That was one of the choices I was given when I bought my... -
Problem - Red Hata 9 - na SATA 150 jak zainstalować
wczoraj stawiałem Red Hata 9 niestety bez powodzenia Sam serwer t.j P IV 3GHz, 1GB DDR/400Hz, HDD 120GB Barakuda VII /7200/8MB/SATA płyt ASUS... -
SATA drives
Hello Can SATA drives be used in REDHAT, am running mandrake 9.1 for the moment and this system is unable to mount and run SATA drives is redhat... -
Slackware 9.0 and SATA Drive
I am trying to install Slackware 9.0 on a new PC (Dell Optiplex GX270). It has a Seagate 120GB SATA drive. I used the bare.i bootdisk, and it... -
OT: WD Raptor SATA Harddrive
Hi, I was wondering if any of you haevy graphics users out there have recently bought a new harddrive and if you are familiar with the Western... -
cpghost@cordula.ws #2
Re: WRITE_DMA errors on SATA drive under 5.3-RELEASE
On Sun, Feb 27, 2005 at 03:53:30PM +0100, Anthony Atkielski wrote:
[...]> messages:Feb 27 14:48:17 freebie kernel: ad10: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA=4848803
> messages:Feb 27 14:48:17 freebie kernel: ad10: FAILURE - WRITE_DMA timed out
Theoretically, one could use 'fsdb -r' in a scripted manner, to> Is there a way to work backwards from the LBA to the filesystem so that
> I can see which file was being referenced when this occurred?
generate a mapping of file names to blocks (relative to the partition
of the file system you are mapping). Once you have the blocks, you'll
need to do so artithmetics to map those blocks to LBA address ranges
(perhaps via GEOM or using data in disklabels). Finally, you'll have
to locate the range for a particular LBA address and work backwards
up to the inode #, and then to the filename(s) that link to that inode.
Perhaps there's already a system utility or port for this? It would be
really useful!
Cheers,> Anthony
-cpghost.
--
Cordula's Web. [url]http://www.cordula.ws/[/url]
cpghost@cordula.ws Guest
-
Anthony Atkielski #3
Re: WRITE_DMA errors on SATA drive under 5.3-RELEASE
[email]cpghost@cordula.ws[/email] writes:
Sounds complicated. Surely I'm not the first person to wish for such a> Theoretically, one could use 'fsdb -r' in a scripted manner, to
> generate a mapping of file names to blocks (relative to the partition
> of the file system you are mapping). Once you have the blocks, you'll
> need to do so artithmetics to map those blocks to LBA address ranges
> (perhaps via GEOM or using data in disklabels). Finally, you'll have
> to locate the range for a particular LBA address and work backwards
> up to the inode #, and then to the filename(s) that link to that inode.
utility ... in UNIXland, there seems to be a command for just about
every conceivable purpose (?).
I'm mainly worried about exactly what the system was trying to write at> Perhaps there's already a system utility or port for this? It would be
> really useful!
the time. It's not clear from the message whether the write succeeded
or not.
--
Anthony
Anthony Atkielski Guest
-
cpghost@cordula.ws #4
Re: WRITE_DMA errors on SATA drive under 5.3-RELEASE
On Sun, Feb 27, 2005 at 05:19:32PM +0100, Anthony Atkielski wrote:
Or you could write the missing ones :-).> [email]cpghost@cordula.ws[/email] writes:
>>> > Theoretically, one could use 'fsdb -r' in a scripted manner, to
> > generate a mapping of file names to blocks (relative to the partition
> > of the file system you are mapping). Once you have the blocks, you'll
> > need to do so artithmetics to map those blocks to LBA address ranges
> > (perhaps via GEOM or using data in disklabels). Finally, you'll have
> > to locate the range for a particular LBA address and work backwards
> > up to the inode #, and then to the filename(s) that link to that inode.
> Sounds complicated. Surely I'm not the first person to wish for such a
> utility ... in UNIXland, there seems to be a command for just about
> every conceivable purpose (?).
Actually, it's not that hard. You need three mappings:
1. (lba address, (filesystem, block #))
2. ((filesystem, block #), (filesystem, inode #))
3. ((filesystem, inode #), (list of filenames linking to inode #))
Each of those mappings could be done and displayed by a single
utility. Combining all three into a lba2filenames program would
then be trivial.
Yes, that's exactly my concern too.>> > Perhaps there's already a system utility or port for this? It would be
> > really useful!
> I'm mainly worried about exactly what the system was trying to write at
> the time. It's not clear from the message whether the write succeeded
> or not.
-cpghost.> --
> Anthony
--
Cordula's Web. [url]http://www.cordula.ws/[/url]
cpghost@cordula.ws Guest



Reply With Quote

