ONTAP Discussions

lun show unmapped

Rawat_Sunil

I run the lun show unmapped command and show the unmapped luns and shows the below output

 

/vol/erpt6c/erpt6c.lun 25g (26843545600) (r/o, online)

 

and want to delete the unmapped lun first try offline command it shows error ( Read only permission)

 

dr-fas3140b*> lun offline /vol/erpt6c/erpt6c.lun
lun offline: /vol/erpt6c/erpt6c.lun : Read-only file system

 

try to destroy the it but face same problem

 

dr-fas3140b*> lun destroy /vol/erpt6c/erpt6c.lun
lun destroy: /vol/erpt6c/erpt6c.lun : Read-only file system

 

can any one suggest how i can delete the lun

 

 

Regards,

 

Sunil Rawat

 

 

3 REPLIES 3

marcusgross

Hi,

 

is it a snapmirror destination?

 

Whats the output of vol status erpt6c?

 

 

Marcus

Rawat_Sunil

Output is :-

 

dr-fas3140b*> vol status erpt6c
Volume State Status Options
erpt6c online raid_dp, flex snapmirrored=on, create_ucode=on,
snapmirrored fs_size_fixed=on
read-only
Containing aggregate: 'aggr_TD_02'
dr-fas3140b*>

Sahana

Hi.

If its a snapmirror destination, you need to break the relation. Refer How to correctly delete a SnapMirror relationship 

If this post resolved your issue, help others by selecting ACCEPT AS SOLUTION or adding a KUDO.
Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public