Spectra Logic
1-800-833-1132 : 1-303-449-6400


Advanced Bucket Management Operations : Storage Domain Operations : Modify Storage Domain

Modify Storage Domain
Description
Modify a storage domain.
Note:
Requests
Syntax
PUT http[s]://{datapathDNSname}/_rest_/storage_domain/{storage domain UUID, name, or other unique attribute}[?auto_eject_media_full_threshold={64‑bit integer}][&auto_eject_upon_cron={string}][&auto_eject_upon_job_cancellation=TRUE|FALSE][&auto_eject_upon_job_completion=TRUE|FALSE][&auto_eject_upon_media_full=TRUE|FALSE]
[&ltfs_file_naming=OBJECT_NAME|OBJECT_ID][&max_tape_fragmentation_percent={32‑bit integer}][&maximum_auto_verification_frequency_in_days={32‑bit integer}][&media_ejection_allowed=TRUE|FALSE][&name={string}][&secure_media_allocation=TRUE|FALSE][&verify_prior_to_auto_eject=CRITICAL|URGENT|HIGH|NORMAL|LOW|BACKGROUND][&write_optimization=CAPACITY|PERFORMANCE]
To determine the UUID for a storage domain, see Get Storage Domains.
Request Parameters
Note: This parameter is only valid if media_ejection_allowed=TRUE.
Note: This parameter is only valid if media_ejection_allowed=TRUE.
Values: TRUE, FALSE
Note: This parameter is only valid if media_ejection_allowed=TRUE.
Values: TRUE, FALSE
Note: This parameter is only valid if media_ejection_allowed=TRUE.
Values: TRUE, FALSE
§
Object Name — LTFS file names use the format {bucket name}/{object name}, for example bucket1/video1.mov. Object names must comply with LTFS file naming rules. If the tapes are ejected from the BlackPearl system and loaded into a non-BlackPearl tape partition, the file names match the object names.
Notes:  
§
Object ID — LTFS file names use the format {bucket name}/{object id}, for example bucket1/1fc6f09c-dd72-41ea-8043-0491ab8a6d82. Object names do not need to comply with LTFS file naming rules. The BlackPearl system saves object names as LTFS extended attributes allowing any third party application to reconstruct all the data including the object names.
Values: TRUE, FALSE
Note: secure_media_allocation should only be set to TRUE when, for compliance purposes, the user must be certain which media ever contained any data for the storage domain (usually, to physically destroy the media once the data is no longer needed), or to force rotating through media when new backups are created and old backups are deleted.
§
TRUE — Media assigned to the storage domain can only be reclaimed for use within the same storage domain.
§
FALSE (default) Media assigned to a storage domain can be reclaimed into the general pool if all data on the media is deleted.
Specifies whether job chunks are written as quickly as possible or across as few pieces of media as possible. For example, when PERFORMANCE mode is set for a tape partition, job chunks are written as quickly as possible, using all tape drive resources, even if that means that more tapes are allocated to the storage domain than are necessary to write the data.
It is better to use CAPACITY mode if the tapes will be ejected after the job completes or if the storage domain is written to very rarely and capacity in the library is of concern. PERFORMANCE mode is recommended in all other cases.
Values: CAPACITY, PERFORMANCE
Responses
Response Elements
<Data>
   <AutoEjectMediaFullThreshold>
      {
64‑bit integer}
   </AutoEjectMediaFullThreshold>
   <AutoEjectUponCron>{string}</AutoEjectUponCron>
   <AutoEjectUponJobCancellation>
      TRUE|FALSE
   </AutoEjectUponJobCancellation>
   <AutoEjectUponJobCompletion>
      TRUE|FALSE
   </AutoEjectUponJobCompletion>
   <AutoEjectUponMediaFull>
      TRUE|FALSE
   </AutoEjectUponMediaFull>
   <Id>{string}</Id>
   <LtfsFileNaming>OBJECT_ID|OBJECT_NAME</LtfsFileNaming>
   <MaxTapeFragmentationPercent>
      {32‑bit integer}
   </MaxTapeFragmentationPercent>
   <MaximumAutoVerificationFrequencyInDays>
      {32‑bit integer}
   </MaximumAutoVerificationFrequencyInDays>
   <MediaEjectionAllowed>
      TRUE|FALSE
   </MediaEjectionAllowed>
   <Name>{string}</Name>
   <SecureMediaAllocation>TRUE|FALSE</SecureMediaAllocation>
   <VerifyPriorToAutoEject>
      CRITICAL|URGENT|HIGH|NORMAL|LOW|BACKGROUND
   </VerifyPriorToAutoEject>
   <WriteOptimization>CAPACITY|PERFORMANCE</WriteOptimization>
</Data>
where the response elements are defined as follows:
Values: TRUE, FALSE
Values: TRUE, FALSE
Values: TRUE, FALSE
§
TRUE — Media assigned to the storage domain can only be reclaimed for use within the same storage domain.
§
FALSE — Media assigned to a storage domain can be reclaimed into the general pool if all data on the media is deleted.
Whether job chunks are written as quickly as possible (PERFORMANCE) or across as few pieces of media as possible (CAPACITY).
Values: CAPACITY, PERFORMANCE
Example
Sample Request
This request modifies the storage domain with the name “sd1” to make mediaEjectionAllowed=FALSE.
PUT http://blackpearl-hostname/_rest_/storage_domain/sd1?mediaEjectionAllowed=FALSE HTTP/1.1
Sample Response
HTTP/1.1 200 OK
<Data>
   <AutoEjectMediaFullThreshold/>
   <AutoEjectUponCron/>
   <AutoEjectUponJobCancellation>
      FALSE
   </AutoEjectUponJobCancellation>
   <AutoEjectUponJobCompletion>FALSE</AutoEjectUponJobCompletion>
   <AutoEjectUponMediaFull>FALSE</AutoEjectUponMediaFull>
   <Id>02e1db8f-db6f-4dd9-9c79-9ac1dd4aa3de</Id>
   <MaxTapeFragmentationPercent>65</MaxTapeFragmentationPercent>
   <MaximumAutoVerificationFrequencyInDays>
      365
   </MaximumAutoVerificationFrequencyInDays>
   <MediaEjectionAllowed>FALSE</MediaEjectionAllowed>
   <Name>sd1</Name>
   <SecureMediaAllocation>FALSE</SecureMediaAllocation>
   </VerifyPriorToAutoEject>
   <WriteOptimization>CAPACITY</WriteOptimization>
</Data>