Difference between revisions of "Linux-hda commands"

From Amahi Wiki
Jump to: navigation, search
Line 18: Line 18:
 
/etc/init.d/mt-daapd start<br>
 
/etc/init.d/mt-daapd start<br>
 
/etc/init.d/mt-daapd stop
 
/etc/init.d/mt-daapd stop
 +
 +
<strong>greyhole</strong><br>
 +
greyhole --daemon = Start the daemon<br>
 +
greyhole --fsck = Schedule a fsck<br>
 +
greyhole --balance = Balance available space on storage pool devices<br>
 +
greyhole --stats = Display statistics<br>
 +
greyhole --empty-attic = Empty attic<br>
 +
greyhole --debug <filename> = Debug file operations<br>
 +
greyhole --thaw = List frozen directories<br>
 +
greyhole --thaw <share/directory> = Thaw a frozen directory<br>
 +
greyhole --prerotate = Pre-rotate task<br>
 +
greyhole --postrotate = Post-rotate task<br>
 +
 +
When <path>, one of your storage pool directories, is/will become unavailable:<br>
 +
greyhole --wait-for <path> = <path> will return soon<br>
 +
greyhole --gone <path> = <path> is gone for good<br>
 +
greyhole --going <path> = <path> will be gone for good
  
 
See [[Basics|Linux Basic Commands]] most users will need.
 
See [[Basics|Linux Basic Commands]] most users will need.

Revision as of 20:38, 22 August 2010

General Linux/HDA Commands
service httpd start = restart web server
yum -y update = Automatically update fedora
rpm -Uvh http://dl.getdropbox.com/u/364883/Amahi/hda-platform-*.*-*.noarch.rpm = updates HDA
rpm -q hda-platform = check to see what version of HDA your running.
ps guax | grep yum = kills all yum process


ushare
service amahi-ushare restart = restart ushare after adding new content

VNCServer
vncserver = Starts the VNCServer
vncserver -kill :1 = Stops the VNCServer


mt-daapd
/etc/init.d/mt-daapd start
/etc/init.d/mt-daapd stop

greyhole
greyhole --daemon = Start the daemon
greyhole --fsck = Schedule a fsck
greyhole --balance = Balance available space on storage pool devices
greyhole --stats = Display statistics
greyhole --empty-attic = Empty attic
greyhole --debug <filename> = Debug file operations
greyhole --thaw = List frozen directories
greyhole --thaw <share/directory> = Thaw a frozen directory
greyhole --prerotate = Pre-rotate task
greyhole --postrotate = Post-rotate task

When <path>, one of your storage pool directories, is/will become unavailable:
greyhole --wait-for <path> = <path> will return soon
greyhole --gone <path> = <path> is gone for good
greyhole --going <path> = <path> will be gone for good

See Linux Basic Commands most users will need.