Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

dpm-reservespace(1) [debian man page]

DPM-RESERVESPACE(1)						   DPM Commands 					       DPM-RESERVESPACE(1)

NAME
dpm-reservespace - reserve space SYNOPSIS
dpm-reservespace --gspace size_guaranteed_space [ --ac_latency access_latency ] [ --gid group_ids ] [ --group group_names ] [ --help ] [ --lifetime space_lifetime ] [ --poolname pool_name ] [ --ret_policy retention_policy ] [ --s_type space_type ] [ --si ] [ --token_desc u_token ] DESCRIPTION
dpm-reservespace reserves space. OPTIONS
size_guaranteed_space desired size of guaranteed space in bytes. The number may also have a suffix k, M, G, T or P to indicate kB, MB, GB, TB or PB respectively. access_latency specifies the access latency requested. It can be O (for ONLINE) or N (for NEARLINE). group_ids if not zero, the space is restricted to this comma separated list of group gids. If the caller does not belong to the group, it must have ADMIN privileges. By default, the space is reserved for the user if the requester has a proxy without VOMS extension or for the group if the requester has a proxy with VOMS extension. group_names if set, the space is restricted to this comma separated list of group names. If the caller does not belong to the group, it must have ADMIN privileges. space_lifetime specifies the desired space lifetime relative to the current time. It can be "Inf" (for infinite) or expressed in years (suffix 'y'), months (suffix 'm'), days (suffix 'd'), hours (suffix 'h') or seconds (no suffix). pool_name if set, the space is reserved in that disk pool. retention_policy specifies the retention policy requested. It can be R (for Replica), O (for Output) or C (for Custodial). s_type specifies the type of space requested. It can be V (for Volatile), D (for Durable), P (for Permanent) or - (for any). u_token specifies the user provided description associated with the request. --si use powers of 1000 not 1024 for sizes. EXAMPLE
dpm-reservespace --gspace 10G --lifetime 1d --token_desc myspace fe869590-b771-4002-b11a-8e7430d72911 EXIT STATUS
This program returns 0 if the operation was successful or >0 if the operation failed. SEE ALSO
dpm_reservespace(3) LCG
$Date: 2011-04-04 08:49:00 +0200 (Mon, 04 Apr 2011) $ DPM-RESERVESPACE(1)

Check Out this Related Man Page

DPM-DRAIN(1)						    DPM Administrator Commands						      DPM-DRAIN(1)

NAME
dpm-drain - drain a component of the Light Weight Disk Pool Manager SYNOPSIS
dpm-drain --poolname pool_name [ --server fs_server ] [ --gid gids ] [ --group groups ] [ --size amount_to_drain ] dpm-drain --server fs_server [ --gid gids ] [ --group groups ] [ --size amount_to_drain ] dpm-drain --server fs_server --fs fs_name [ --gid gids ] [ --group groups ] [ --size amount_to_drain ] dpm-drain --help DESCRIPTION
dpm-drain drains a component of the Light Weight Disk Pool Manager: a filesystem, a disk server or a pool, optionally filtered by a list of gids/groups. It replicates files which belong to the given list of gids/groups (if specified) to another filesystem and removes the origi- nal file. It gives an error message for files still pinned. The pool name, the disk server name or the filesystem name can be specified. Volatile files which have expired will not be copied and will be deleted during the draining process. If no specfic file server and file system is specified, or no limit is placed on the files to drain, then the involved active file sys- tem(s) will have their status changed to RDONLY. If any of the involved file systems are marked as DISABLED they will not have their sta- tus changed, however an attempt will still be made to replicate the files from them and, if successful, delete the original. Files which are to be moved and belong to a space will be moved to a different location (e.g. file system or disk server) but remain in the same space. If there is no alternate location within the same space an error will be reported for the file and it will not be drained. Replicas of files with a lifetime will also have lifetime at least as long as the original. If this is not possible (for example available pools have a maximum lifetime too short) then an error is given and the file will not be drained. This command requires ADMIN privilege. pool_name specifies the disk pool name previously defined using dpm-addpool. server specifies the host name of the disk server to be drained. fs specifies the mount point of the dedicated filesystem. gid specifies the comma separated list of gids to which the files must belong. group specifies the comma separated list of groups to which the files must belong. size specifies the minimum number of bytes to drain. The number may be post-fixed with 'k', 'M', 'G' or 'T' for kilobyte, Megabyte, Giga- byte and Terabyte respectively. Draining is halted once the desired target has been reached or passed. If size is not specified or is given as zero dpm-drain will drain all eligible files. EXAMPLE
setenv DPM_HOST dpmhost setenv DPNS_HOST dpnshost dpm-drain --poolname Permanent dpm-drain --server lxb1921.cern.ch dpm-drain --server lxb1921.cern.ch --fs /storage dpm-drain --poolname Permanent --gid 105 dpm-drain --server lxb1921.cern.ch --group dteam dpm-drain --server lxb1921.cern.ch --gid 105,104 EXIT STATUS
This program returns 0 if the operation was successful or >0 if the operation failed. SEE ALSO
dpm(1), dpm-qryconf(1) LCG
$Date: 2010-04-20 09:11:48 +0200 (Tue, 20 Apr 2010) $ DPM-DRAIN(1)
Man Page