[CentOS] How to make fdisk recognize increased iSCSI LUN?

Mindaugas

ml at kilimas.com
Fri Nov 16 21:06:36 UTC 2007


  Hello,

  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.

  CentOS 4.4 64bits.

  Thanks,

  Mindaugas



More information about the CentOS mailing list