首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >使用两个磁带驱动器的裸操作系统(而不是多路复用)

使用两个磁带驱动器的裸操作系统(而不是多路复用)
EN

Server Fault用户
提问于 2017-09-25 13:19:12
回答 1查看 784关注 0票数 2

我正在使用一个带有两个驱动器的自动机。我在一个标有“满”的水池里有磁带(其中11条)。

当我运行两个作业时,两个作业都是为“完整”池运行的,它们将按顺序等待,以便它们都可以使用相同的驱动器(0),而不是在驱动器0上运行一个,在驱动器1上运行一个。

这是因为我在标签过程中选择了驱动器0吗?

是否有任何磁带从整个池,一个可用的驱动器,在自动加载程序,以便两个作业可以同时运行?

两个SD守护进程需要运行吗?

**裸光-sd.d/server-sd.conf**

代码语言:javascript
复制
storage {
  Name = server-sd
  Maximum Concurrent Jobs = 20
  # Plugin Directory = /usr/lib/bareos/plugins
  # Plugin Names = ""
}

**裸光-sd.d/自动变送器/自动变送器-0.conf **

代码语言:javascript
复制
Autochanger {
  Name = "FlexStor_II"
  Changer Device = /dev/tape/by-id/scsi-1BDT_FlexStor_II_xxxxxxxxxxx_LL0 
  Device = ULTRIUM-HH7-0
  Device = ULTRIUM-HH7-1
  Changer Command = "/usr/lib/bareos/scripts/mtx-changer %c %o %S %a %d"
}

**减少赤裸-sd.d/设备/ULTRIUM-HH7-0.conf **

代码语言:javascript
复制
Device {
    Name = "ULTRIUM-HH7-0"
    DeviceType = tape
    DriveIndex = 0
    ArchiveDevice = /dev/tape/by-id/scsi-xxxxxxxxxxxxxx001-nst
    MediaType = LTO-7
    AutoChanger = yes                       # default: no
    AutomaticMount = yes                    # default: no
    MaximumFileSize = 500GB                  # default: 1000000000 (1GB)
    AlwaysOpen = yes
    Autoselect = yes
    RemovableMedia = yes
}

**裸光-sd.d/device/ULTRIUM-HH7-1.conf **

代码语言:javascript
复制
Device {
    Name = "ULTRIUM-HH7-1"
    DeviceType = tape
    DriveIndex = 1
    ArchiveDevice = /dev/tape/by-id/scsi-xxxxxxxxxxxxxx004-nst
    MediaType = LTO-7
    AutoChanger = yes                       # default: no
    AutomaticMount = yes                    # default: no
    MaximumFileSize = 500GB                  # default: 1000000000 (1GB)
    AlwaysOpen = yes
    Autoselect = yes
    RemovableMedia = yes
}

**裸露-di.d/存储/Tape.conf **

代码语言:javascript
复制
Storage {
  Name = Tape
  Address = server                # N.B. Use a fully qualified name here (do not use "localhost" here).
  Password = "e9cxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxg"
  Device = FlexStor_II 
  Media Type = LTO-7
  Autochanger = yes
}
EN

回答 1

Server Fault用户

回答已采纳

发布于 2018-02-05 16:17:37

来自BareOS文档

默认情况下,Bareos作业会更喜欢写入已经挂载的卷。如果您有一个多驱动器自动变送器,并且希望Bareos同时在同一个池中写入多个卷,则需要设置首选安装卷Dir Job = no。这将导致存储守护进程最大限度地使用驱动器。

票数 1
EN
页面原文内容由Server Fault提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://serverfault.com/questions/875342

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档