|
|
|
Горячая замена SCSI диска в Linux
|
|||
|---|---|---|---|
|
#18+
Привет всем... Добавил сказевый диск и хочу с ним начать работать не перегружая сервер. Нашел для IDE команду сканирование шины Код: plaintext 1. Как подключить SCSI диск? RHEL 4.5 ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 26.05.2008, 21:50:01 |
|
||
|
Горячая замена SCSI диска в Linux
|
|||
|---|---|---|---|
|
#18+
раканутыйПривет всем... Добавил сказевый диск и хочу с ним начать работать не перегружая сервер. Нашел для IDE команду сканирование шины Код: plaintext 1. Как подключить SCSI диск? RHEL 4.5 SCSI диски - это sdxx xx=a,b,c,... etc. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 27.05.2008, 08:19:23 |
|
||
|
Горячая замена SCSI диска в Linux
|
|||
|---|---|---|---|
|
#18+
Sleeping Daemon раканутыйПривет всем... Добавил сказевый диск и хочу с ним начать работать не перегружая сервер. Нашел для IDE команду сканирование шины Код: plaintext 1. Как подключить SCSI диск? RHEL 4.5 SCSI диски - это sdxx xx=a,b,c,... etc. спасибо за напоминание :) какой порт SCSI подсунуть , hdparm работает только с IDE устройствами... ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 27.05.2008, 09:03:03 |
|
||
|
Горячая замена SCSI диска в Linux
|
|||
|---|---|---|---|
|
#18+
On Tue, 27 May 2008 14:03:03 +0800, раканутый <nospam@sql.ru> wrote: > Как подключить SCSI диск? > > какой порт SCSI подсунуть , hdparm работает только с IDE устройствами... насколько я понимаю, надо смотреть HAL хотя скази от рождения "hot-swap", так что должен появиться... глянь /proc/partitions, появилось? а ещё /etc/udev содержит по-моему всякие скрипты для подобных случаев? -- Остаюсь искренне Ваш, Станислав Сухолёт Posted via ActualForum NNTP Server 1.4 ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 27.05.2008, 09:43:53 |
|
||
|
Горячая замена SCSI диска в Linux
|
|||
|---|---|---|---|
|
#18+
SSukholet хотя скази от рождения "hot-swap" разве? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 27.05.2008, 10:09:20 |
|
||
|
Горячая замена SCSI диска в Linux
|
|||
|---|---|---|---|
|
#18+
SSukholet On Tue, 27 May 2008 14:03:03 +0800, раканутый <nospam@sql.ru> wrote: > Как подключить SCSI диск? > > какой порт SCSI подсунуть , hdparm работает только с IDE устройствами... насколько я понимаю, надо смотреть HAL хотя скази от рождения "hot-swap", так что должен появиться... глянь /proc/partitions, появилось? а ещё /etc/udev содержит по-моему всякие скрипты для подобных случаев? -- Остаюсь искренне Ваш, Станислав Сухолёт Posted via ActualForum NNTP Server 1.4 Код: plaintext 1. 2. 3. 4. 5. 6. 7. 8. /etc/udev - подходящего нет... ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 27.05.2008, 10:30:21 |
|
||
|
Горячая замена SCSI диска в Linux
|
|||
|---|---|---|---|
|
#18+
Так добавил или таки заменил? Вот статья с редхатовского сайта http://kbase.redhat.com/faq/FAQ_80_4011.shtm ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 27.05.2008, 10:58:18 |
|
||
|
Горячая замена SCSI диска в Linux
|
|||
|---|---|---|---|
|
#18+
авторHow do I get the kernel to recognize a hot-added SCSI drive or change the logging/dump detail level for the SCSI sub-system? Resolution:Release Found: Red Hat Enterprise Linux 2.1 and 3 Symptom: You have a SCSI controller and the kernel does not see a newly added SCSI drive. Solution: CAUTION: This is not for hotplugging your peripheral hardware. SCSI was not designed for this and you could damage your hardware! That said, it may be possible to switch on an already connected device or add a new drive recently hot-added into hot-plug capable enclosure. However, we make no guarantees, and using these commands could corrupt your data and/or thoroughly confuse your SCSI subsystem. Follow the instructions below at your own risk. Rebooting the system is still the only supported method for adding a new SCSI device to a running system. Assuming that you have the necessary permissions for writing to /proc/scsi/scsi. The following are some individual commands available for viewing/manipulating scsi controllers and devices: echo "scsi add-single-device <H> <C> <I> <L>" > /proc/scsi/scsi where <H> <C> <I> <L> represents Host <H>, Channel <C>, Id <I>, and Lun <L>. Will add the device specified so that it is accessible to the system. echo "scsi remove-single-device <H> <C> <I> <L>" > /proc/scsi/scsi where <H> <C> <I> <L> represents Host <H>, Channel <C>, Id <I>, and Lun <L>. Will remove the device specified so that it is no longer accessible to the system. echo "scsi scan-new-devices" > /proc/scsi/scsi will scan all host adapters again to see if there are any new devices. echo "scsi dump <#>" > /proc/scsi/scsi will dump the status of all current SCSI commands. <#> is the number specifing the level of detail for the dump, 0-9 are valid. echo "scsi log <T> <#>" > /proc/scsi/scsi will change the detail level of SCSI logging represented by <T> of error, scan, mlqueue, mlcomplete, llqueue, llcomplete, hlqueue, or hlcomplete, to the level specified by the <#> number. Короче, если данные пофигу, то можно делать хотплаг, а если данные терять не хочеться, то придется выключить, вставить диск и загрузиться по новой ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 27.05.2008, 11:00:37 |
|
||
|
Горячая замена SCSI диска в Linux
|
|||
|---|---|---|---|
|
#18+
Умаксуман авторHow do I get the kernel to recognize a hot-added SCSI drive or change the logging/dump detail level for the SCSI sub-system? Resolution:Release Found: Red Hat Enterprise Linux 2.1 and 3 Symptom: You have a SCSI controller and the kernel does not see a newly added SCSI drive. Solution: CAUTION: This is not for hotplugging your peripheral hardware. SCSI was not designed for this and you could damage your hardware! That said, it may be possible to switch on an already connected device or add a new drive recently hot-added into hot-plug capable enclosure. However, we make no guarantees, and using these commands could corrupt your data and/or thoroughly confuse your SCSI subsystem. Follow the instructions below at your own risk. Rebooting the system is still the only supported method for adding a new SCSI device to a running system. Assuming that you have the necessary permissions for writing to /proc/scsi/scsi. The following are some individual commands available for viewing/manipulating scsi controllers and devices: echo "scsi add-single-device <H> <C> <I> <L>" > /proc/scsi/scsi where <H> <C> <I> <L> represents Host <H>, Channel <C>, Id <I>, and Lun <L>. Will add the device specified so that it is accessible to the system. echo "scsi remove-single-device <H> <C> <I> <L>" > /proc/scsi/scsi where <H> <C> <I> <L> represents Host <H>, Channel <C>, Id <I>, and Lun <L>. Will remove the device specified so that it is no longer accessible to the system. echo "scsi scan-new-devices" > /proc/scsi/scsi will scan all host adapters again to see if there are any new devices. echo "scsi dump <#>" > /proc/scsi/scsi will dump the status of all current SCSI commands. <#> is the number specifing the level of detail for the dump, 0-9 are valid. echo "scsi log <T> <#>" > /proc/scsi/scsi will change the detail level of SCSI logging represented by <T> of error, scan, mlqueue, mlcomplete, llqueue, llcomplete, hlqueue, or hlcomplete, to the level specified by the <#> number. Короче, если данные пофигу, то можно делать хотплаг, а если данные терять не хочеться, то придется выключить, вставить диск и загрузиться по новой спасибо получилось... ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 27.05.2008, 11:37:13 |
|
||
|
|

start [/forum/topic.php?fid=25&msg=35336407&tid=1486883]: |
0ms |
get settings: |
6ms |
get forum list: |
10ms |
check forum access: |
2ms |
check topic access: |
2ms |
track hit: |
35ms |
get topic data: |
7ms |
get forum data: |
2ms |
get page messages: |
29ms |
get tp. blocked users: |
1ms |
| others: | 191ms |
| total: | 285ms |

| 0 / 0 |
