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
issues with greyhole --going
Re: issues with greyhole --going
If you enter just "greyhole", you'll see the correct syntax for the --going option:
So you need to:
FYI, on Linux, the = is mandatory for command line options that have an optional value.
For options for which the value is mandatory, you can substitute the = with a space.
I know older posts on this forum, and maybe on the wiki, show the now incorrect syntax. I'll try to update them.
Code: Select all
-n, --going[=path] Tell Greyhole that you want to remove a drive. Greyhole will
then make sure you don't loose any files, and that the
correct number of file copies are created to replace the
missing drive. If you don't supply an option, the available
options (paths) will be displayed.
Code: Select all
greyhole --going=/var/hda/files/drives/drive1/gh
For options for which the value is mandatory, you can substitute the = with a space.
I know older posts on this forum, and maybe on the wiki, show the now incorrect syntax. I'll try to update them.
- Guillaume Boudreau
Re: issues with greyhole --going
its working fine...i was using the wiki as a reference. I should have just RTFM
Thanks for a rapid response
Thanks for a rapid response
Who is online
Users browsing this forum: No registered users and 12 guests