Author Login
Post Reply
hello,
I'm not sure but for what i recall, multipath is unable (for now) to update
the size based on it's low level devices. The only way is to use dmsetup to
stop that specific multipath device and add it again..
Rgds.
./npf
On Thursday 07 February 2008 22:56:08 Troels Arvin wrote:
> 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?
_______________________________________________
rhelv5-list mailing list
rhelv5-list@(protected)
https://www.redhat.com/mailman/listinfo/rhelv5-list