[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [HTCondor-users] TotalDiskSpace



On 2/5/2014 12:12 PM, Rita wrote:
yes, you are right. It is the `execute`

Is it possible to change this? I would like to use a different directory
(filesystem).


Well, since the execute directory is where HTCondor writes files when it transfers files on your behalf, this is the directory it looks at when computing free space. You could change it to a different filesystem by simply moving the execute directory to a different filesystem and then either creating a symlink or changing the value of EXECUTE in the condor_config file (and restarting HTCondor).

Another idea: you can always publish any custom attributes you want into the startd ad, including "dynamic" attributes that change in value. Thus you could create custom machine attributes like DiskSpaceVolumeA, DiskSpaceVolumeB, etc, and use them in requirements and rank expressions to steer jobs to/from machines as desired.

See the Manual or, to get going quick perhaps these HOWTO recipes:

https://htcondor-wiki.cs.wisc.edu/index.cgi/wiki?p=HowToInsertClassAdIntoMachineAds


https://htcondor-wiki.cs.wisc.edu/index.cgi/wiki?p=HowToSteerJobs

regards,
Todd




On Wed, Feb 5, 2014 at 1:06 PM, Todd Tannenbaum <tannenba@xxxxxxxxxxx>wrote:

On 2/5/2014 11:42 AM, Rita wrote:

Is it possible to have condor_startd look elsewhere to determine
TotalDiskSpace? At the moment its looking at CWD of condor_master



I thought it looked at the volume containing the EXECUTE directory, i.e.
it looks wherever
   condor_config_val execute
says....