.gvfs shows using disk space in home dir

Hello, 1st post here :slight_smile:
I have moved from Mint Gnome to Opensuse KDE, great OS I must say.

In Mint I used to use Deja Dup as a backup tool to a NAS, in Opensuse I am using Duply the Duplicity frontend to FTP to the NAS.
The 1st backup went ok, the backup size was the same as my home dir.
I ran backup the next day which should be an automatic incremental backup & the backup dir doubled in size, no way had there been that many changes, maybe 500mb, not 13gb of changes.

I think the .gvfs dir in my home dir which points to my FTP backup drive was being backed up, so the backups were being backed up, so I will reset the backups to exclude this using --exclude ~/.gvfs
So I think that problem is solved.

However …

I assume Opensuse thinks that the .gvfs dir is actually using real space on my home partition & that is is not merely a link to the network drive.

df -h shows this:

Filesystem Size Used Avail Use% Mounted on
rootfs 40G 4.6G 33G 13% /
devtmpfs 2.9G 8.0K 2.9G 1% /dev
tmpfs 2.9G 1.3M 2.9G 1% /dev/shm
tmpfs 2.9G 692K 2.9G 1% /run
/dev/mapper/system-root 40G 4.6G 33G 13% /
tmpfs 2.9G 0 2.9G 0% /sys/fs/cgroup
tmpfs 2.9G 692K 2.9G 1% /var/run
tmpfs 2.9G 0 2.9G 0% /media
tmpfs 2.9G 692K 2.9G 1% /var/lock
/dev/sda1 152M 32M 112M 23% /boot
/dev/mapper/system-home 417G 14G 387G 4% /home

When I click on the ‘My Computer’ link on the desktop it shows home as using 30.4gb, so I think it is looking inside the .gvfs dir & including the files in there?

If so, how can I stop this?

Many thanks.

On 2011-12-27 01:06, cl00t wrote:

> I think the .gvfs dir in my home dir which points to my FTP backup
> drive was being backed up, so the backups were being backed up, so I
> will reset the backups to exclude this using --exclude ~/.gvfs
> So I think that problem is solved.

I think it should not point there. I have never seen anything inside that
directory.

cer@Telcontar:~> df .gvfs/
Filesystem 1K-blocks Used Available Use% Mounted on
gvfs-fuse-daemon 0 0 0 - /home/cer/.gvfs

Anyway, it is a nuisance, but you should add filters in your backups to
exclude that directory.

> If so, how can I stop this?

I don’t see evidence of that above. :-?

–
Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

.gvfs is a FUSE mount point for network filesystems and some programs (e.g. backup program) don’t differentiate. But that was an aside and a red herring.

What he was saying is that df knows it’s a different partition but the My Computer link doesn’t appear to. I was also a bit puzzled at first until I understood what he was saying. He should have included a screen shot.

I don’t use My Computer to view usage so I have no idea.

On 2011-12-27 02:26, ken yap wrote:
> I don’t use My Computer to view usage so I have no idea.

I assume that My Computer it is a KDE thing? Maybe it knows nothing about
gvfs, being a gnome thing.

–
Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

The ‘My Computer’ is a desktop item installed by Opensuse automatically & is available after 1st boot on a new KDE only installation, it opens Konqueror. I couldn;t figure out how to upload a screen shot here :
Anyway, it is annoyance & nothing more I guess.
I have excluded it from backups & all is well now, thanks for the quick replies.

It’s pretty easy to check if .gvfs is counted. Prevent it from mounting and see if the reported disk usage goes down. If so, and there is no way to change this behaviour, I would report it as a bug.

On 2011-12-27 13:46, cl00t wrote:
>
> The ‘My Computer’ is a desktop item installed by Opensuse automatically
> & is available after 1st boot on a new KDE only installation, it opens
> Konqueror. I couldn;t figure out how to upload a screen shot here :\

In our pastebin. But don’t worry, I can imagine what it is. :slight_smile:

Unless you can show a photo displaying the problem with that directory,
that would be something.

What I meant is that the same that your backup software doesn’t ignore that
directory, other software is baffled by that directory. For example, look:


Telcontar:~ # df /home/cer/.gvfs
df: `/home/cer/.gvfs': Permission denied
df: no file systems processed
Telcontar:~ #

Root is denied access to that directory! That causes baffling errors in
many programs. It would be no surprise that “my computer” is also baffled.

–
Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

On 2011-12-27 13:56, ken yap wrote:
>
> It’s pretty easy to check if .gvfs is counted. Prevent it from mounting
> and see if the reported disk usage goes down.

It is impossible to prevent it. But as he is using KDE, he must have
started some gnome program as well.

–
Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

Of course he can, disconnect or shutdown the remote machine.

On 2011-12-27 16:56, ken yap wrote:
> Of course he can, disconnect or shutdown the remote machine.

The directory .gvfs is impossible to remove.

–
Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

It doesn’t matter, as long as there no network filesystem mounted at that mountpoint. That’s the hypothesis we want to test, whether the My Computer thingy is counting blocks in remote filesystems or not. You will not be able to remove a FUSE mountpoint as a user anyway.

Hello, I believe it was installed by duplicity, or generated by duplicity / duply when I first used it. I had to use the --gio switch with duplicity to get it to connect to the nas vie ftp & I think that is when I first noticed it.
Or it may have been Filezilla, I use that to ftp to my nas.

Funny thing is, I can browse the .gvfs dir as user no problems & access my nas that way :\

Actually, it gets even more puzzling.

If I right click & choose properties of home in dolphin it shows a size of 256.7gb, but at the bottom of the window in device usage it shows 384.8gb free of 417gb (8% used). So dolphin is following the .gvfs dir.

Ok, the .gvfs dir points to 2 shares, 228.8gb + 12.9gb = 241.7gb

256.7gb - 241.7gb = 15gb which is about right for my home dir at the moment according to df.

So there is no ‘problem’ as such, ie there is no huge file I cannot find consuming space in home.

Oh & the pesky ‘my computer’ thing now shows home as 32.2gb, how it gets that I have no idea.

Thanks for the replies again.