On 08/10/2010 02:51 PM, Dan Yocum wrote:
Hi, mkfs can not be found when attempting to ssh to a worker node to create a FS. This is a limitation of a non-interactive bash session. If /sbin is in the oneadmin PATH env var, then mkfs is available to the user, but only during interactive (i.e., login) sessions. To remedy this, the full path to the executable must be specified - /sbin/mkfs. Here is the error I get: Fri Jul 30 13:48:35 2010 [TM][D]: Message received: LOG - 35 tm_mkimage.sh: ERROR: Command "ssh fcl005 mkfs -t xfs -F /srv/cloud/one/var//35/images/disk.2" failed. Fri Jul 30 13:48:35 2010 [TM][D]: Message received: LOG - 35 tm_mkimage.sh: ERROR: bash: mkfs: command not found Fri Jul 30 13:48:35 2010 [TM][D]: Message received: TRANSFER FAILURE 35 bash: mkfs: command not found I'd like to fix this in the interim - where can I find this and specify the full path?
Found it - it's in ~oneadmin/lib/tm_commands/*/tm_mkimage.sh Dan -- Dan Yocum Fermilab 630.840.6509 [email protected], http://fermigrid.fnal.gov "I fly because it releases my mind from the tyranny of petty things." _______________________________________________ Users mailing list [email protected] http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
