Code: Select all
uname -r; rpm -q samba hda-greyhole
2.6.32.26-175.fc12.x86_64
samba-3.4.9-60.fc12.x86_64
hda-greyhole-0.7.5-1.x86_64
Code: Select all
yum -y install fpaste; fpaste /etc/samba/smb.conf; fpaste /etc/greyhole.conf
http://fpaste.org/Kgtq/
http://fpaste.org/dh6B/
Code: Select all
mount; fdisk -l; df -h; greyhole --stats
/dev/mapper/vg_linuxserver-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/sdf1 on /var/hda/files/drives/drive3 type ext4 (rw)
/dev/sdd1 on /var/hda/files/drives/drive4 type ext4 (rw)
/dev/sde1 on /var/hda/files/drives/drive5 type ext4 (rw)
/dev/sdc1 on /var/hda/files/drives/drive6 type ext4 (rw)
/dev/sdb1 on /var/hda/files/drives/drive7 type ext4 (rw)
/dev/sdg1 on /var/hda/files/drives/drive9 type ext4 (rw)
/dev/sdh1 on /var/hda/files/drives/drive11 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)
funionfs on /var/hda/apps/ushare/files type fuse.funionfs (rw,nosuid,nodev,allow_other)
gvfs-fuse-daemon on /home/matt/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=matt)
Disk /dev/sda: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00098578
Device Boot Start End Blocks Id System
/dev/sda1 * 1 26 204800 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2 26 243201 1953307201 8e Linux LVM
Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x6c6df128
Device Boot Start End Blocks Id System
/dev/sdb1 1 121601 976760001 83 Linux
Disk /dev/sdc: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x8f41220a
Device Boot Start End Blocks Id System
/dev/sdc1 1 243201 1953512001 83 Linux
Disk /dev/sdd: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x6c6df2ab
Device Boot Start End Blocks Id System
/dev/sdd1 1 121601 976760001 83 Linux
Disk /dev/sde: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x6c6df2a1
Device Boot Start End Blocks Id System
/dev/sde1 1 121601 976760001 83 Linux
Disk /dev/sdf: 1500.3 GB, 1500301910016 bytes
255 heads, 63 sectors/track, 182401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x2f54e55e
Device Boot Start End Blocks Id System
/dev/sdf1 1 182401 1465136001 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: 0x00085c3f
Device Boot Start End Blocks Id System
/dev/sdg1 1 243201 1953512001 83 Linux
Disk /dev/dm-0: 1993.9 GB, 1993892429824 bytes
255 heads, 63 sectors/track, 242410 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: 6291 MB, 6291456000 bytes
255 heads, 63 sectors/track, 764 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000
Disk /dev/dm-1 doesn't contain a valid partition table
Disk /dev/sdh: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x6c6df17d
Device Boot Start End Blocks Id System
/dev/sdh1 1 121601 976760001 83 Linux
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_linuxserver-lv_root
1.8T 1.5T 302G 83% /
tmpfs 2.0G 420K 2.0G 1% /dev/shm
/dev/sda1 194M 40M 144M 22% /boot
/dev/sdf1 1.4T 1.2T 158G 88% /var/hda/files/drives/drive3
/dev/sdd1 917G 714G 158G 82% /var/hda/files/drives/drive4
/dev/sde1 917G 715G 157G 83% /var/hda/files/drives/drive5
/dev/sdc1 1.8T 1.6T 157G 91% /var/hda/files/drives/drive6
/dev/sdb1 917G 714G 158G 82% /var/hda/files/drives/drive7
/dev/sdg1 1.8T 1.6T 158G 91% /var/hda/files/drives/drive9
/dev/sdh1 917G 714G 158G 82% /var/hda/files/drives/drive11
funionfs 1.8T 1.5T 302G 83% /var/hda/apps/ushare/files
Greyhole Statistics
===================
Storage Pool
Total - Used = Free + Attic = Possible
/var/hda/files/drives/drive3/gh: 1375G - 1148G = 157G + 0G = 157G
/var/hda/files/drives/drive5/gh: 917G - 714G = 156G + 0G = 156G
/var/hda/files/drives/drive6/gh: 1834G - 1584G = 157G + 0G = 157G
/var/hda/files/drives/drive7/gh: 917G - 713G = 157G + 0G = 157G
/var/hda/files/drives/drive9/gh: 1834G - 1583G = 157G + 0G = 157G
/var/hda/files/drives/drive11/gh: 917G - 713G = 157G + 0G = 157G
/var/hda/files/drives/drive4/gh: 917G - 713G = 157G + 0G = 157G
Code: Select all
mysql -u root -phda -e "select * from disk_pool_partitions" hda_production
+----+-------------------------------+--------------+---------------------+---------------------+
| id | path | minimum_free | created_at | updated_at |
+----+-------------------------------+--------------+---------------------+---------------------+
| 3 | /var/hda/files/drives/drive3 | 10 | 2010-10-24 23:47:44 | 2010-10-24 23:47:44 |
| 5 | /var/hda/files/drives/drive5 | 10 | 2010-11-05 04:20:13 | 2010-11-05 04:20:13 |
| 6 | /var/hda/files/drives/drive6 | 10 | 2010-11-11 06:04:37 | 2010-11-11 06:04:37 |
| 7 | /var/hda/files/drives/drive7 | 10 | 2010-11-14 23:47:31 | 2010-11-14 23:47:31 |
| 8 | /var/hda/files/drives/drive9 | 10 | 2011-01-12 03:59:29 | 2011-01-12 03:59:29 |
| 12 | /var/hda/files/drives/drive11 | 10 | 2011-01-20 06:40:32 | 2011-01-20 06:40:32 |
| 14 | /var/hda/files/drives/drive4 | 10 | 2011-03-10 05:57:49 | 2011-03-10 05:57:49 |
+----+-------------------------------+--------------+---------------------+---------------------+
Code: Select all
mysql -u root -phda -e "select concat(path, '/gh') from disk_pool_partitions" hda_production | grep -v 'concat(' | xargs ls -la | fpaste
http://fpaste.org/0Mus/
Code: Select all
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
Completed 0 0 0
Docs 494 0 0
Movies 617 0 0
Music 0 0 0
Pictures 0 0 0
SendToLaptop 0 0 0
SendToPhone 0 0 0
SendToTran 0 0 0
Television 1041 0 0
Torrentflux-b4rt 0 0 0
================
Total 2152 + 0 + 0 = 2152
Code: Select all
greyhole --debug <one of my missing files>
http://fpaste.org/Ype0/