Bug #579

Error: mkfs Image: in mkfs command. when mkfs is not in $PATH

Added by Giovanni Toraldo about 10 years ago. Updated about 10 years ago.

Status:ClosedStart date:04/15/2011
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-
Resolution:wontfix Pull request:
Affected Versions:

Description

On Debian host, where user $PATH doesn't include /sbin, when a try to register a datablock image, command fail with:
Error: mkfs Image: in mkfs command

I fixed that adding in oneadmin .profile:

PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" 
export PATH

Maybe will be good to try to execute mkfs from standard places (/sbin/mkfs or /sbin/local/mkfs) if /usr/bin/env mkfs fails?

Associated revisions

Revision 9d43f75e
Added by Abel Coronado over 3 years ago

B #5556: Disk size slider only goes up to 508GB (#579)

Revision 1e20400b
Added by Abel Coronado over 3 years ago

B #5556: Disk size slider only goes up to 508GB (#579)

(cherry picked from commit 9d43f75ed698623df92e61599f734e0b9dcac034)

History

#1 Updated by Ruben S. Montero about 10 years ago

  • Status changed from New to Closed
  • Resolution set to wontfix

Hi,

I am closing this as the backend of the ImageRepository has been rewritten to use a driver architecture. You can define your own drivers to support different storage backends. The default fs-based drivers use the tm_common.sh tool definition, that should fix this one.

Thanks for your feedbak!

Also available in: Atom PDF