- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Re: hidden snapshots wont delete
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hidden snapshots wont delete
i am showing 1.36TB of snapshots - i only had them enabled on a directory with 200mb shared. i have tried to delete using the ssh to upgrade the snapshot - but no dice. i am running current firmware of 6.10
ive tried, https://notes.ponderworthy.com/upgrade-snapshots-in-a-readynas
i can make new and delete just fine. but i am unable to see the "hidden snapshots" am i missing something?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: hidden snapshots wont delete
Do you see the snapshots (via ssh) when you enter
# btrfs subvolume list /data
(use your actual volume name instead of /data if you are using flexraid)
If you can see them, then you could try manually deleting them with
# btrfs subvolume delete /path
using the full path of the snapshot (something like /data/sharename/.snapshots/xx/snapshot). Make sure you include the volume name - the btrfs list command doesn't include it.
If the deletion works, you likely will need to do a balance (and maybe a scrub after that) to reclaim the space.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: hidden snapshots wont delete
this is what i get when i attempt that command
Using username "root".
root@10.3.0.54's password:
Welcome to ReadyNASOS 6.10.0
Last login: Fri May 10 10:09:25 2019 from tech-1
root@NWNAS:~# btrfs subvolume list /data
ERROR: not a btrfs filesystem: /data
ERROR: can't access '/data'
root@NWNAS:~# root@NWNAS:~# btrfs subvolume list /data
-bash: root@NWNAS:~#: command not found
root@NWNAS:~# ERROR: not a btrfs filesystem: /data
-bash: ERROR:: command not found
root@NWNAS:~# ERROR: can't access '/data'
>
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: hidden snapshots wont delete
What is the name of your data volume (look on the volume tab of the web ui)?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: hidden snapshots wont delete
ok, so its named RAID so i rerun the command and get.
ID 1491 gen 20856 top level 262 path ._share/test/.snapshot/c_1425099615
ID 1521 gen 22902 top level 262 path ._share/test/.snapshot/c_1427774440
ID 1551 gen 24893 top level 262 path ._share/test/.snapshot/c_1430366434
ID 1582 gen 63461 top level 262 path ._share/test/.snapshot/c_1433044814
ID 1612 gen 63455 top level 262 path ._share/test/.snapshot/c_1435636844
how would i structure the delete command?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: hidden snapshots wont delete
i reran with the command - volume name is RAID
now i get this...
ID 1491 gen 20856 top level 262 path ._share/test/.snapshot/c_1425099615
ID 1521 gen 22902 top level 262 path ._share/test/.snapshot/c_1427774440
ID 1551 gen 24893 top level 262 path ._share/test/.snapshot/c_1430366434
ID 1582 gen 63461 top level 262 path ._share/test/.snapshot/c_1433044814
ID 1612 gen 63455 top level 262 path ._share/test/.snapshot/c_1435636844
what is the correct structure of
btrfs subvolume delete /path
to delete the snapshots?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: hidden snapshots wont delete
RAID
i now get this on the output
ID 1682 gen 63449 top level 262 path ._share/test/.snapshot/c_1441684838
ID 1683 gen 63449 top level 262 path ._share/test/.snapshot/c_1441771243
ID 1684 gen 63449 top level 262 path ._share/test/.snapshot/c_1441857648
ID 1685 gen 63449 top level 262 path ._share/test/.snapshot/c_1441944053
ID 1686 gen 63449 top level 262 path ._share/test/.snapshot/c_1442030458
ID 1687 gen 63449 top level 262 path ._share/test/.snapshot/c_1442116803
ID 1688 gen 63449 top level 262 path ._share/test/.snapshot/c_1442203209
ID 1689 gen 63449 top level 262 path ._share/test/.snapshot/c_1442289613
ID 1690 gen 63449 top level 262 path ._share/test/.snapshot/c_1442376019
what is the correct structure to delete?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: hidden snapshots wont delete
RAID
i now get this on the output
ID 1682 gen 63449 top level 262 path ._share/test/.snapshot/c_1441684838
ID 1683 gen 63449 top level 262 path ._share/test/.snapshot/c_1441771243
ID 1684 gen 63449 top level 262 path ._share/test/.snapshot/c_1441857648
ID 1685 gen 63449 top level 262 path ._share/test/.snapshot/c_1441944053
ID 1686 gen 63449 top level 262 path ._share/test/.snapshot/c_1442030458
ID 1687 gen 63449 top level 262 path ._share/test/.snapshot/c_1442116803
ID 1688 gen 63449 top level 262 path ._share/test/.snapshot/c_1442203209
ID 1689 gen 63449 top level 262 path ._share/test/.snapshot/c_1442289613
ID 1690 gen 63449 top level 262 path ._share/test/.snapshot/c_1442376019
what is the correct structure to delete?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: hidden snapshots wont delete
Try /volume-name/._share/test/.snapshot/c_1441684838 using your actual volume name.
If that deletes the first snapshot, then try deleting the rest.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: hidden snapshots wont delete
hi, i did figure that out - and it did delete those, however i still have 1.36TB in snapshots. i ran a balance and scrub as well.
if i run
btrfs subvolume list /RAID
again I get.
root@NWNAS:~# btrfs subvolume list /RAID
ID 256 gen 550399 top level 5 path .purge
ID 258 gen 666498 top level 5 path .apps
ID 259 gen 665654 top level 5 path home
ID 260 gen 8 top level 5 path .vault
ID 261 gen 666493 top level 5 path Isos
ID 262 gen 665723 top level 5 path ._share
ID 263 gen 666492 top level 5 path Backups
ID 264 gen 666497 top level 5 path Tools
ID 265 gen 665646 top level 5 path HDDImages
ID 1847 gen 665733 top level 5 path .timemachine
ID 7195 gen 665654 top level 259 path home/admin
ID 22284 gen 250746 top level 259 path home/donna@comprehensivehousingresou
ID 22286 gen 665654 top level 259 path home/raymondkbanville@hotmail.com
ID 22303 gen 666495 top level 5 path RotaryShare
ID 22304 gen 666497 top level 22303 path RotaryShare/.snapshots
ID 34024 gen 665676 top level 22304 path RotaryShare/.snapshots/33/snapshot
ID 34025 gen 666497 top level 261 path Isos/.snapshots
where to from here?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: hidden snapshots wont delete
Are you looking to delete all your snapshots or? You still have some left. An easier way to see the snapshots would be:
btrfs subvolume list -s /RAID
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: hidden snapshots wont delete
@nextwavepc wrote:
where to from here?
Well, you do have one more to delete
@nextwavepc wrote:
ID 34024 gen 665676 top level 22304 path RotaryShare/.snapshots/33/snapshot
So maybe do that last one, and repeat the balance and the scrub.