Changes between Version 15 and Version 16 of notes/linux
- Timestamp:
- 2016-11-30T13:16:56Z (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
notes/linux
v15 v16 96 96 [[br]] 97 97 98 == работа с дисками без перегрузки в лилуксе 99 * рескан новых дисков: 100 {{{#!bash 101 echo "- - -" > /sys/class/scsi_host/host0/scan 102 echo "- - -" > /sys/class/scsi_host/host1/scan 103 echo "- - -" > /sys/class/scsi_host/host2/scan 104 }}} 105 * раскан диска с изменившимися параметрами: 106 {{{#!bash 107 echo 1 > /sys/class/scsi_device/2\:0\:0\:0/device/rescan 108 }}} 109 * удаление детачнутого диска: 110 {{{#!bash 111 echo 1 > /sys/class/scsi_device/2\:0\:1\:0/device/delete 112 }}} 113 114 [[br]] 115