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

[SOLVED] Duplicate files?

atz6975
Guide

[SOLVED] Duplicate files?

Hi,

I was looking for files in my Nas(314/6.2.4) through ssh.

 

I found two copies of the files :

One where it is (/data/Documents.....)

One in /var/ftp/

 

Finally I found that var/ftp contains a lot of the files (Documents, Video) I had in other places.

 

What is /var/ftp?

 

Thx

Message 1 of 4

Accepted Solutions
StephenB
Guru

Re: [SOLVED] Duplicate files?

Each share is a subvolume.

 

If you run df . on /var/ftp and /data, you'll see that the subvolumes (a.k.a. shares) have simply been mounted twice.  There are some details here: https://lwn.net/Articles/579009/

 

 

View solution in original post

Message 3 of 4

All Replies
atz6975
Guide

[SOLVED] Duplicate files?

Ok...i was a bit lazy....

Looks like the Nas is mounting there the shares I have FTP enabled for.

du  -hs * shows a very small /var and a big /data.

I'm completely unaware of btrfs magic (subvolumes&friends) but is this how this is done (for my culture)?

 

Thx for taking the time to enlight me.

Message 2 of 4
StephenB
Guru

Re: [SOLVED] Duplicate files?

Each share is a subvolume.

 

If you run df . on /var/ftp and /data, you'll see that the subvolumes (a.k.a. shares) have simply been mounted twice.  There are some details here: https://lwn.net/Articles/579009/

 

 

Message 3 of 4
atz6975
Guide

Re: [SOLVED] Duplicate files?

Nice! Thx for the info.

Message 4 of 4
Top Contributors
Discussion stats
  • 3 replies
  • 2840 views
  • 0 kudos
  • 2 in conversation
Announcements