<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Resizing LUN - How to get client to recognize the new size? in ONTAP Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Discussions/Resizing-LUN-How-to-get-client-to-recognize-the-new-size/m-p/6255#M1349</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've resized a LUN and I am wondering how I get the client to realize that the LUN size has changed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For instance, I have a LUN connected to a client. I haven't partitioned or created a filesystem on the LUN yet. I go to create a partition and see there are 1-40873 cylinders available. I resize the LUN to a larger size on the NetApp. I go to create a partition and there are still 1-40873 cylinders available which makes me believe the client isn't recognizing the change. Once I reboot and go to create a partition there 1-10422 cylinders available (clearly the sector sizes have changed but at least the client realized something had changed). Is there some way to get the client to recognize LUN size changes without a reboot? I'm using CentOS 6.2.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Jun 2025 06:28:16 GMT</pubDate>
    <dc:creator>vroomanjr</dc:creator>
    <dc:date>2025-06-05T06:28:16Z</dc:date>
    <item>
      <title>Resizing LUN - How to get client to recognize the new size?</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Resizing-LUN-How-to-get-client-to-recognize-the-new-size/m-p/6255#M1349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've resized a LUN and I am wondering how I get the client to realize that the LUN size has changed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For instance, I have a LUN connected to a client. I haven't partitioned or created a filesystem on the LUN yet. I go to create a partition and see there are 1-40873 cylinders available. I resize the LUN to a larger size on the NetApp. I go to create a partition and there are still 1-40873 cylinders available which makes me believe the client isn't recognizing the change. Once I reboot and go to create a partition there 1-10422 cylinders available (clearly the sector sizes have changed but at least the client realized something had changed). Is there some way to get the client to recognize LUN size changes without a reboot? I'm using CentOS 6.2.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 06:28:16 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Resizing-LUN-How-to-get-client-to-recognize-the-new-size/m-p/6255#M1349</guid>
      <dc:creator>vroomanjr</dc:creator>
      <dc:date>2025-06-05T06:28:16Z</dc:date>
    </item>
    <item>
      <title>Re: Resizing LUN - How to get client to recognize the new size?</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Resizing-LUN-How-to-get-client-to-recognize-the-new-size/m-p/6260#M1350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Justin and welcome to the Community! &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.netapp.com/5.0.1/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In essence, you need to rescan the disks - I don't know particular steps on CentOS, but am sure Google will know &lt;SPAN __jive_emoticon_name="wink" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.netapp.com/5.0.1/images/emoticons/wink.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Radek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2012 19:04:47 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Resizing-LUN-How-to-get-client-to-recognize-the-new-size/m-p/6260#M1350</guid>
      <dc:creator>radek_kubka</dc:creator>
      <dc:date>2012-04-30T19:04:47Z</dc:date>
    </item>
    <item>
      <title>Re: Resizing LUN - How to get client to recognize the new size?</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Resizing-LUN-How-to-get-client-to-recognize-the-new-size/m-p/6267#M1351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; You need to rescan the SCSI bus to detect the changes in disk.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; see if this would be of any help:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;A href="http://lists.centos.org/pipermail/centos/2005-November/013179.html" target="_blank"&gt;http://lists.centos.org/pipermail/centos/2005-November/013179.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;A class="active_link" href="http://www.garloff.de/kurt/linux/rescan-scsi-bus.sh-1.25" target="_blank"&gt;http://www.garloff.de/kurt/linux/rescan-scsi-bus.sh-1.25&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2012 02:28:00 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Resizing-LUN-How-to-get-client-to-recognize-the-new-size/m-p/6267#M1351</guid>
      <dc:creator>arunchak</dc:creator>
      <dc:date>2012-05-01T02:28:00Z</dc:date>
    </item>
    <item>
      <title>Re: Resizing LUN - How to get client to recognize the new size?</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Resizing-LUN-How-to-get-client-to-recognize-the-new-size/m-p/6275#M1352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, unfortunately the rescan-scsi-bus.sh script didn't do the trick it seems that it only works for adding/removing SCSI devices. Nonetheless, you've given me something to look into.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2012 13:59:35 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Resizing-LUN-How-to-get-client-to-recognize-the-new-size/m-p/6275#M1352</guid>
      <dc:creator>vroomanjr</dc:creator>
      <dc:date>2012-05-01T13:59:35Z</dc:date>
    </item>
    <item>
      <title>Re: Resizing LUN - How to get client to recognize the new size?</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Resizing-LUN-How-to-get-client-to-recognize-the-new-size/m-p/6280#M1353</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Normally resized LUN should be recognized immediately if whole device is used (e.g., as LVM PV). Are you using partition on this LUN?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2012 14:02:38 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Resizing-LUN-How-to-get-client-to-recognize-the-new-size/m-p/6280#M1353</guid>
      <dc:creator>aborzenkov</dc:creator>
      <dc:date>2012-05-01T14:02:38Z</dc:date>
    </item>
    <item>
      <title>Re: Resizing LUN - How to get client to recognize the new size?</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Resizing-LUN-How-to-get-client-to-recognize-the-new-size/m-p/6285#M1354</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is example of LUN resizing (openSUSE 12.1):&lt;/P&gt;&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote" modifiedtitle="true"&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;bor@opensuse:~&amp;gt; sudo sg_readcap -v /dev/sdc&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; read capacity (10) cdb: 25 00 00 00 00 00 00 00 00 00&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Read Capacity results:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp; Last logical block address=30719 (0x77ff), Number of blocks=30720&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp; Logical block length=512 bytes&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Hence:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp; Device size: 15728640 bytes, 15.0 MiB, 0.02 GB&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;bor@opensuse:~&amp;gt; sudo /usr/sbin/parted /dev/sdc print&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Model: NETAPP LUN (scsi)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Disk /dev/sdc: 15,7MB&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Sector size (logical/physical): 512B/512B&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Partition Table: msdos&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Number&amp;nbsp; Start&amp;nbsp;&amp;nbsp; End&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Size&amp;nbsp;&amp;nbsp;&amp;nbsp; Type&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; File system&amp;nbsp; Flags&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1049kB&amp;nbsp; 15,7MB&amp;nbsp; 14,7MB&amp;nbsp; primary&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; type=83&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;simsim&amp;gt; lun resize /vol/v1/lv 30m&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;bor@opensuse:~&amp;gt; sudo sh -c 'echo 1 &amp;gt; /sys/block/sdc/device/rescan'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;[12781.207052] sd 6:0:0:1: [sdc] 61440 512-byte logical blocks: (31.4 MB/30.0 MiB)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;[12781.248524] sdc: detected capacity change from 15728640 to 31457280&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;bor@opensuse:~&amp;gt; sudo sg_readcap -v /dev/sdc&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; read capacity (10) cdb: 25 00 00 00 00 00 00 00 00 00&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Read Capacity results:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp; Last logical block address=61439 (0xefff), Number of blocks=61440&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp; Logical block length=512 bytes&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Hence:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp; Device size: 31457280 bytes, 30.0 MiB, 0.03 GB&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;bor@opensuse:~&amp;gt; sudo /usr/sbin/parted /dev/sdc print&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Model: NETAPP LUN (scsi)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Disk /dev/sdc: 31,5MB&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Sector size (logical/physical): 512B/512B&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Partition Table: msdos&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Number&amp;nbsp; Start&amp;nbsp;&amp;nbsp; End&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Size&amp;nbsp;&amp;nbsp;&amp;nbsp; Type&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; File system&amp;nbsp; Flags&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1049kB&amp;nbsp; 15,7MB&amp;nbsp; 14,7MB&amp;nbsp; primary&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; type=83&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2012 14:38:46 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Resizing-LUN-How-to-get-client-to-recognize-the-new-size/m-p/6285#M1354</guid>
      <dc:creator>aborzenkov</dc:creator>
      <dc:date>2012-05-01T14:38:46Z</dc:date>
    </item>
    <item>
      <title>Re: Resizing LUN - How to get client to recognize the new size?</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Resizing-LUN-How-to-get-client-to-recognize-the-new-size/m-p/6292#M1355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, I found I had to run the following on the client:&lt;/P&gt;&lt;P&gt;iscsiadm -m node -R -I *interface*&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2012 15:57:02 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Resizing-LUN-How-to-get-client-to-recognize-the-new-size/m-p/6292#M1355</guid>
      <dc:creator>vroomanjr</dc:creator>
      <dc:date>2012-05-01T15:57:02Z</dc:date>
    </item>
  </channel>
</rss>

