- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Re: Snapshots have disappeared
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I upgraded this morning to 6.9.5, and I noticed that all my snapshots have disappeared. I don't know whether or not this disappearance is a result of the upgrade.
Quotas are enabled.
Disk spin-down is enabled, with spin-up enabled to take scheduled snapshots.
I am able to manually create a snapshot.
Logs show that snapshots were last pruned in 11-Jan-2019.
Any suggestions? Thanks!
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@RupertGiles wrote:
Also, were I to run a btrfs scrub from the shell, would I be crossing any lines with respect to future support from Netgear?
General guidance from Netgear is that support won't help you if they decide that your use of ssh did damage. If there was damage, then doing a factory reset would resolve it. https://kb.netgear.com/30068/ReadyNAS-OS-6-SSH-access-support-and-configuration-guides
Personally I don't think doing a btrfs scrub would do damage (since the scrub in the web ui includes it). But I don't work for Netgear, and their views might differ.
@RupertGiles wrote:While we're on the subject, could you remind me of the "Correct" order for the various maintenance tasts--Defrag, Scub, and Balance?
Honestly, I don't think there is a correct order. I run them all periodically (on a three month schedule), so the cycle could begin with any of them. FWIW my current schedule is
- disk test (month 1 of the quarter)
- balance (month 2 of the quarter )
- defrag (middle of month 2 of the quarter)
- scrub (month 3 of the quarter)
All Replies
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Snapshots have disappeared
Are you using smart snapshots or custom settings?
What firmware were you running before you upgraded to 6.9.5?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Snapshots have disappeared
I am using Smart Snapshots, set to "Weekly".
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Snapshots have disappeared
P.S. Previous firmware was the previous version -- 6.9.4. I generally update when the new firmware is released
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Snapshots have disappeared
Are new scheduled snapshots being created?
FWIW, I updated my backup NAS to 6.9.5 recently, and I didn't lose any snapshots.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Snapshots have disappeared
Difficult to say. I didn't think to check before I upgraded the system this morning.
However, the logs report that on 11-Jan, older snapshots were successfully pruned. That would seem to indicate that there had been snapshots present.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Snapshots have disappeared
@RupertGiles wrote:
Difficult to say. I didn't think to check before I upgraded the system this morning.
However, the logs report that on 11-Jan, older snapshots were successfully pruned. That would seem to indicate that there had been snapshots present.
And if you were using "smart" snapshot the system retains the monthly snapshots indefinitely. So if that's the case, something definitely went wrong over the past couple of weeks.
Try setting the snapshot schedule to daily for one share, and then copy a file into that share. Then see if a snapshot is created tonight.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Snapshots have disappeared
Thanks! I will follow your suggestion, and keep you posted on the result.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Snapshots have disappeared
Well, snapshots have started to work again. Not only did the the share I configured for a daily snapshot get one, but all the other shares that are configured for weekly snapshots did as well. No explanation at all.
Is there a way to determine if "Phantom" snapshots are lurking somewhere taking up space? I can't help wondering if the older snapshots are there, but for some reason, the system isn't seeing them.
Thanks again for your help!
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Snapshots have disappeared
@RupertGiles wrote:
Is there a way to determine if "Phantom" snapshots are lurking somewhere taking up space? I can't help wondering if the older snapshots are there, but for some reason, the system isn't seeing them.
If you have ssh enabled, you can look for snapshots using
# btrfs subvolume list -s /data
You can also look in .purge to see if some are "stuck" in there.
# ls /data/.purge
FWIW, you might also want to do a scrub (from the volume settings wheel), followed by a balance.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Snapshots have disappeared
Thanks for that...all snapshots were created last night, and nothing in /data/.purge.
I have a scrub scheduled to run 2x/year, on 1 Jan and 1 July, so just did one. I will, however, run a Balance.
Thanks again for your assistance!
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Snapshots have disappeared
@RupertGiles wrote:
I have a scrub scheduled to run 2x/year, on 1 Jan and 1 July, so just did one.
I'd still run another one, since the snapshots disappeared in mid-January. You could speed it up perhaps by running a btrfs scrub from linux (which would skip the raid scrub part).
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Snapshots have disappeared
Will do.
While we're on the subject, could you remind me of the "Correct" order for the various maintenance tasts--Defrag, Scub, and Balance?
Also, were I to run a btrfs scrub from the shell, would I be crossing any lines with respect to future support from Netgear?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@RupertGiles wrote:
Also, were I to run a btrfs scrub from the shell, would I be crossing any lines with respect to future support from Netgear?
General guidance from Netgear is that support won't help you if they decide that your use of ssh did damage. If there was damage, then doing a factory reset would resolve it. https://kb.netgear.com/30068/ReadyNAS-OS-6-SSH-access-support-and-configuration-guides
Personally I don't think doing a btrfs scrub would do damage (since the scrub in the web ui includes it). But I don't work for Netgear, and their views might differ.
@RupertGiles wrote:While we're on the subject, could you remind me of the "Correct" order for the various maintenance tasts--Defrag, Scub, and Balance?
Honestly, I don't think there is a correct order. I run them all periodically (on a three month schedule), so the cycle could begin with any of them. FWIW my current schedule is
- disk test (month 1 of the quarter)
- balance (month 2 of the quarter )
- defrag (middle of month 2 of the quarter)
- scrub (month 3 of the quarter)
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Snapshots have disappeared
Well, not sure what happened to cause the original problem of vanishing snapshots, but they're now getting created as scheduled.
Thanks again for your assistance.