跳到主要内容

磁带设备名称格式

每个磁带设备都有已定义格式的关联名称。格式中包含设备类型、倒带类型、别名和压缩类型的相关信息。

磁带设备名称的格式如下:

rewind_type st alias_number compression_type

rewind_type 是倒带类型。

下表介绍了各种倒带类型值:

rONTAP 会在完成磁带文件写入后倒带。
nrONTAP 不会在完成磁带文件写入后倒带。如果希望在同一磁带上写入多个磁带文件,必须使用这种倒带类型。
ur这是卸载/重载倒带类型。如果使用这种倒带类型,磁带库会在到达磁带文件末尾时卸载磁带,并加载下一磁带(如有)。

只有在以下情况下必须使用这种倒带类型:

  • 与此设备关联的磁带机位于磁带库中,或位于库模式下的介质转换器中。
  • 与此设备关联的磁带机与存储系统连接。
  • 此磁带机定义的库磁带序列中有足够的磁带用于您要执行的操作。
如果使用非倒带设备录制磁带,必须在读取之前倒带。

st 是磁带机的标准代号。

alias_number 是 ONTAP 分配给磁带机的别名。ONTAP 检测到新磁带机后,会为其分配别名。

compression_type 是磁带机特定的代码,表示磁带上的数据密度以及压缩类型。

下表介绍了 compression_type 的各种值:

a最高压缩率
h高压缩率
m中等压缩率
l低压缩率

示例

nrst0a 指定磁带机 0 上使用最高压缩率的非倒带设备。

磁带设备列表示例

以下示例显示了与 HP Ultrium 2-SCSI 关联的磁带设备:

          <samp className="ph systemoutput sysout linebreak"> Tape drive (fc202_6:2.126L1)  HP      Ultrium 2-SCSI
rst0l - rewind device, format is: HP (200GB)
nrst0l - no rewind device, format is: HP (200GB)
urst0l - unload/reload device, format is: HP (200GB)
rst0m - rewind device, format is: HP (200GB)
nrst0m - no rewind device, format is: HP (200GB)
urst0m - unload/reload device, format is: HP (200GB)
rst0h - rewind device, format is: HP (200GB)
nrst0h - no rewind device, format is: HP (200GB)
urst0h - unload/reload device, format is: HP (200GB)
rst0a - rewind device, format is: HP (400GB w/comp)
nrst0a - no rewind device, format is: HP (400GB w/comp)
urst0a - unload/reload device, format is: HP (400GB w/comp)
</samp>

以下为上一示例中的缩写介绍。

  • GB — 千兆字节;这是磁带的容量。
  • w/comp — 有压缩;说明磁带容量有压缩。