[one-users] /sbin/mkfs not available in a non-interactive bash sessions
Jaime Melis
j.melis at fdi.ucm.es
Thu Aug 12 15:25:21 PDT 2010
Hi Dan,
you're very right. We have an open issue to solve that problem:
http://dev.opennebula.org/issues/255
Thanks for your feedback!
cheers,
Jaime
On Tue, Aug 10, 2010 at 9:56 PM, Dan Yocum <yocum at fnal.gov> wrote:
>
>
> 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
> yocum at fnal.gov, http://fermigrid.fnal.gov
> "I fly because it releases my mind from the tyranny of petty things."
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20100813/19098c3b/attachment-0003.htm>
More information about the Users
mailing list