NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

Merlinweb's avatar
Jul 27, 2017
Solved

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

 

 

 

 

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

 

 

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

 

 

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

Thanks everybody for help

 

Cheers

 

Merlinweb

 

 

  • 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

     

     

7 Replies

Replies have been turned off for this discussion
  • StephenB's avatar
    StephenB
    Guru - Experienced User

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

    • Merlinweb's avatar
      Merlinweb
      Tutor

      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 

      • StephenB's avatar
        StephenB
        Guru - Experienced User

        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).  

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More