<?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: Issue recreating a vfiler with &amp;quot;vfiler create -r&amp;quot; command in ONTAP Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Discussions/Issue-recreating-a-vfiler-with-quot-vfiler-create-r-quot-command/m-p/65764#M15454</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just to close the thread:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue happens when you have the following sequence:&lt;/P&gt;&lt;P&gt;1. primary vfiler mirrored to secondary controller&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;2. Failover to secondary controller: &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: Arial, Helvetica, Verdana, sans-serif; color: #454545; background-color: #ffffff;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;vfiler create secondary_vfiler -r /vol/vol_root -b primary_vfiler&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;3. then secondary vfiler mirror to primary controller&lt;/P&gt;&lt;P&gt;4. Failback to primary controller : &lt;STRONG&gt;vfiler start primary vfiler&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;5. primary vfiler mirrored to secondary controller&lt;/P&gt;&lt;P&gt;6. Failover to secondary controller: &lt;/P&gt;&lt;P style="font-family: Arial, Helvetica, Verdana, sans-serif; color: #454545; background-color: #ffffff;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;vfiler create secondary_vfiler -r /vol/vol_root -b primary_vfiler &lt;EM&gt;----&amp;gt; &lt;/EM&gt;&lt;/STRONG&gt;&lt;EM&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;the problem&lt;/STRONG&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt; occurs because we didn't completely recreate the primary vfiler after the failback. We must use the previous secondary_vfiler name instead of the primary_vfiler name in the vfiler create command.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To avoid this, one must use the following sequence:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. primary vfiler mirrored to secondary controller&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;2. Failover to secondary controller: &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: Arial, Helvetica, Verdana, sans-serif; color: #454545; background-color: #ffffff;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;vfiler create secondary_vfiler -r /vol/vol_root -b primary_vfiler,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: Arial, Helvetica, Verdana, sans-serif; color: #454545; background-color: #ffffff;"&gt;2.5. On primary controller, destroy the primary vfiler instead of just stopping it.&lt;/P&gt;&lt;P&gt;3. then secondary vfiler mirror to primary controller&lt;/P&gt;&lt;P&gt;4. Failback to primary controller : &lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;vfiler create primary_vfiler -r /vol/vol_root -b secondary_vfiler&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;5. primary vfiler mirrored to secondary controller&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;6. Failover to secondary controller: &lt;/P&gt;&lt;P style="font-family: Arial, Helvetica, Verdana, sans-serif; color: #454545; background-color: #ffffff;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;vfiler create secondary_vfiler -r /vol/vol_root -b primary_vfiler &lt;EM&gt;----&amp;gt; &lt;/EM&gt;&lt;/STRONG&gt;&lt;EM&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;the problem&lt;/STRONG&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt; doesn't occur&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Jun 2013 15:12:34 GMT</pubDate>
    <dc:creator>REGIS_GARRUCHET</dc:creator>
    <dc:date>2013-06-11T15:12:34Z</dc:date>
    <item>
      <title>Issue recreating a vfiler with "vfiler create -r" command</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Issue-recreating-a-vfiler-with-quot-vfiler-create-r-quot-command/m-p/65759#M15451</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;IHAC who is using the following command:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;vfiler create new_vfiler -r /vol/vol_root -b oldvfilername&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;on a snapmirror destination.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Usually, it works very well (and it permits to keep the whole vfiler configuration while using the NMC DR Mirror policies to do some easy failover to DRP site)&lt;/P&gt;&lt;P&gt;Why changing the name of the vfiler? Just to avoid having 2 objects with the same name in the DFM database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So usually, you can use this command to do the DR :&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;vfiler create secondary_vfiler -r /vol/vol_root -b primary_vfiler&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and come back to the original (after a reverse snapmirror).&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;vfiler create primary_vfiler -r /vol/vol_root -b secondary_vfiler&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But today, my customer got this message (with the real names):&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Arial;"&gt;Could not import vfiler configuration from the given etcstore "/vol/sv001272_root" for vfiler "sv001272_bis".Unable to recreate vfiler sv001272_bis.&lt;BR /&gt;Vfiler sv001272_bis not created&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know he was using the right names and path.&lt;BR /&gt;After searching for a while, I found that it worked with this command:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;vfiler create secondary_vfiler -r /vol/vol_root -b previous_secondary_vfiler_name&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the primary controller, the vfiler name was "primary_vfiler", so there is no reason that we must use the name "&lt;STRONG&gt;previous_secondary_vfiler_name&lt;/STRONG&gt;" after the "&lt;STRONG&gt;-b&lt;/STRONG&gt;" argument.&lt;/P&gt;&lt;P&gt;So, it seems, the vfiler on the secondary controller kept the configuration of a previous version of this vfiler with a different name. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I haven't found anything about such an issue.&lt;/P&gt;&lt;P&gt;Is there a way to know the name of a vfiler configuration that should be used after the "&lt;STRONG&gt;-b&lt;/STRONG&gt;" argument by looking at the configuration files or by using a command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Régis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 06:11:10 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Issue-recreating-a-vfiler-with-quot-vfiler-create-r-quot-command/m-p/65759#M15451</guid>
      <dc:creator>REGIS_GARRUCHET</dc:creator>
      <dc:date>2025-06-05T06:11:10Z</dc:date>
    </item>
    <item>
      <title>Re: Issue recreating a vfiler with "vfiler create -r" command</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Issue-recreating-a-vfiler-with-quot-vfiler-create-r-quot-command/m-p/65764#M15454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just to close the thread:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue happens when you have the following sequence:&lt;/P&gt;&lt;P&gt;1. primary vfiler mirrored to secondary controller&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;2. Failover to secondary controller: &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: Arial, Helvetica, Verdana, sans-serif; color: #454545; background-color: #ffffff;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;vfiler create secondary_vfiler -r /vol/vol_root -b primary_vfiler&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;3. then secondary vfiler mirror to primary controller&lt;/P&gt;&lt;P&gt;4. Failback to primary controller : &lt;STRONG&gt;vfiler start primary vfiler&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;5. primary vfiler mirrored to secondary controller&lt;/P&gt;&lt;P&gt;6. Failover to secondary controller: &lt;/P&gt;&lt;P style="font-family: Arial, Helvetica, Verdana, sans-serif; color: #454545; background-color: #ffffff;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;vfiler create secondary_vfiler -r /vol/vol_root -b primary_vfiler &lt;EM&gt;----&amp;gt; &lt;/EM&gt;&lt;/STRONG&gt;&lt;EM&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;the problem&lt;/STRONG&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt; occurs because we didn't completely recreate the primary vfiler after the failback. We must use the previous secondary_vfiler name instead of the primary_vfiler name in the vfiler create command.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To avoid this, one must use the following sequence:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. primary vfiler mirrored to secondary controller&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;2. Failover to secondary controller: &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: Arial, Helvetica, Verdana, sans-serif; color: #454545; background-color: #ffffff;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;vfiler create secondary_vfiler -r /vol/vol_root -b primary_vfiler,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: Arial, Helvetica, Verdana, sans-serif; color: #454545; background-color: #ffffff;"&gt;2.5. On primary controller, destroy the primary vfiler instead of just stopping it.&lt;/P&gt;&lt;P&gt;3. then secondary vfiler mirror to primary controller&lt;/P&gt;&lt;P&gt;4. Failback to primary controller : &lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;vfiler create primary_vfiler -r /vol/vol_root -b secondary_vfiler&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;5. primary vfiler mirrored to secondary controller&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;6. Failover to secondary controller: &lt;/P&gt;&lt;P style="font-family: Arial, Helvetica, Verdana, sans-serif; color: #454545; background-color: #ffffff;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;vfiler create secondary_vfiler -r /vol/vol_root -b primary_vfiler &lt;EM&gt;----&amp;gt; &lt;/EM&gt;&lt;/STRONG&gt;&lt;EM&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;the problem&lt;/STRONG&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt; doesn't occur&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jun 2013 15:12:34 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Issue-recreating-a-vfiler-with-quot-vfiler-create-r-quot-command/m-p/65764#M15454</guid>
      <dc:creator>REGIS_GARRUCHET</dc:creator>
      <dc:date>2013-06-11T15:12:34Z</dc:date>
    </item>
  </channel>
</rss>

