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

Forum Discussion

slvnews's avatar
slvnews
Aspirant
Oct 31, 2019

Unwanted snapshots

Hello

 

I have ReadyOS 6.10.2.

I move from old system.

So I add 1 drive. Make jbod

Then add second drive

And copy old data from old drive to /data/

 

After copy webgui show me all data as a snspshot. hmmm ?

 

After I remove all snapshots from gui (all is empty), snapshot show by gui gone, space used by data ramain the same - snapshot 'become' normal data.

 

But...

 

If I add any share, and make any (empty data) snapshot, 'old snapshot usage' apears.

 

With digit.

 

3TB array

1.7TB old data

After copy - 1.7TB as snapshot

Remove all snapshot from GUI - snapshot 0TB, data 1.7TB - this is correct

 

Add any share - 1.7TB data

Add any snapshot to any share - 1.7TB SNAPSHOT :)

I guess smoethre is snapshot in /data/ - I copy data there by ssh 

 

Best

 

5 Replies

Replies have been turned off for this discussion
  • Created new share from gui "old_data_dir"

    Move by ssh old data from /data/olddata to new share /data/old_data_dir/olddata

     

    problem gone

     

    So, GUI count all data copied by ssh to eg /data as snapshot ?

     

    • StephenB's avatar
      StephenB
      Guru - Experienced User

      slvnews wrote:

       

      So, GUI count all data copied by ssh to eg /data as snapshot ?

       


      It shouldn't.

       

      But NAS shares aren't ordinary folders - they are BTRFS subvolumes.  You'll find you can't delete them with rm.  

       

      So if you just copied data with cp directly to the data volume, then you did the wrong thing - the folders would have been ordinary folders - and the NAS software might not have accounted for the storage use correctly.

      • slvnews's avatar
        slvnews
        Aspirant

        StephenB wrote:

        slvnews wrote:

         

        So, GUI count all data copied by ssh to eg /data as snapshot ?

         


        It shouldn't.

         

        <answer>

        Yes, it shouldn't. I guess - guui should check snapshot some way. 
        Or... quiestion to developers - meaby there is global shapshot on /data volume ? I don't

        know. I have to investigate btrfs. I'm still at ext4 usually...

        </answer>

         

         

        But NAS shares aren't ordinary folders - they are BTRFS subvolumes.  You'll find you can't delete them with rm.  

         

        <answer> 

        I know

         

        </answer>

         

        So if you just copied data with cp directly to the data volume, then you did the wrong thing - the folders would have been ordinary folders - and the NAS software might not have

        accounted for the storage use correctly.


        <answer>

        No, I don't touch NAS directories/shares. Don't move, delete etc

        I created own directory eg mkdir /data/old_data_dir from command line

         

        Copy old data from external drive to this directory.

        After all data in GUI was show as snapshot - yellow

        But not instantly. I have to create any share after copy data + make any snapshot on share. Then 'snapshot' in GUI appears - yellow bar. And size - equal do data copied. 

        So i create from GUI New Share, lets call it 'myolddata' and move all data from manulaly created befora /data/old_data_dir to this new created from GUI share (volume) 'myolddata'.

        Snapshot gone, all is ok

         

        it's seems ReadyNAS take data in /data/ dir like.. Snapshots ?

        I don't know

         

         

        p.s.

        I don't now how quote... sorry for mess in message 

         

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