Files are not deleting, could possibly use some help.

rick4470
Posts: 4
Joined: Tue Jul 24, 2012 1:49 pm

Files are not deleting, could possibly use some help.

Postby rick4470 » Tue Jul 24, 2012 2:34 pm

----------Thanks for your HELP--------


I have multiple shares but for me to better explain the problem i am going to be using \\hda\Docs every time i delete files from that share location, this applies to all the shares. The files get deleted as you expect at least on the surface, but the files still remain on my storage pool because its saying that i have maxed out my storage but i know have deleted multiple files freeing up space. Now my question is my greyhole having issues deleting the files? Is there a place i should look for to delete the files manually?


-----What version of Fedora, Samba & Greyhole are you running?----
Samba 3.5.5-68.fc14.1.i686
hda-greyhole-0.9.2-1.i386
------Mount command------
/dev/mapper/vg_cloud-LogVol02 on / type ext4 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
/dev/sda1 on /boot type ext4 (rw)
/dev/sda3 on /files type ext4 (rw)
/dev/sdc1 on /files1 type ext4 (rw)
/dev/sdb1 on /files2 type ext4 (rw)
/dev/mapper/vg_cloud-LogVol01 on /home type ext4 (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
gvfs-fuse-daemon on /home/cloud/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=cloud)
---------df -h command-------
[cloud@cloud ~]$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_cloud-LogVol02
20G 4.2G 14G 23% /
tmpfs 496M 420K 496M 1% /dev/shm
/dev/sda1 485M 28M 432M 7% /boot
/dev/sda3 257G 240G 4.0G 99% /files
/dev/sdc1 74G 66G 4.0G 95% /files1
/dev/sdb1 74G 12G 58G 17% /files2
/dev/mapper/vg_cloud-LogVol01
9.7G 246M 8.9G 3% /home
---------[cloud@cloud ~]$ greyhole --stats---------

Greyhole Statistics
===================

Storage Pool
Total - Used = Free + Attic = Possible
/files/gh: 256G - 239G = 4G + 123G = 127G
/files1/gh: 73G - 66G = 4G + 14G = 18G
==========================================
Total: 330G - 305G = 8G + 136G = 144G
---------mysql -u root -phda -e "select * from disk_pool_partitions" hda_production------

[cloud@cloud ~]$ mysql -u root -phda -e "select * from disk_pool_partitions" hda_production
+----+---------+--------------+---------------------+---------------------+
| id | path | minimum_free | created_at | updated_at |
+----+---------+--------------+---------------------+---------------------+
| 1 | /files | 10 | 2012-02-11 07:41:50 | 2012-02-11 07:41:50 |
| 5 | /files1 | 10 | 2012-06-22 01:04:36 | 2012-06-22 01:04:36 |
+----+---------+--------------+---------------------+---------------------+

--------​greyhole --view-queue------
Greyhole Work Queue Statistics
==============================

This table gives you the number of pending operations queued for the Greyhole daemon, per share.

Write Delete Rename
Books 0 0 0
Docs 0 0 0
Install Files 0 0 0
Movies 0 0 0
Music 0 0 0
Pictures 0 0 0
Public 0 0 0
WindowsBackup 0 0 0
=============
Total 0 + 0 + 0 = 0

The following is the number of pending operations that the Greyhole daemon still needs to parse.
Until it does, the nature of those operations is unknown.
Spooled operations that have been parsed will be listed above and disappear from the count below.

Spooled 0

rick4470
Posts: 4
Joined: Tue Jul 24, 2012 1:49 pm

Re: Files are not deleting, could possibly use some help.

Postby rick4470 » Tue Jul 24, 2012 2:42 pm

Things that i have tired are the commands in troubleshooting area of this wiki page
wiki.amahi.org/index.php/Greyhole_troubleshooting

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Files are not deleting, could possibly use some help.

Postby bigfoot65 » Tue Jul 24, 2012 3:05 pm

When you delete files, they do not go away permanently until you empty the attic. That is probably why you don't see the reclaimed space.

As root user do

Code: Select all

greyhole -a
Not sure if Greyhole is programmed to do this periodically, but I empty mine every few days. You can also create a Greyhole Trash share so you can remove them via Windows client as well.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

rick4470
Posts: 4
Joined: Tue Jul 24, 2012 1:49 pm

Re: Files are not deleting, could possibly use some help.

Postby rick4470 » Tue Jul 24, 2012 3:18 pm

Woooo! it worked thanks a million. I just freed up 123GB of space.

rick4470
Posts: 4
Joined: Tue Jul 24, 2012 1:49 pm

Re: Files are not deleting, could possibly use some help.

Postby rick4470 » Tue Jul 24, 2012 3:19 pm

Is there a possible way to see what is in this "attic" place that you clear in greyhole?

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Files are not deleting, could possibly use some help.

Postby bigfoot65 » Tue Jul 24, 2012 4:31 pm

Add it as a share. Guidance is in the wiki.

https://github.com/gboudreau/Greyhole/wiki/AboutTrash
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Who is online

Users browsing this forum: No registered users and 12 guests