[CentOS] How to make fdisk recognize increased iSCSI LUN?
Ross S. W. Walker
rwalker at medallion.com
Fri Nov 16 21:27:40 UTC 2007
> How to explain to fdisk that /dev/sda size changed? I
> increased LUN on storage, reloaded iscsi, did echo 1 >
> /sys/<something>/rescan. And I see in "dmesg" that kernel
> found new size of the LUN. But when I type "fdisk /dev/sda"
> it still shows old size. On /dev/sda1 sits LVM PV and I'd
> like to resize it instead of adding one more PV to volume group.
I think it may be the MBR that still has the old size in it.
Try opening it in fdisk, save it, then re-open it.
This e-mail, and any attachments thereto, is intended only for use by
the addressee(s) named herein and may contain legally privileged
and/or confidential information. If you are not the intended recipient
of this e-mail, you are hereby notified that any dissemination,
distribution or copying of this e-mail, and any attachments thereto,
is strictly prohibited. If you have received this e-mail in error,
please immediately notify the sender and permanently delete the
original and any copy or printout thereof.
More information about the CentOS