ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Sergey Vlasov <vsu@altlinux.ru>
To: sisyphus@lists.altlinux.org
Subject: Re: [sisyphus] xfs or disk ?
Date: Sat, 18 Sep 2010 18:32:26 +0400
Message-ID: <20100918143226.GA6226@atlas.home> (raw)
In-Reply-To: <20100918134142.GA25192@ricom.ru>

[-- Attachment #1: Type: text/plain, Size: 1850 bytes --]

On Sat, Sep 18, 2010 at 05:41:45PM +0400, Alexey Morsov wrote:
> Сегодня уже пару раз наблюдал такую картину. Внезапно (хихи) перестает
> читаться один диск (на весь диск одна партиция). Причем на компе горит
> лампочка активности диска но ее нет (судя по iotop). Файлы не читаются
> директории видны но в них ничего нет. Ну вообщем бред. Партиция при этом
> замонтирована. df отрабатывает.
> 
> После перезагрузки все в норме, все на месте xfs_check ничего не выдает.
> В логах такое:
> 
> Sep 18 15:57:47 home kernel: [57344.507703] xfs_force_shutdown(sdb1,0x2) called from line 1043 of file fs/xfs/xfs_log.c.  Return address = 0xffffffffa02eb863
[...]

Это реакция xfs на невозможность записи в журнал; перед этим должны
быть ещё сообщения об ошибках диска (ataN: ...) - надо смотреть их.

> smartctl вроде тоже пишет PASSED

Общий статус SMART обычно меняется, когда количество нечитаемых
секторов на диске уже исчисляется тысячами.  Надо смотреть в выводе
smartctl -A значения отдельных атрибутов (в частности, в атрибутах
Reallocated_Sector_Ct, Reallocated_Event_Count, Current_Pending_Sector
в поле RAW_VALUE в идеальном случае должен быть 0); ещё стоит
заглянуть в журнал ошибок (smartctl -l xerror,error).

> morsov@home ~ $ uname -a
> Linux home.ru 2.6.32-un-def-alt20 #1 SMP PREEMPT Sun Aug 22 05:45:47 UTC 2010 x86_64 GNU/Linux
> 
> диск сата wd WDC WD5000AAKS-00YGA0
> 
> Это что-то с дровами файлухой или таки дисочек примеряет белые тапки?

Ошибка явно уровнем ниже ФС - помимо самого диска, теоретически может
глючить контроллер, также может быть связано с плохим SATA-кабелем или
отваливающимися разъёмами.

Плохой кабель, кроме всего прочего, проявляется в атрибутах SMART
растущим счётчиком UDMA_CRC_Error_Count; некоторые диски поддерживают
более детальную статистику (smartctl -l sataphy).

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

  reply	other threads:[~2010-09-18 14:32 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-18 13:41 Alexey Morsov
2010-09-18 14:32 ` Sergey Vlasov [this message]
2010-09-18 16:35   ` Alexey Morsov
2010-09-18 17:57     ` Sergey Vlasov
2010-09-19 12:26       ` Alexey Morsov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100918143226.GA6226@atlas.home \
    --to=vsu@altlinux.ru \
    --cc=sisyphus@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git