Difference between revisions of "OpenSuse Leap 15 Rescan disks"

From Notes_Wiki
m
m
 
Line 4: Line 4:
<pre>
<pre>
rescan-scsi-bus.sh -a -l
rescan-scsi-bus.sh -a -l
</pre>
In suse 11 the above did not help in rescanning disks.  However, the below command worked:
<pre>
rescan-scsi-bus.sh
</pre>
</pre>



Latest revision as of 14:44, 13 May 2022

Home > Suse > OpenSuse Leap 15 > System Administration > Filesystem management > Rescan disks

It is possible on multiple Suse OS (eg Suse 12 SP4) that if a SCSI hard-disk is added at hypervisor level (eg VMWare), it is not automatically reflected in 'fdisk -l' output. To see this disk try:

rescan-scsi-bus.sh -a -l

In suse 11 the above did not help in rescanning disks. However, the below command worked:

rescan-scsi-bus.sh

Note:

  • rescan-scsi-bus.sh has lot of options such as --forcerescan which might lead to downtime. Hence avoid using other options of rescan-scsi-bus.sh unless you are sure what you are doing.
  • If it is not a production system then reboot should definitely solve the problem of harddisk not showing up.1

Once the disk is visible you can use yast2 -> partitioner for the required file-system changes (Eg resize Volume Group and resize LVM partition)

Refer:



Home > Suse > OpenSuse Leap 15 > System Administration > Filesystem management > Rescan disks