Author Login
Post Reply
Hello,
In our SAN (IBM DS4800), I can increase the size of a logical drive.
However, I can't figure out how to make RHEL 5.1 see that the device has
been enlarged. I've tried rescanning the SCSI hosts with commands like:
echo "- - -" > /sys/class/scsi_host/host1/scan
echo "- - -" > /sys/class/scsi_host/host2/scan
(host 1 and 2 are the fibre channel HBAs connected to the san.)
Neither "multipath -F" nor "partprobe /dev/sdi" help, either.
I also tried (one line):
for f in `find /sys/devices/pci0000:00/0000:00:04.0 -type f -name rescan`; do echo 1 > $f; done
After this, /var/log/messages contained lines like:
Feb 7 23:47:50 hostname kernel: SCSI device sdi: 293601280 512-byte hdwr sectors (150324 MB)
Feb 7 23:47:50 hostname kernel: sdi: Write Protect is off
Feb 7 23:47:50 hostname kernel: SCSI device sdi: drive cache: write back w/ FUA
The above lines resulted in some optimism, however no matter what I
do, the output of "multipath -l" and "fdisk -l ..." still shows the
old capacity.
The only thing which seems to work is a reboot, but this is not always
an option.
How can I make the operating system fully aware of the increased
capacity of a device?
--
Regards,
Troels Arvin <troels@(protected)>
http://troels.arvin.dk/
_______________________________________________
rhelv5-list mailing list
rhelv5-list@(protected)
https://www.redhat.com/mailman/listinfo/rhelv5-list