1. What version of Fedora, Samba & Greyhole are you running?
Code:
uname -r; rpm -q samba hda-greyhole
Code: Select all
6.31.5-127.fc12.i686.PAE
samba-3.4.2-47.fc12.i686
hda-greyhole-0.7.5-1.i386
Code:
yum -y install fpaste; fpaste /etc/samba/smb.conf; fpaste /etc/greyhole.conf
Code: Select all
http://fpaste.org/7cnm/
http://fpaste.org/n2vq/
3. The result of the following commands:
Code:
mount; fdisk -l; df -h; greyhole --stats
Code: Select all
/dev/mapper/VolGroup-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/sdb1 on /boot type ext4 (rw)
/dev/sdd1 on /var/hda/files/drives/drive1 type ext4 (rw)
/dev/sda1 on /var/hda/files/drives/drive2 type ext4 (rw)
/dev/sdc1 on /var/hda/files/drives/drive3 type ext4 (rw)
/dev/sdf1 on /var/hda/files/drives/drive4 type ext4 (rw)
/dev/sde1 on /var/hda/files/drives/drive5 type ext4 (rw)
/dev/sdh1 on /var/hda/files/drives/drive6 type ext4 (rw)
/dev/sdg1 on /var/hda/files/drives/drive7 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)
//127.0.0.1/movies on /mnt/samba/movies type cifs (rw,mand)
//127.0.0.1/movies_home on /mnt/samba/movies_home type cifs (rw,mand)
//127.0.0.1/music on /mnt/samba/music type cifs (rw,mand)
//127.0.0.1/pictures on /mnt/samba/pictures type cifs (rw,mand)
//127.0.0.1/public on /mnt/samba/public type cifs (rw,mand)
//127.0.0.1/software on /mnt/samba/software type cifs (rw,mand)
//127.0.0.1/users on /mnt/samba/users type cifs (rw,mand)
//127.0.0.1/videos on /mnt/samba/videos type cifs (rw,mand)
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x4bafc7b3
Device Boot Start End Blocks Id System
/dev/sda1 1 121602 976760832 83 Linux
Disk /dev/sdb: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xd16ce3ee
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 26 204800 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sdb2 26 30401 243991201 8e Linux LVM
Disk /dev/sdc: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xc87ee887
Device Boot Start End Blocks Id System
/dev/sdc1 1 121602 976760832 83 Linux
Disk /dev/sdd: 300.1 GB, 300090728448 bytes
255 heads, 63 sectors/track, 36483 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xd16ce393
Device Boot Start End Blocks Id System
/dev/sdd1 1 36484 293055488 83 Linux
Disk /dev/sde: 1500.3 GB, 1500301910016 bytes
255 heads, 63 sectors/track, 182401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x18249b79
Device Boot Start End Blocks Id System
/dev/sde1 1 182402 1465137152 83 Linux
Disk /dev/sdf: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x5c2ff997
Device Boot Start End Blocks Id System
/dev/sdf1 1 121602 976760832 83 Linux
Disk /dev/sdg: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x29cd4bd0
Device Boot Start End Blocks Id System
/dev/sdg1 1 243202 1953513472 83 Linux
Disk /dev/sdh: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xd16ce398
Device Boot Start End Blocks Id System
/dev/sdh1 1 30402 244197376 83 Linux
Disk /dev/dm-0: 244.3 GB, 244259487744 bytes
255 heads, 63 sectors/track, 29696 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000
Disk /dev/dm-0 doesn't contain a valid partition table
Disk /dev/dm-1: 5586 MB, 5586812928 bytes
255 heads, 63 sectors/track, 679 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000
Disk /dev/dm-1 doesn't contain a valid partition table
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup-lv_root
224G 52G 162G 25% /
tmpfs 1.9G 88K 1.9G 1% /dev/shm
/dev/sdb1 194M 22M 163M 12% /boot
/dev/sdd1 276G 262G 0 100% /var/hda/files/drives/drive1
/dev/sda1 917G 871G 0 100% /var/hda/files/drives/drive2
/dev/sdc1 917G 441G 431G 51% /var/hda/files/drives/drive3
/dev/sdf1 917G 366G 506G 42% /var/hda/files/drives/drive4
/dev/sde1 1.4T 265G 1.1T 21% /var/hda/files/drives/drive5
/dev/sdh1 230G 188M 218G 1% /var/hda/files/drives/drive6
/dev/sdg1 1.8T 24G 1.7T 2% /var/hda/files/drives/drive7
//127.0.0.1/movies 6.4T 2.5T 3.9T 40% /mnt/samba/movies
//127.0.0.1/movies_home
6.4T 2.5T 3.9T 40% /mnt/samba/movies_home
//127.0.0.1/music 6.4T 2.5T 3.9T 40% /mnt/samba/music
//127.0.0.1/pictures 6.4T 2.5T 3.9T 40% /mnt/samba/pictures
//127.0.0.1/public 6.4T 2.5T 3.9T 40% /mnt/samba/public
//127.0.0.1/software 6.4T 2.5T 3.9T 40% /mnt/samba/software
//127.0.0.1/users 6.4T 2.5T 3.9T 40% /mnt/samba/users
//127.0.0.1/videos 6.4T 2.5T 3.9T 40% /mnt/samba/videos
Greyhole Statistics
===================
Storage Pool
Total - Used = Free + Attic = Possible
/var/hda/files/drives/drive1/gh: 275G - 261G = 0G + 0G = 0G
/var/hda/files/drives/drive2/gh: 917G - 871G = 0G + 22G = 22G
/var/hda/files/drives/drive3/gh: 917G - 440G = 430G + 0G = 430G
/var/hda/files/drives/drive4/gh: 917G - 365G = 505G + 33G = 538G
/var/hda/files/drives/drive5/gh: 1375G - 265G = 1041G + 0G = 1041G
/var/hda/files/drives/drive6/gh: 229G - 0G = 217G + 0G = 217G
/var/hda/files/drives/drive7/gh: 1834G - 24G = 1717G + 0G = 1717G
Code:
mysql -u root -phda -e "select * from disk_pool_partitions" hda_production
Code: Select all
+----+------------------------------+--------------+---------------------+---------------------+
| id | path | minimum_free | created_at | updated_at |
+----+------------------------------+--------------+---------------------+---------------------+
| 1 | /var/hda/files/drives/drive1 | 10 | 2010-12-08 04:50:14 | 2010-12-08 04:50:14 |
| 2 | /var/hda/files/drives/drive2 | 10 | 2010-12-12 15:59:29 | 2010-12-12 15:59:29 |
| 3 | /var/hda/files/drives/drive3 | 10 | 2010-12-15 04:28:31 | 2010-12-15 04:28:31 |
| 4 | /var/hda/files/drives/drive4 | 10 | 2010-12-16 04:13:43 | 2010-12-16 04:13:43 |
| 5 | /var/hda/files/drives/drive5 | 10 | 2010-12-16 20:29:36 | 2010-12-16 20:29:36 |
| 6 | /var/hda/files/drives/drive6 | 10 | 2010-12-16 22:55:38 | 2010-12-16 22:55:38 |
| 7 | /var/hda/files/drives/drive7 | 10 | 2010-12-17 16:10:30 | 2010-12-17 16:10:30 |
+----+------------------------------+--------------+---------------------+---------------------+
Code:
mysql -u root -phda -e "select concat(path, '/gh') from disk_pool_partitions" hda_production | grep -v 'concat(' | xargs ls -la | fpaste
Code: Select all
http://fpaste.org/S56c/
6. The Greyhole work queue:
Code:
greyhole --view-queue
Code: Select all
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
Movies 0 0 0
Movies_Home 0 0 0
Music 4954 0 0
Pictures 10376 0 4594
Public 130 0 65
Software 522 0 261
Users 9744 0 4873
Videos 6 0 4
===========
Total 25732 + 0 + 9797 = 35529
Regards,
John