× NETGEAR will be terminating ReadyCLOUD service by July 1st, 2023. For more details click here.
Orbi WiFi 7 RBE973
Reply

Re: Manually delete snapshot of deletetd share

Merlinweb
Tutor

Manually delete snapshot of deletetd share

Hi everybody,

i need to remove a lot of old snapshot related to a share  deleted a lot of months ago.

Can I delete snapshot folder without issues, using winSCP  ?

 

This is my situation, viewed by winSCP - SSH 

 

My active shares

 

nas1.PNG

 

 

 

The "orphan" snapshot folder, related to an old deleted share

 

nas2.PNG

 

the content of snapshot folder (about 1,5 TB)

 

nas3.PNG

 

Is it safe to delete it  ? In this way I can recover snapshot used space ?

nas4.PNG

Thanks everybody for help

 

Cheers

 

Merlinweb

 

 

Model: RN31400|ReadyNAS 300 Series 4-Bay
Message 1 of 8

Accepted Solutions
Merlinweb
Tutor

Re: Manually delete snapshot of deletetd share

I've Found a Solution, maybe...

After uncheck everything related to snapshot, I've started to manually deleted all snapshots unreferenced to a share, because share was previously deleted.

 

This is the command I'm using:

btrfs subvolume delete /data/._share/<DELETED_SHARE>/.snapshot/<Snapshot_name>

It's possible to use wildcard like * to delete multiple snapshots for example c*

 

Then, I've launched a SCRUB command, it's working VERY SLOWLY, but snapshot space is constantly decreasing, while free space is growing up, after 4 hours is less than 4%...

I think I will launch a BALANCE, finally, to complete cleaning & maintenance procedure

 

ReadyNAS is always accessible, but performance monitor show it's workin on disk

 

Cheers

 

Merlinweb

 

 

View solution in original post

Message 8 of 8

All Replies
StephenB
Guru

Re: Manually delete snapshot of deletetd share

You delete snapshots from the admin web ui, not by deleting the snapshot folder.

Message 2 of 8
Merlinweb
Tutor

Re: Manually delete snapshot of deletetd share

Thanks for your answer.

It is not possible to delete from web gui, because all snapshots is already deleted and snapshot production stopped for all shares.

In the web gui, all snapshots are gone, but I have more than 1,5 TB of snapshot space used.

Investigating with winSCP, I've found that over 1,5 TB of snapshots are related to a deleted (in 2016, marked yellow in picture in first post) share, not available in web gui

I need a way to delete all snapshots connected to this deleted share

Thanks

Merlinweb 

Message 3 of 8
StephenB
Guru

Re: Manually delete snapshot of deletetd share

I'm not sure what will happen if you try to delete the snapshots that way.  It'd be better to have Netgear support remove them.

 

If you purchased the NAS (new) between 1 June 2014 and 31 May 2016 then you have lifetime chat support (my.netgear.com).  

Message 4 of 8
Merlinweb
Tutor

Re: Manually delete snapshot of deletetd share

I'm not lucky in this issue....  Man Sad

nas5.PNG

 

Message 5 of 8
StephenB
Guru

Re: Manually delete snapshot of deletetd share

 

Perhaps a long shot, but maybe see what happens if you create a new share with the same name (ConnBak_Share), enable snapshots, and then delete the share ?

 

 

Or enable ssh, and and see if the ConnBak_Share subvolume still shows up.  If it does, then you could delete the subvolume.

Message 6 of 8
Merlinweb
Tutor

Re: Manually delete snapshot of deletetd share

Nothing done....

created Connbak_Share enabling snapshot

Deleted form web Gui

all snapshots still there in the same place....

I've tried to delete one little snapshot using winSCP  to test, but i've not authorization

seems owner is guest[99] in properties

Strange...

Message 7 of 8
Merlinweb
Tutor

Re: Manually delete snapshot of deletetd share

I've Found a Solution, maybe...

After uncheck everything related to snapshot, I've started to manually deleted all snapshots unreferenced to a share, because share was previously deleted.

 

This is the command I'm using:

btrfs subvolume delete /data/._share/<DELETED_SHARE>/.snapshot/<Snapshot_name>

It's possible to use wildcard like * to delete multiple snapshots for example c*

 

Then, I've launched a SCRUB command, it's working VERY SLOWLY, but snapshot space is constantly decreasing, while free space is growing up, after 4 hours is less than 4%...

I think I will launch a BALANCE, finally, to complete cleaning & maintenance procedure

 

ReadyNAS is always accessible, but performance monitor show it's workin on disk

 

Cheers

 

Merlinweb

 

 

Message 8 of 8
Top Contributors
Discussion stats
  • 7 replies
  • 4965 views
  • 1 kudo
  • 2 in conversation
Announcements