Since I don't want Greyhole and probably never will (I manage my storage with LVM) I want to completely disable greyhole. I don't want to introduce another layer of unnecessary disk I/O to my system.
steps I took to disable greyhole:
chkconfig greyhole off
remove /etc/monit.d/greyhole.conf
service monit restart
service greyhole stop
Is that sufficient?
Can I remove the greyhole package too or is that not really necessary?
how to completely disable greyhole
how to completely disable greyhole
echo '16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D2173656C7572206968616D41snlbxq' | dc
Galileo - HP Proliant ML110 G6 quad core Xeon 2.4GHz, 4GB RAM, 2x750GB RAID1 + 2x1TB RAID1 HDD
Galileo - HP Proliant ML110 G6 quad core Xeon 2.4GHz, 4GB RAM, 2x750GB RAID1 + 2x1TB RAID1 HDD
Re: how to completely disable greyhole
I think hda-platform depends on hda-greyhole, so you won't be able to remove hda-greyhole without loosing hda-platform too.
What you did is enough. You stopped the greyhole daemon, and since you didn't enable 'Uses pool' on any share, the Greyhole VFS module for Samba is not used at all.
What you did is enough. You stopped the greyhole daemon, and since you didn't enable 'Uses pool' on any share, the Greyhole VFS module for Samba is not used at all.
- Guillaume Boudreau
Re: how to completely disable greyhole
OK thx
echo '16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D2173656C7572206968616D41snlbxq' | dc
Galileo - HP Proliant ML110 G6 quad core Xeon 2.4GHz, 4GB RAM, 2x750GB RAID1 + 2x1TB RAID1 HDD
Galileo - HP Proliant ML110 G6 quad core Xeon 2.4GHz, 4GB RAM, 2x750GB RAID1 + 2x1TB RAID1 HDD
Re: how to completely disable greyhole
I want to do a similar thing (turn off greyhole), but I noticed that greyhole.conf is automatically generated.
Does anyone know what command generates the greyhole.conf file? I want to make sure that it is not re-generated again.
Thanks
Does anyone know what command generates the greyhole.conf file? I want to make sure that it is not re-generated again.
Thanks
Re: how to completely disable greyhole
hda-platform regenerates this file, when something changes in shares / storage pool.
You'd have to manually modify the platform to stop that, and your changes would be overwritten on the next hda-platform update.
You'd have to manually modify the platform to stop that, and your changes would be overwritten on the next hda-platform update.
- Guillaume Boudreau
Re: how to completely disable greyhole
What would be the cleanest way to disable greyhole if I might later want to re-enable it?hda-platform regenerates this file, when something changes in shares / storage pool.
You'd have to manually modify the platform to stop that, and your changes would be overwritten on the next hda-platform update.
Re: how to completely disable greyhole
Uncheck start on boot and watchdog in the dashboard Settings > Servers page, then click Stop.
You can check it's disabled: should show all 'off'
should return no such file.
should say it's stopped.
You can check it's disabled:
Code: Select all
chkconfig --list greyhole
Code: Select all
ls -l /etc/monit.d/greyhole*
Code: Select all
service greyhole status
- Guillaume Boudreau
Re: how to completely disable greyhole
Thanks, that took care of it!
Now I know how to re-enable it when I need it.
[The only minor issue I have is that the green 'running' indicator is still visible even though greyhole has been stopped. I would assume that it should change to some other color. Is this a bug?]
Now I know how to re-enable it when I need it.
[The only minor issue I have is that the green 'running' indicator is still visible even though greyhole has been stopped. I would assume that it should change to some other color. Is this a bug?]
Who is online
Users browsing this forum: No registered users and 59 guests