Transfer from landing to Pool Insanely slow
Posted: Mon Dec 06, 2010 11:41 am
I have a fresh install of Amahi that I enabled Greyhole storage pool on. I'm using a 74GB raptor for the OS hard drive and 4x1TB drives for data which the latter 3 have been added to the storage pool. The problem is, all the data is filling up the 74GB raptor and is very very slowly getting moved to the pool. I filled my shares with data (until my transfer errored because the destination drive was 'full') where I looked at my drive usage and my 74GB was full and the storage pool 1TB drives have only maybe 3% used. I decided to leave it overnight to see what would happen. About 12 hours later, I check it again and only about 3GB have transferred from the raptor to the pool. Any ideas?
Thanks!
Kyle
Info Requested:
2.6.32.26-175.fc12.x86_64
samba-3.4.9-60.fc12.x86_64
hda-greyhole-0.6.28-1.x86_64
[root@localhost ~]# yum -y install fpaste; fpaste /etc/samba/smb.conf; fpaste /etc/greyhole.conf
Loaded plugins: fastestmirror, presto, refresh-packagekit
Loading mirror speeds from cached hostfile
* fedora: mirror.steadfast.net
* rpmfusion-free: mirror.hiwaay.net
* rpmfusion-free-updates: mirror.hiwaay.net
* updates: mirror.steadfast.net
Setting up Install Process
Package fpaste-0.3.4-1.fc12.noarch already installed and latest version
Nothing to do
Uploading (4.9K)...
http://fpaste.org/1tCO/
Uploading (1.5K)...
http://fpaste.org/sn1k/
[root@localhost ~]# c^C
[root@localhost ~]# mount; fdisk -l; df -h; greyhole --stats
/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/sda1 on /boot type ext4 (rw)
/dev/sdb1 on /var/hda/files/drives/drive7 type ext4 (rw)
/dev/sde1 on /var/hda/files/drives/drive9 type ext4 (rw)
/dev/sdc1 on /var/hda/files/drives/drive10 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)
gvfs-fuse-daemon on /home/kurtzk/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=kurtzk)
Disk /dev/sda: 74.4 GB, 74355769344 bytes
255 heads, 63 sectors/track, 9039 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xe8a6a63c
Device Boot Start End Blocks Id System
/dev/sda1 * 1 26 204799+ 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2 26 9040 72407040 8e Linux LVM
Partition 2 does not end on cylinder boundary.
Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x6bf16200
Device Boot Start End Blocks Id System
/dev/sdb1 1 121601 976760001 83 Linux
Disk /dev/sdc: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x6bf16202
Device Boot Start End Blocks Id System
/dev/sdc1 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: 0x6bf1620e
Device Boot Start End Blocks Id System
/dev/sde1 1 121601 976760001 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: 0x000a2850
Device Boot Start End Blocks Id System
/dev/sdd1 1 121602 976760832 83 Linux
Disk /dev/dm-0: 68.0 GB, 67968696320 bytes
255 heads, 63 sectors/track, 8263 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: 6174 MB, 6174015488 bytes
255 heads, 63 sectors/track, 750 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
63G 54G 5.6G 91% /
tmpfs 1.9G 364K 1.9G 1% /dev/shm
/dev/sda1 194M 24M 161M 13% /boot
/dev/sdb1 917G 75G 797G 9% /var/hda/files/drives/drive7
/dev/sde1 917G 79G 793G 9% /var/hda/files/drives/drive9
/dev/sdc1 917G 77G 794G 9% /var/hda/files/drives/drive10
Greyhole Statistics
===================
Storage Pool
Total - Used = Free + Attic = Possible
/var/hda/files/drives/drive7/gh: 917G - 74G = 796G + 1G = 797G
/var/hda/files/drives/drive9/gh: 917G - 78G = 792G + 1G = 793G
/var/hda/files/drives/drive10/gh: 917G - 77G = 794G + 0G = 794G
[root@localhost ~]# mysql -u root -phda -e "select * from disk_pool_partitions" hda_production
+----+-------------------------------+--------------+---------------------+---------------------+
| id | path | minimum_free | created_at | updated_at |
+----+-------------------------------+--------------+---------------------+---------------------+
| 1 | /var/hda/files/drives/drive7 | 10 | 2010-12-04 18:27:18 | 2010-12-04 18:27:18 |
| 3 | /var/hda/files/drives/drive9 | 10 | 2010-12-04 18:27:22 | 2010-12-04 18:27:22 |
| 4 | /var/hda/files/drives/drive10 | 10 | 2010-12-04 18:27:22 | 2010-12-04 18:27:22 |
+----+-------------------------------+--------------+---------------------+---------------------+
[root@localhost ~]# mysql -u root -phda -e "select concat(path, '/gh') from disk_pool_partitions" hda_production |grep -v 'concat(' | xargs ls -la | fpaste
Uploading (1.8K)...
http://fpaste.org/j4DZ/
Thanks!
Kyle
Info Requested:
2.6.32.26-175.fc12.x86_64
samba-3.4.9-60.fc12.x86_64
hda-greyhole-0.6.28-1.x86_64
[root@localhost ~]# yum -y install fpaste; fpaste /etc/samba/smb.conf; fpaste /etc/greyhole.conf
Loaded plugins: fastestmirror, presto, refresh-packagekit
Loading mirror speeds from cached hostfile
* fedora: mirror.steadfast.net
* rpmfusion-free: mirror.hiwaay.net
* rpmfusion-free-updates: mirror.hiwaay.net
* updates: mirror.steadfast.net
Setting up Install Process
Package fpaste-0.3.4-1.fc12.noarch already installed and latest version
Nothing to do
Uploading (4.9K)...
http://fpaste.org/1tCO/
Uploading (1.5K)...
http://fpaste.org/sn1k/
[root@localhost ~]# c^C
[root@localhost ~]# mount; fdisk -l; df -h; greyhole --stats
/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/sda1 on /boot type ext4 (rw)
/dev/sdb1 on /var/hda/files/drives/drive7 type ext4 (rw)
/dev/sde1 on /var/hda/files/drives/drive9 type ext4 (rw)
/dev/sdc1 on /var/hda/files/drives/drive10 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)
gvfs-fuse-daemon on /home/kurtzk/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=kurtzk)
Disk /dev/sda: 74.4 GB, 74355769344 bytes
255 heads, 63 sectors/track, 9039 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xe8a6a63c
Device Boot Start End Blocks Id System
/dev/sda1 * 1 26 204799+ 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2 26 9040 72407040 8e Linux LVM
Partition 2 does not end on cylinder boundary.
Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x6bf16200
Device Boot Start End Blocks Id System
/dev/sdb1 1 121601 976760001 83 Linux
Disk /dev/sdc: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x6bf16202
Device Boot Start End Blocks Id System
/dev/sdc1 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: 0x6bf1620e
Device Boot Start End Blocks Id System
/dev/sde1 1 121601 976760001 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: 0x000a2850
Device Boot Start End Blocks Id System
/dev/sdd1 1 121602 976760832 83 Linux
Disk /dev/dm-0: 68.0 GB, 67968696320 bytes
255 heads, 63 sectors/track, 8263 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: 6174 MB, 6174015488 bytes
255 heads, 63 sectors/track, 750 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
63G 54G 5.6G 91% /
tmpfs 1.9G 364K 1.9G 1% /dev/shm
/dev/sda1 194M 24M 161M 13% /boot
/dev/sdb1 917G 75G 797G 9% /var/hda/files/drives/drive7
/dev/sde1 917G 79G 793G 9% /var/hda/files/drives/drive9
/dev/sdc1 917G 77G 794G 9% /var/hda/files/drives/drive10
Greyhole Statistics
===================
Storage Pool
Total - Used = Free + Attic = Possible
/var/hda/files/drives/drive7/gh: 917G - 74G = 796G + 1G = 797G
/var/hda/files/drives/drive9/gh: 917G - 78G = 792G + 1G = 793G
/var/hda/files/drives/drive10/gh: 917G - 77G = 794G + 0G = 794G
[root@localhost ~]# mysql -u root -phda -e "select * from disk_pool_partitions" hda_production
+----+-------------------------------+--------------+---------------------+---------------------+
| id | path | minimum_free | created_at | updated_at |
+----+-------------------------------+--------------+---------------------+---------------------+
| 1 | /var/hda/files/drives/drive7 | 10 | 2010-12-04 18:27:18 | 2010-12-04 18:27:18 |
| 3 | /var/hda/files/drives/drive9 | 10 | 2010-12-04 18:27:22 | 2010-12-04 18:27:22 |
| 4 | /var/hda/files/drives/drive10 | 10 | 2010-12-04 18:27:22 | 2010-12-04 18:27:22 |
+----+-------------------------------+--------------+---------------------+---------------------+
[root@localhost ~]# mysql -u root -phda -e "select concat(path, '/gh') from disk_pool_partitions" hda_production |grep -v 'concat(' | xargs ls -la | fpaste
Uploading (1.8K)...
http://fpaste.org/j4DZ/