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

RN102 deleting share does not free up space

LaszloFolgerts
Aspirant

RN102 deleting share does not free up space

Hi,

 

I just deleted a share of around 500 GB but I don't see any extra space freed up.

 

I rebooted twice and ran a balance but the extra space still isn't available.

As you can see from the picture below, the total amount of used disk space doesn't seem to add up:

 

Untitled-2.jpg

 

EDIT: the uploaded image isn't showing, even after re-uploading it several times, I don't know why. So I've added the image as an attachment.

 

I'm hoping someone can help me free up my disk space. I can use SSH but only if someone tells me exactly what to type.

 

Thanks in advance and kind regards,

 

Laszlo

Model: RN102|ReadyNAS 100 Series 2- Bay
Message 1 of 10

Accepted Solutions
mdgm
Virtuoso

Re: RN102 deleting share does not free up space

# btrfs subvolume delete /data/.purge/1610836735_Music/.snapshots
# btrfs subvolume delete /data/.purge/1610836735_Music

View solution in original post

Message 9 of 10

All Replies
StephenB
Guru

Re: RN102 deleting share does not free up space


@LaszloFolgerts wrote:

 

EDIT: the uploaded image isn't showing, even after re-uploading it several times, I don't know why. 


Images need to be approved by a mod before they are shown, and that can take a while.  It's showing now.

 


@LaszloFolgerts wrote:


As you can see from the picture below, the total amount of used disk space doesn't seem to add up:

 

Untitled-2.jpg

 

o


Consider deleting the snapshot for Videos next (though it doesn't appear to be taking much space).

 

Also, you might try disabling Quota on the volume settings wheel.  Then reboot the NAS, and enable it again.

Message 2 of 10
LaszloFolgerts
Aspirant

Re: RN102 deleting share does not free up space

 

Thanks for your reply.



Also, you might try disabling Quota on the volume settings wheel.  Then reboot the NAS, and enable it again.


I've done that, but no effect, unfortunately



Consider deleting the snapshot for Videos next (though it doesn't appear to be taking much space).


I deleted the whole "Videos" share (I was going to anyway) but this time I did it slightly differently: I first deleted the folders inside and then deleted the share itself. When I first deleted the folders inside, the amount of deleted data first showed up as space taken up by snapshots and when I then deleted the share itself, it was displayed as regular data again. Then I ran a balance and it was finally displayed as free disk space again.

 

So I'm still missing roughly 500 GB from when I deleted the "Music" folder, so my guess is that the system now sees that deleted data as snapshots, but then it sees those snapshots as data. (I know, confusing, right?)

 

Last time I ran a balance it showed to be 182% complete. this doesn't seem correct.
Untitled-4.jpgUntitled-3.jpg

Message 3 of 10
mdgm
Virtuoso

Re: RN102 deleting share does not free up space

If you download your logs, what does your btrfs.log look like?

Message 4 of 10
LaszloFolgerts
Aspirant

Re: RN102 deleting share does not free up space

Label: '0e366074:data' uuid: 4fbce7f4-d873-4361-b594-86f801573d43
Total devices 1 FS bytes used 993.26GiB
devid 1 size 2.72TiB used 1.73TiB path /dev/md127

=== filesystem /data ===
Data, single: total=1.73TiB, used=992.46GiB
System, DUP: total=32.00MiB, used=320.00KiB
Metadata, DUP: total=1.50GiB, used=810.25MiB
GlobalReserve, single: total=512.00MiB, used=0.00B
=== subvolume /data ===
ID 256 gen 5666587 top level 5 path home
ID 258 gen 5668876 top level 5 path .apps
ID 259 gen 1572825 top level 5 path .vault
ID 260 gen 2484840 top level 5 path Pictures
ID 262 gen 5667974 top level 20165 path .purge/1610836735_Music
ID 263 gen 5667884 top level 5 path Documents
ID 264 gen 2484838 top level 5 path Backup
ID 265 gen 5667993 top level 5 path ._share
ID 832 gen 2480286 top level 5 path Qbittorrent
ID 1895 gen 5667974 top level 5 path Tutorials
ID 3380 gen 2484838 top level 264 path Backup/.snapshots
ID 3457 gen 2484838 top level 263 path Documents/.snapshots
ID 3495 gen 1572825 top level 262 path .purge/1610836735_Music/.snapshots
ID 3533 gen 2484840 top level 260 path Pictures/.snapshots
ID 3571 gen 5663425 top level 832 path Qbittorrent/.snapshots
ID 3684 gen 5667985 top level 1895 path Tutorials/.snapshots
ID 5232 gen 5662836 top level 5 path .timemachine
ID 17168 gen 5663407 top level 5 path resilio-sync
ID 17169 gen 1572825 top level 17168 path resilio-sync/.snapshots
ID 19317 gen 1955545 top level 5 path Afbeeldingen
ID 19318 gen 1955545 top level 5 path Video
ID 19319 gen 3955785 top level 5 path Muziek
ID 19320 gen 1955545 top level 5 path Documenten
ID 19321 gen 2483868 top level 19317 path Afbeeldingen/.snapshots
ID 19322 gen 2483869 top level 19318 path Video/.snapshots
ID 19323 gen 3955785 top level 19319 path Muziek/.snapshots
ID 19324 gen 2483868 top level 19320 path Documenten/.snapshots
ID 19325 gen 5667994 top level 5 path Transmission
ID 19326 gen 5663407 top level 19325 path Transmission/.snapshots
ID 20165 gen 5662837 top level 5 path .purge
=== qgroup /data ===
qgroupid rfer excl max_rfer
-------- ---- ---- --------
0/5 32.00KiB 32.00KiB none
0/256 2.28MiB 2.28MiB none
0/258 175.70MiB 175.70MiB none
0/259 32.00KiB 32.00KiB none
0/260 32.00KiB 32.00KiB none
0/262 443.68GiB 443.68GiB none
0/263 9.24GiB 9.24GiB none
0/264 32.00KiB 32.00KiB none
0/265 128.00KiB 128.00KiB none
0/832 36.00KiB 36.00KiB none
0/1895 504.61GiB 504.61GiB none
0/3380 32.00KiB 32.00KiB none
0/3457 32.00KiB 32.00KiB none
0/3495 32.00KiB 32.00KiB none
0/3533 32.00KiB 32.00KiB none
0/3571 96.00KiB 96.00KiB none
0/3684 32.00KiB 32.00KiB none
0/5232 32.00KiB 32.00KiB none
0/17168 32.00KiB 32.00KiB none
0/17169 32.00KiB 32.00KiB none
0/19317 32.00KiB 32.00KiB none
0/19318 32.00KiB 32.00KiB none
0/19319 32.00KiB 32.00KiB none
0/19320 32.00KiB 32.00KiB none
0/19321 32.00KiB 32.00KiB none
0/19322 32.00KiB 32.00KiB none
0/19323 32.00KiB 32.00KiB none
0/19324 32.00KiB 32.00KiB none
0/19325 34.83GiB 34.83GiB none
0/19326 32.00KiB 32.00KiB none
0/20165 32.00KiB 32.00KiB none
=== btrfs dump-super /dev/md127
superblock: bytenr=65536, device=/dev/md127
---------------------------------------------------------
csum_type 0 (crc32c)
csum_size 4
csum 0xd38486e3 [match]
bytenr 65536
flags 0x1
( WRITTEN )
magic _BHRfS_M [match]
fsid 4fbce7f4-d873-4361-b594-86f801573d43
label 0e366074:data
generation 5668876
root 16094715576320
sys_array_size 129
chunk_root_generation 5667978
root_level 1
chunk_root 17383411974144
chunk_root_level 1
log_root 0
log_root_transid 0
log_root_level 0
total_bytes 2995624738816
bytes_used 1066501627904
sectorsize 4096
nodesize 32768
leafsize (deprecated) 32768
stripesize 4096
root_dir 6
num_devices 1
compat_flags 0x0
compat_ro_flags 0x0
incompat_flags 0x21
( MIXED_BACKREF |
BIG_METADATA )
cache_generation 24
uuid_tree_generation 5668876
dev_item.uuid 5bf8fe87-1abc-4927-9a7a-139f72f60822
dev_item.fsid 4fbce7f4-d873-4361-b594-86f801573d43 [match]
dev_item.type 2
dev_item.total_bytes 2995624738816
dev_item.bytes_used 1904131047424
dev_item.io_align 4096
dev_item.io_width 4096
dev_item.sector_size 4096
dev_item.devid 1
dev_item.dev_group 0
dev_item.seek_speed 0
dev_item.bandwidth 0
dev_item.generation 0
sys_chunk_array[2048]:
item 0 key (FIRST_CHUNK_TREE CHUNK_ITEM 17383411941376)
length 33554432 owner 2 stripe_len 65536 type SYSTEM|DUP
io_align 65536 io_width 65536 sector_size 4096
num_stripes 2 sub_stripes 1
stripe 0 devid 1 offset 1133051904
dev_uuid 5bf8fe87-1abc-4927-9a7a-139f72f60822
stripe 1 devid 1 offset 1166606336
dev_uuid 5bf8fe87-1abc-4927-9a7a-139f72f60822
backup_roots[4]:
backup 0:
backup_tree_root: 16094694703104 gen: 5668873 level: 1
backup_chunk_root: 17383411974144 gen: 5667978 level: 1
backup_extent_root: 16094690050048 gen: 5668873 level: 2
backup_fs_root: 16094682742784 gen: 5667983 level: 0
backup_dev_root: 16094683922432 gen: 5667983 level: 1
backup_csum_root: 16094696472576 gen: 5668874 level: 2
backup_total_bytes: 2995624738816
backup_bytes_used: 1066501480448
backup_num_devices: 1

backup 1:
backup_tree_root: 16094705483776 gen: 5668874 level: 1
backup_chunk_root: 17383411974144 gen: 5667978 level: 1
backup_extent_root: 16094702370816 gen: 5668874 level: 2
backup_fs_root: 16094682742784 gen: 5667983 level: 0
backup_dev_root: 16094683922432 gen: 5667983 level: 1
backup_csum_root: 16094700240896 gen: 5668874 level: 2
backup_total_bytes: 2995624738816
backup_bytes_used: 1066501521408
backup_num_devices: 1

backup 2:
backup_tree_root: 16094711250944 gen: 5668875 level: 1
backup_chunk_root: 17383411974144 gen: 5667978 level: 1
backup_extent_root: 16094709547008 gen: 5668875 level: 2
backup_fs_root: 16094682742784 gen: 5667983 level: 0
backup_dev_root: 16094683922432 gen: 5667983 level: 1
backup_csum_root: 16094708891648 gen: 5668875 level: 2
backup_total_bytes: 2995624738816
backup_bytes_used: 1066501558272
backup_num_devices: 1

backup 3:
backup_tree_root: 16094715576320 gen: 5668876 level: 1
backup_chunk_root: 17383411974144 gen: 5667978 level: 1
backup_extent_root: 16094714560512 gen: 5668876 level: 2
backup_fs_root: 16094682742784 gen: 5667983 level: 0
backup_dev_root: 16094683922432 gen: 5667983 level: 1
backup_csum_root: 16094714363904 gen: 5668876 level: 2
backup_total_bytes: 2995624738816
backup_bytes_used: 1066501627904
backup_num_devices: 1

 

Message 5 of 10
mdgm
Virtuoso

Re: RN102 deleting share does not free up space

Music is stuck as a subvolume of the .purge subvolume and a snapshots subvolume is a subvolume music. Delete the subvolumes
stuck in purge and that should resolve it.
Message 6 of 10
LaszloFolgerts
Aspirant

Re: RN102 deleting share does not free up space

Thanks. Not through the UI, I presume? I can't see any subvolumes there.

If through SSH, i'm afraid you'll going to have to tell me what commands to type, because I'm a total n00b at that.

 

Thanks in advance.

Message 7 of 10
LaszloFolgerts
Aspirant

Re: RN102 deleting share does not free up space

I know how to log in with putty but that's about it.

Message 8 of 10
mdgm
Virtuoso

Re: RN102 deleting share does not free up space

# btrfs subvolume delete /data/.purge/1610836735_Music/.snapshots
# btrfs subvolume delete /data/.purge/1610836735_Music
Message 9 of 10
LaszloFolgerts
Aspirant

Re: RN102 deleting share does not free up space

Thanks! That worked!

Message 10 of 10
Top Contributors
Discussion stats
  • 9 replies
  • 2038 views
  • 0 kudos
  • 3 in conversation
Announcements