<?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 Re: How to migrate SQL Server database from one LUN to another in same Volume? in Data Protection</title>
    <link>https://community.netapp.com/t5/Data-Protection/How-to-migrate-SQL-Server-database-from-one-LUN-to-another-in-same-Volume/m-p/10692#M10615</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;Your steps are all fine. For deleting a LUN use SDW, it is safer and error-free that way.&lt;/P&gt;&lt;P&gt;I would also suggsest that you create a native SQL Server backup of the database before hand if this is a production database.&lt;/P&gt;&lt;P&gt;This is just incase the migration process fails. If the database is too large and your maintainance window is relatively small then uncheck the option to run "DBCC CHECKDB" before and after the migration in the SMSQL configuration wizard.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sourav Chakraborty &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Technical Marketing Engineer (SMSQL , SMMOSS) &lt;/P&gt;&lt;P&gt;Contact: +91 80 4184 3482    &lt;/P&gt;&lt;P&gt;Cell: +91 9739090394   &lt;/P&gt;&lt;P&gt;Email: sourav.chakraborty@netapp.com &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Sep 2008 10:20:15 GMT</pubDate>
    <dc:creator>sourav</dc:creator>
    <dc:date>2008-09-22T10:20:15Z</dc:date>
    <item>
      <title>How to migrate SQL Server database from one LUN to another in same Volume?</title>
      <link>https://community.netapp.com/t5/Data-Protection/How-to-migrate-SQL-Server-database-from-one-LUN-to-another-in-same-Volume/m-p/10688#M10614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I allocated too much storage to a LUN that contains one of my databases. The FlexVol that houses the LUN has also been sized too large, and I want to reclaim some of that aggregrate storage for other volumes.&lt;/P&gt;&lt;P style="height: 8pt"&gt;&lt;/P&gt;&lt;P&gt;I understand that I should not reduce the size of the LUN. I am planning to use SnapDrive create a new LUN within the same Volume, move the database to the new LUN, then destroy the old LUN, then reduce the size of the Volume.&lt;/P&gt;&lt;P style="height: 8pt"&gt;&lt;/P&gt;&lt;P&gt;I'm wondering if these are the steps I should take?:&lt;/P&gt;&lt;P&gt;- use SnapManager to move the database to a local drive&lt;/P&gt;&lt;P&gt;- delete the existing LUN (how to do this??? - never needed to kill a LUN)&lt;/P&gt;&lt;P&gt;- recreate a new smaller LUN using SnapDrive &lt;/P&gt;&lt;P&gt;- migrate the new "local" database onto the recreated LUN.&lt;/P&gt;&lt;P style="height: 8pt"&gt;&lt;/P&gt;&lt;P&gt;Are there any gotchas that I should watch out for, or any guidance anybody has on this procedure for a newbie?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Normajean&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 07:33:49 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/How-to-migrate-SQL-Server-database-from-one-LUN-to-another-in-same-Volume/m-p/10688#M10614</guid>
      <dc:creator>normajeanb</dc:creator>
      <dc:date>2025-06-05T07:33:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to migrate SQL Server database from one LUN to another in same Volume?</title>
      <link>https://community.netapp.com/t5/Data-Protection/How-to-migrate-SQL-Server-database-from-one-LUN-to-another-in-same-Volume/m-p/10692#M10615</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;Your steps are all fine. For deleting a LUN use SDW, it is safer and error-free that way.&lt;/P&gt;&lt;P&gt;I would also suggsest that you create a native SQL Server backup of the database before hand if this is a production database.&lt;/P&gt;&lt;P&gt;This is just incase the migration process fails. If the database is too large and your maintainance window is relatively small then uncheck the option to run "DBCC CHECKDB" before and after the migration in the SMSQL configuration wizard.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sourav Chakraborty &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Technical Marketing Engineer (SMSQL , SMMOSS) &lt;/P&gt;&lt;P&gt;Contact: +91 80 4184 3482    &lt;/P&gt;&lt;P&gt;Cell: +91 9739090394   &lt;/P&gt;&lt;P&gt;Email: sourav.chakraborty@netapp.com &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Sep 2008 10:20:15 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/How-to-migrate-SQL-Server-database-from-one-LUN-to-another-in-same-Volume/m-p/10692#M10615</guid>
      <dc:creator>sourav</dc:creator>
      <dc:date>2008-09-22T10:20:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to migrate SQL Server database from one LUN to another in same Volume?</title>
      <link>https://community.netapp.com/t5/Data-Protection/How-to-migrate-SQL-Server-database-from-one-LUN-to-another-in-same-Volume/m-p/10697#M10616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had to do this last month on a clustered SQL box - What &lt;A href="http://communities.netapp.com/message/sourav" target="_blank"&gt;sourav chakraborty&lt;/A&gt; said will work. &lt;/P&gt;&lt;P style="height: 8pt"&gt;&lt;/P&gt;&lt;P&gt;Create new LUN&lt;/P&gt;&lt;P&gt;Stop SQL server&lt;/P&gt;&lt;P&gt;Copy data from old LUN to new LUN&lt;/P&gt;&lt;P&gt;Confirm copy correct&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Disconnect new LUN {DO NOT DISTROY!} &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Take old LUN out of SQL server dependancy &lt;/P&gt;&lt;P&gt;Take the drive out of cluster with snapmanager&lt;/P&gt;&lt;P&gt;Rename old lun to another name&lt;/P&gt;&lt;P&gt;Rename new lun to match you naming standard &lt;/P&gt;&lt;P&gt;Mount New LUN into cluster with snapmanger and old LUNs drive letter&lt;/P&gt;&lt;P&gt;Add as SQL dependancy&lt;/P&gt;&lt;P&gt;Start SQL server&lt;/P&gt;&lt;P&gt;Confirm every thing is good&lt;/P&gt;&lt;P&gt;Delete old LUN &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Sep 2008 12:50:56 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/How-to-migrate-SQL-Server-database-from-one-LUN-to-another-in-same-Volume/m-p/10697#M10616</guid>
      <dc:creator>BrendonHiggins</dc:creator>
      <dc:date>2008-09-22T12:50:56Z</dc:date>
    </item>
  </channel>
</rss>

