Difference between revisions of "OpenSuse Leap 15 Rescan disks"

From Notes_Wiki
(Created page with "<yambe:breadcrumb self="Rescan disks">OpenSuse Leap 15 Filesystem management|Filesystem management</yambe:breadcrumb> =OpenSuse Leap 15 Rescan disks= It is possible on multip...")
 
m
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<yambe:breadcrumb self="Rescan disks">OpenSuse Leap 15 Filesystem management|Filesystem management</yambe:breadcrumb>
[[Main Page|Home]] > [[Suse]] > [[OpenSuse Leap 15]] > [[OpenSuse Leap 15 System Administration|System Administration]] > [[OpenSuse Leap 15 Filesystem management|Filesystem management]] > [[OpenSuse Leap 15 Rescan disks|Rescan disks]]
=OpenSuse Leap 15 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 '<tt>fdisk -l</tt>' output.  To see this disk try:
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 '<tt>fdisk -l</tt>' output.  To see this disk try:
<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>


Line 19: Line 23:




<yambe:breadcrumb self="Rescan disks">OpenSuse Leap 15 Filesystem management|Filesystem management</yambe:breadcrumb>
 
[[Main Page|Home]] > [[Suse]] > [[OpenSuse Leap 15]] > [[OpenSuse Leap 15 System Administration|System Administration]] > [[OpenSuse Leap 15 Filesystem management|Filesystem management]] > [[OpenSuse Leap 15 Rescan disks|Rescan disks]]

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