ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Hihin Ruslan <ruslandh@gmail.com>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] Как ядро заставить пересчитать устройство?
Date: Wed, 18 Sep 2013 08:32:06 +0400
Message-ID: <201309180832.06623@ruslandh> (raw)

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

Здравствуйте Kharitonov A. Dmitry
 В сообщении от 18 сентября 2013 вы написали:
> >> $ sudo blkid | grep /dev/sde
> >> /dev/sde1: LABEL="test" UUID="2130BC3E3BF9C94B" TYPE="ntfs"
> >>
> >> За какую ручку дёргать чтоб не перезагружаться?
> >
> >  наверно возможно так
> >     blockdev --rereadpt /dev/sde
>
> Не помогло. Здесь наверное не только партицию надо заставлять
> пересчитывать. Надо как-то заголовок FS пересчитать.
> Похоже эта же болезнь есть у установщика дистрибутива на этапе
> разбиения дисков.

Вот тут что-то есть, правда по другому поводу:
http://forum.oszone.net/thread-267061.html

Цитата http://xgu.ru/wiki/Дисковая_подсистема_Linux:

> # partprobe
> (из пакета parted).
> Другие способы:
> hdparm -z /dev/DISK
> blockdev –rereadpt /dev/DISK
> echo 1 > /sys/block/DISK/device/rescan
> Здесь везде вместо DISK название соответствующего устройства 
> (sda, sdb, sdc). 
> .....
> echo - - - > /sys/class/scsi_host/host0/scan
> Ну, или какой там еще номер шины вместо host0...



-- 
  А ещё говорят так  (fortune):
 
TOO BAD YOU CAN'T BUY a voodoo globe so that you could make the 
earth spin real fast and freak everybody out. -- Jack Handley, 
The New Mexican, 1988. 
________________________________________________________________________
С уважением Хихин Руслан

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

             reply	other threads:[~2013-09-18  4:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-18  4:32 Hihin Ruslan [this message]
2013-09-19  9:34 ` Kharitonov A. Dmitry

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=201309180832.06623@ruslandh \
    --to=ruslandh@gmail.com \
    --cc=community@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 Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

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


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