ONTAP Discussions

Query about undestroy & destroy

SEENIKANNAN

Hi,

i did destroyed the aggr with below command,

netapptest> aggr destroy aggr1_raid_dp
Are you sure you want to destroy this aggregate? yes
Aggregate 'aggr1_raid_dp' destroyed.

 

After that undestroyed same aggr with below which i was destroyed as above,

 

netapptest> aggr undestroy aggr1_raid_dp
To proceed with aggr undestroy, select one of following options
[1] abandon the command
[2] undestroy aggregate aggr1_raid_dp ID: 0x75368a80-11e8ecce-34125ab4-12345678
Selection (1-2)? 2
Aggregate 'aggr1_raid_dp' undestroyed. Run wafliron to bring the aggregate online.
netapptest> aggr statis
aggr: No such command "statis".
The following commands are available; for more information
type "aggr help <command>"
add mirror rename split
copy offline restrict status
create online scrub undestroy
destroy options show_space verify
media_scrub
netapptest> aggr status
Aggr State Status Options
aggr1_raid_dp restricted raid_dp, aggr lost_write_protect=off
wafl inconsistent
64-bit
aggr1_raid4 online raid4, aggr
64-bit
aggr0 online raid_dp, aggr root
64-bit
netapptest>

 

Now Questions i have is,

-When i did destory was the aggr information was stored at where?

-Do we able to see those stored infromation?

-How it's brining back to undestory state & from where?

-Why undestoryed aggr showing as below status(restricted & lost_write_protect=off)& options mentoned instead of offline?

Aggr State Status Options
aggr1_raid_dp restricted raid_dp, aggr lost_write_protect=off
wafl inconsistent

 

Regards,

SEENIKANNAN

 

4 REPLIES 4

Re: Query about undestroy & destroy

mrahul

When you destroy an aggregate, Data ONTAP converts its parity disks and all its data disks back into hot spares. You can then use the spares in other aggregates and other storage systems. If you want to make the data in the aggregate inaccessible by any means, you can sanitize its disks. If you destroy an aggregate, the data in the aggregate is no longer accessible by normal access methods, unless you undestroy it before any of its disks are zeroed or reused in another aggregate. After an 'undestroy' operation is complete, you need to run the wafliron program with the privilege level set to advanced. This removes the WAFL inconsistencies for the aggregate.

 

 

 

If this post was satisfactory to your queries or resolved your issue, help others by selecting ACCEPT AS SOLUTION or clicking  LIKE.

Re: Query about undestroy & destroy

SEENIKANNAN

Hi,

 

the above does not answer to my queries,

 

-When i did destory was the aggr information was stored at where?

-Do we able to see those stored infromation?

-How it's brining back to undestory state & from where?

-Why undestoryed aggr showing as below status(restricted & lost_write_protect=off)& options mentoned instead of offline?

 

Regards,

SEENIKANNAN

Re: Query about undestroy & destroy

mrahul

-When i did destory was the aggr information was stored at where?

WAFL internally handles and keeps tracks of the data unless the user re-initializes the disks after which everything is lost.

 

-Do we able to see those stored infromation?

 

NO .User won't be able to see the data after delete unless choosing to bring it back via undestroy.

 

-How it's brining back to undestory state & from where?

 

Netapp Internals does this job again.

 

-Why undestoryed aggr showing as below status(restricted & lost_write_protect=off)& options mentoned instead of offline?

 

There is a difference in each state (online, offline, restricted ).

restricted state - Some operations, such as parity reconstruction, are allowed, but data access is not allowed. Putting an aggregate into the restricted state prevents data access to volumes associated with the aggregate but does not take the aggregate completely offline. This is required to bring back the destroyed aggregate.

Re: Query about undestroy & destroy

SEENIKANNAN

Hi,

 

thanks for your inputs. As you said these all done by netapp internal. But would like to know what it does internally?  How it does?

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

-When i did destory was the aggr information was stored at where?

WAFL internally handles and keeps tracks of the data unless the user re-initializes the disks after which everything is lost.

 

-Do we able to see those stored infromation?

 

NO .User won't be able to see the data after delete unless choosing to bring it back via undestroy.

 

-How it's brining back to undestory state & from where?

 

Netapp Internals does this job again.

++++++++++++++++++++++++++++++++++++++++++++++++

Regards,

SEENIKANNAN

Earn Rewards for Your Review!
GPI Review Banner
All Community Forums
Public