issues with greyhole --going
Posted: Thu Dec 16, 2010 9:29 am
Im trying to remove a disk from my pool with greyhole --going /var/hda/files/drives/drive1/gh and get the following response:
[root@amahi /]# greyhole --going /var/hda/files/drives/drive1/gh
Please use one of the following with the --going option:
/var/hda/files/gh
/var/hda/files/drives/drive1/gh
Thanks for your help
System Details below:
[root@amahi /]# uname -r; rpm -q samba hda-greyhole
2.6.32.14-127.fc12.x86_64
samba-3.4.7-58.fc12.x86_64
hda-greyhole-0.7.5-1.x86_64
greyhole.conf http://fpaste.org/eLxT/
smb.conf http://fpaste.org/rjKU/
[root@amahi /]# 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 type ext4 (rw)
/dev/sdc1 on /var/hda/files/drives/drive1 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)
Disk /dev/sda: 10.7 GB, 10737418240 bytes
255 heads, 63 sectors/track, 1305 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000c4aa5
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 1305 10277581 8e Linux LVM
Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sdb1 1 60801 488384001 83 Linux
Disk /dev/sdc: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sdc1 1 60801 488384001 83 Linux
Disk /dev/dm-0: 8409 MB, 8409579520 bytes
255 heads, 63 sectors/track, 1022 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: 2113 MB, 2113929216 bytes
255 heads, 63 sectors/track, 257 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
7.8G 1.3G 6.1G 18% /
tmpfs 500M 0 500M 0% /dev/shm
/dev/sda1 194M 23M 162M 13% /boot
/dev/sdb1 459G 8.7G 427G 2% /var/hda/files
/dev/sdc1 459G 9.8G 426G 3% /var/hda/files/drives/drive1
Greyhole Statistics
===================
Storage Pool
Total - Used = Free + Attic = Possible
/var/hda/files/gh: 458G - 9G = 427G + 0G = 427G
/var/hda/files/drives/drive1/gh: 458G - 10G = 425G + 0G = 425G
[root@amahi /]# 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
Movies 0 0 0
======
Total 0 + 0 + 0 = 0
[root@amahi /]# greyhole --going /var/hda/files/drives/drive1/gh
Please use one of the following with the --going option:
/var/hda/files/gh
/var/hda/files/drives/drive1/gh
Thanks for your help
System Details below:
[root@amahi /]# uname -r; rpm -q samba hda-greyhole
2.6.32.14-127.fc12.x86_64
samba-3.4.7-58.fc12.x86_64
hda-greyhole-0.7.5-1.x86_64
greyhole.conf http://fpaste.org/eLxT/
smb.conf http://fpaste.org/rjKU/
[root@amahi /]# 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 type ext4 (rw)
/dev/sdc1 on /var/hda/files/drives/drive1 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)
Disk /dev/sda: 10.7 GB, 10737418240 bytes
255 heads, 63 sectors/track, 1305 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000c4aa5
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 1305 10277581 8e Linux LVM
Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sdb1 1 60801 488384001 83 Linux
Disk /dev/sdc: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sdc1 1 60801 488384001 83 Linux
Disk /dev/dm-0: 8409 MB, 8409579520 bytes
255 heads, 63 sectors/track, 1022 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: 2113 MB, 2113929216 bytes
255 heads, 63 sectors/track, 257 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
7.8G 1.3G 6.1G 18% /
tmpfs 500M 0 500M 0% /dev/shm
/dev/sda1 194M 23M 162M 13% /boot
/dev/sdb1 459G 8.7G 427G 2% /var/hda/files
/dev/sdc1 459G 9.8G 426G 3% /var/hda/files/drives/drive1
Greyhole Statistics
===================
Storage Pool
Total - Used = Free + Attic = Possible
/var/hda/files/gh: 458G - 9G = 427G + 0G = 427G
/var/hda/files/drives/drive1/gh: 458G - 10G = 425G + 0G = 425G
[root@amahi /]# 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
Movies 0 0 0
======
Total 0 + 0 + 0 = 0