My landing zone is always full

paurey
Posts: 25
Joined: Mon Apr 18, 2011 12:50 pm

My landing zone is always full

Postby paurey » Tue Dec 20, 2011 2:37 pm

Hi

I have four hard drives using storage pool, and a fifth one only for the root, swap and home partitions.
I have tried to move the LZ of some shares (the big ones, music and movies) to other drives according to instructions in the wiki, I have waited days for greyhole --fsck to end up doing its work....but still my main LZ is always full and has been a bottle-neck for the last moths.
Any help is welcome.
thanks a lot!

Code: Select all

[root@servidorfaura pau]# uname -r; rpm -q samba hda-greyhole 2.6.35.6-45.fc14.x86_64 samba-3.5.5-68.fc14.1.x86_64 hda-greyhole-0.9.2-1.x86_64 [root@servidorfaura pau]# yum -y install fpaste; fpaste /etc/samba/smb.conf; fpaste /etc/greyhole.conf Loaded plugins: fastestmirror, langpacks, presto, refresh-packagekit Adding en_US to language list Loading mirror speeds from cached hostfile * fedora: mirror.corbina.net * rpmfusion-free: rpmfusion.famillecollet.com * rpmfusion-free-updates: rpmfusion.famillecollet.com * rpmfusion-nonfree: rpmfusion.famillecollet.com * rpmfusion-nonfree-updates: rpmfusion.famillecollet.com * updates: mirror.corbina.net Setting up Install Process Package fpaste-0.3.7-1.fc14.noarch already installed and latest version Nothing to do Uploading (7.6KiB)... http://fpaste.org/QRUJ/ Uploading (1.6KiB)... http://fpaste.org/zQID/ [root@servidorfaura pau]# mount; fdisk -l; df -h; greyhole --stats /dev/mapper/vg_servidorfaura-lv_root 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/mapper/vg_servidorfaura-lv_home on /home type ext4 (rw) /dev/sdb1 on /var/hda/files type ext4 (rw) /dev/sdc1 on /var/hda/files/drives/drive3 type ext4 (rw) /dev/sdd1 on /var/hda/files/drives/drive8 type ext4 (rw) /dev/sde1 on /var/hda/files/drives/drive9 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/pau/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=pau) Disk /dev/sda: 80.0 GB, 80026361856 bytes 255 heads, 63 sectors/track, 9729 cylinders, total 156301488 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x9c879c87 Device Boot Start End Blocks Id System /dev/sda1 * 2048 1026047 512000 83 Linux /dev/sda2 1026048 156301311 77637632 8e Linux LVM Disk /dev/sdb: 2000.4 GB, 2000398934016 bytes 255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x0009cfd4 Device Boot Start End Blocks Id System /dev/sdb1 63 3907029167 1953514552+ 83 Linux Disk /dev/sdc: 2000.4 GB, 2000398934016 bytes 255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000 Device Boot Start End Blocks Id System /dev/sdc1 63 3907029167 1953514552+ 83 Linux Disk /dev/sdd: 1000.2 GB, 1000204886016 bytes 255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x000d3918 Device Boot Start End Blocks Id System /dev/sdd1 2048 1953523711 976760832 83 Linux Disk /dev/sde: 1000.2 GB, 1000204886016 bytes 255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0xd5ef77c7 Device Boot Start End Blocks Id System /dev/sde1 63 1953525167 976762552+ 83 Linux Disk /dev/dm-0: 53.7 GB, 53687091200 bytes 255 heads, 63 sectors/track, 6527 cylinders, total 104857600 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000 Disk /dev/dm-0 doesn't contain a valid partition table Disk /dev/dm-1: 4194 MB, 4194304000 bytes 255 heads, 63 sectors/track, 509 cylinders, total 8192000 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000 Disk /dev/dm-1 doesn't contain a valid partition table Disk /dev/dm-2: 21.6 GB, 21609054208 bytes 255 heads, 63 sectors/track, 2627 cylinders, total 42205184 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000 Disk /dev/dm-2 doesn't contain a valid partition table Filesystem Size Used Avail Use% Mounted on /dev/mapper/vg_servidorfaura-lv_root 50G 4.5G 43G 10% / tmpfs 1000M 432K 999M 1% /dev/shm /dev/sda1 485M 30M 430M 7% /boot /dev/mapper/vg_servidorfaura-lv_home 20G 3.4G 16G 18% /home /dev/sdb1 1.8T 1.7T 37M 100% /var/hda/files /dev/sdc1 1.8T 1.1T 681G 61% /var/hda/files/drives/drive3 /dev/sdd1 917G 181G 690G 21% /var/hda/files/drives/drive8 /dev/sde1 917G 190G 682G 22% /var/hda/files/drives/drive9 Greyhole Statistics =================== Storage Pool Total - Used = Free + Attic = Possible /var/hda/files/gh: 1834G - 1741G = 0G + 852G = 852G /var/hda/files/drives/drive3/gh: 1834G - 1060G = 681G + 307G = 987G /var/hda/files/drives/drive8/gh: 917G - 181G = 690G + 0G = 690G /var/hda/files/drives/drive9/gh: 917G - 189G = 681G + 57G = 739G ========================================== Total: 5501G - 3170G = 2052G + 1216G = 3267G [root@servidorfaura pau]# mysql -u root -phda -e "select * from disk_pool_partitions" hda_production +----+------------------------------+--------------+---------------------+---------------------+ | id | path | minimum_free | created_at | updated_at | +----+------------------------------+--------------+---------------------+---------------------+ | 1 | /var/hda/files | 10 | 2011-06-20 19:31:09 | 2011-06-20 19:31:09 | | 2 | /var/hda/files/drives/drive3 | 10 | 2011-06-29 18:42:13 | 2011-06-29 18:42:13 | | 3 | /var/hda/files/drives/drive8 | 10 | 2011-08-20 10:59:45 | 2011-08-20 10:59:45 | | 4 | /var/hda/files/drives/drive9 | 10 | 2011-08-21 15:22:59 | 2011-08-21 15:22:59 | +----+------------------------------+--------------+---------------------+---------------------+ [root@servidorfaura pau]# mysql -u root -phda -e "select concat(path, '/gh') from disk_pool_partitions" hda_production | grep -v 'concat(' | xargs ls -la | fpaste Uploading (3.2KiB)... Server Error: 500 - INTERNAL SERVER ERROR [root@servidorfaura pau]# 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 arxiu 0 0 0 arxiudup 0 0 0 copiasseguridad 0 0 0 Fotos 0 0 0 Music 0 0 0 papi 0 0 0 paucoses 0 0 0 paucosesdup 0 0 0 Pelis 0 0 0 Temp 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

HHCosmin
Posts: 24
Joined: Sun Jan 23, 2011 5:06 am

Re: My landing zone is always full

Postby HHCosmin » Fri Dec 30, 2011 10:06 am

fist of all i 'm not a linux or greyhole expert but i managed to learn a thing or 2 so here it goes.

/var/hda/files/gh: 1834G - 1741G = 0G + 852G = 852G
this looks like the landing zone and it's full (852G). just empty the attic (recyle bin). check for it for it in the viki. you just have to create a greyhole share with a specific name and you will be able to clean it up.
as far as i knwo it's only oen landing zone and it's better to leave it as it is.

paurey
Posts: 25
Joined: Mon Apr 18, 2011 12:50 pm

Re: My landing zone is always full

Postby paurey » Tue Jan 03, 2012 4:58 am

Thanks!
I didn't know that I had to "clean the attic" myself....thought it was automatic. It seems easy then.
I will try to follow instructions in the wiki when I solve a problem with one malfunctioning hard drive at this moment.
Thanks again.

Who is online

Users browsing this forum: No registered users and 10 guests