US Robotics 7931 Guia do Utilizador Página 104

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 288
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 103
80 Sun StorageTek SAM Archive Configuration and Administration Guide Version 4, Update 6, 04/07
It is also possible to sort files within an archive set copy by age, size, or path. The
age and size arguments are mutually exclusive.
CODE EXAMPLE 3-24 shows how to
sort an archive set using the -sort parameter with the argument age or size.
The first line forces the archiver to sort an archive request by path name. The second
example line forces the archiver to sort the archive set copy cardiac.2 by the age
of the file, oldest to youngest. The third line forces the archive set copy catscans to
be sorted by the size of the file, smallest to largest. If you wanted a reverse sort, you
could specify -rsort in place of -sort.
Controlling Unarchiving
Unarchiving is the process by which archive entries for files or directories are
deleted. Files are unarchived based on the time since last access. All frequently
accessed data can be stored on fast media, such as disk, and all older, infrequently
accessed data can be stored on tape. By default, files are never unarchived.
For example, suppose that the archiver.cmd file shown in
CODE EXAMPLE 3-25
controls a file that is accessed frequently. This file remains on disk all the time, even
if it is older than 60 days. The copy 1 information is removed only if the file is not
accessed for 60 days.
If the copy 1 information is removed (because the file was not accessed for 60 days)
and someone stages the file from copy 2, it is read from tape. After the file is back
online, the archiver makes a new copy 1 on disk and the 60-day access cycle starts all
over again. The Sun StorageTek SAM archiver regenerates a new copy 1 if the file is
accessed again.
CODE EXAMPLE 3-24 Directives for Sorting an Archive Set
cardiac.1 –sort path
cardiac.2 -sort age
catscans.3 -sort size
CODE EXAMPLE 3-25 Directives to Control Unarchiving
arset1 dir1
1 10m 60d
2 10m
3 10m
vsns
arset1.1 mo OPT00[0-9]
arset1.2 lt DLTA0[0-9]
arset1.3 lt DLTB0[0-9]
Vista de página 103
1 2 ... 99 100 101 102 103 104 105 106 107 108 109 ... 287 288

Comentários a estes Manuais

Sem comentários