Files are not deleting, could possibly use some help.
Posted: 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
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