From: Johan Kielbaey (aquajtk-suse_at_yahoo.com)
Date: Thu May 04 2006 - 08:06:37 CEST
Message-ID: <20060504060637.63294.qmail@web36802.mail.mud.yahoo.com> Date: Wed, 3 May 2006 23:06:37 -0700 (PDT) From: Johan Kielbaey <aquajtk-suse@yahoo.com> Subject: Re: [suse-sles-e] Adding Disk on the fly
Hello,
For SLES 9 (2.6 kernel)
# echo 1 > /sys/bus/scsi/devices/0:0:0:0/rescan
0:0:0:0 = host 0 channel 0 target 0 lun 0. will be different on your machine. See cat /proc/scsi/scsi for these values
# cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: ADAPTEC Model: RAID 1 Rev: 1.0
Type: Direct-Access ANSI SCSI revision: ffffffff
For SLES 8 (2.4 kernel)
# rescan-scsi-bus.sh -lw
(-l = luns 0..7 -w = target 0..15; this script might fail when disks are busy)
Rgds,
Johan
----- Original Message ----
From: Stephen Hughes <stephenh@Medscheme.co.za>
To: suse-sles-e@suse.com
Sent: Thursday, May 4, 2006 7:09:58 AM
Subject: [suse-sles-e] Adding Disk on the fly
Hi Group,
In my environment here I have directly attached and SAN attached disk to
many servers. From time to time when the need arises I need to add more
disk to a server and find the only way to get my server to see the newly
assigned disk is to reboot.
Is there a command/s that I can run that will pick up the newly assigned
disk with out having to reboot each time?
Thanks
Stephen
This archive was generated by hypermail 2.1.7 : Thu May 04 2006 - 08:07:02 CEST