Re: Disk maintainence

From: Flemming Frøkjær (none@flemming--froekjaer.org.lh.bsd-dk.dk)
Date: Wed 06 Oct 1999 - 00:52:16 CEST


Date: Tue, 05 Oct 1999 15:52:16 -0700
To: bsd-dk@hotel.prosa.dk
From: Flemming Frøkjær <none@flemming--froekjaer.org.lh.bsd-dk.dk>
Subject: Re: Disk maintainence

At 09:37 PM 10/5/99 +0200, you wrote:
>On Tue, Oct 05, 1999 at 12:12:33PM -0700, Flemming Frøkjær wrote:
>
>> I'm new to FreeBSD, but was doing good until i started to receive
>> "Unrecovered read errors"
>> Is there a tool like windows scandisk?
>
>Yes, but unfortunately the disk should have some place reserved for bad
>blocks replacement. This is only possible during disk partitioning (pay
>attention to ``bad block scan'' option). If you partition was prepared
>properly, if can use bad144(8) utility as a more/less equivalent to
>winblows scandisk. Also note, that if you have many bad blocks on your
>disk, and/or the number of those is increasing, you should seriously
>consider changing the disk.
>
For some reason i don't think that it is bad sectors, but a bad configuration.
When i started the bad144 i got a huge number of errors, and the disk has
never before coursed any problems. It used to be in an WinNT machine of mine.
What i get is this.

/kernel: (da0:ncr0:0:0:0): READ(06). CDB: 8 6 9c e2 1 0
/kernel: (da0:ncr0:0:0:0): READ(06). CDB: 8 6 9c e2 1 0
/kernel: (da0:ncr0:0:0:0): MEDIUM ERROR info:69ce2 csi:0,a5,1,14 asc:11,0
/kernel: (da0:ncr0:0:0:0): MEDIUM ERROR info:69ce2 csi:0,a5,1,14 asc:11,0
/kernel: (da0:ncr0:0:0:0): Unrecovered read error sks:8,0,80
/kernel: (da0:ncr0:0:0:0): Unrecovered read error sks:8,0,80

each error message is repeated, and all three of them every time.
The addresses changes of course. Is there any other way to investigate this
problem?

>> How do i keep my file systems in shape, and at a optimum performance?
>
>Hmm. Turn on softupdates, mayhaps? Use striped ccd?
I have no idea what those are. Is there a man page?
>
>> A second problem. When i upload to my FreeBSD machine from my NT i
>> get about 45 Kb/s The other way i get 1200 Kb/s I use FTP for the up
>> and download, since i don't want to install samba. How do i
>> investigate that problem?
>
>What kind of network connection do you have? This sounds like wrong
>duplex setting to me.

It's a 10Mbps network. Both machines are attached to the same hub witch
also connects the network to a 384Kbps aDSL modem.
We have 16 static ip addresses, but in the output from the ifconfig is a
broadcast to 216.99.203.143.
That ip is not within then range of our sub net. Could that be it?

>
>The output of ``ifconfig -a'' and ``netstat -r'' would be helpful.
>
ifconfig -a:
ed1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 216.99.203.134 netmask 0xfffffff0 broadcast 216.99.203.143
        ether 00:00:e8:df:bb:c2
lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
tun0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552
ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet 127.0.0.1 netmask 0xff000000

netstat -r:
Routing tables

Internet:
Destination Gateway Flags Refs Use Netif Expire
default adsl-bridge51-gw.c UGSc 22 18 ed1
localhost localhost UH 0 346 lo0
216-99-203-128.cus link#1 UC 0 0 ed1
216-99-203-132.cus 0:90:27:54:ab:89 UHLW 1 6993 ed1 1189
216-99-203-133.cus 0:80:c8:de:25:b1 UHLW 0 36 ed1 1162
sleipner 0:0:e8:df:bb:c2 UHLW 1 631 lo0
adsl-bridge51-gw.c 0:0:c:be:51:10 UHLW 23 0 ed1 573

\Flemming



This archive was generated by hypermail 2b30 : Wed 15 Nov 2006 - 18:24:01 CET