bacula磁盘满时更换新磁盘的命令

Connecting to Director 10.25.4.1:9101
1000 OK: 102 chqinfra-dir Version: 7.4.3 (18 June 2016)
Enter a period to cancel a command.
*unmount
Automatically selected Catalog: MyCatalog
Using Catalog "MyCatalog"
The defined Storage resources are:
     1: File1
     2: File2
     3: Tape
Select Storage resource (1-3): 3
3001 Device ""Tape" (/dev/nst0)" unmounted.
*label
The defined Storage resources are:
     1: File1
     2: File2
     3: Tape
Select Storage resource (1-3): 3
Enter new Volume name: CHQBM005
Defined Pools:
     1: Default
     2: File
     3: Scratch
     4: DAILY
     5: WEEKLY
     6: MONTHLY
     7: Monthly
     8: Weekly
     9: Daily
Select the Pool (1-9): 6
Connecting to Storage daemon Tape at chqinfra:9103 ...
Sending label command for Volume "CHQBM005" Slot 0 ...
The Volume= on device=CHQBM005 appears to be unlabeled.
3000 OK label. VolBytes=64512 VolABytes=0 VolType=0 Volume="CHQBM005" Device="Tape" (/dev/nst0)
Catalog record for Volume "CHQBM005", Slot 0  successfully created.
Requesting to mount Tape ...
3001 Device ""Tape" (/dev/nst0)" is mounted with Volume "CHQBM005"

以上是bacula磁盘满时更换新磁盘的操作

posted @ 2023-10-11 15:35  Expl  阅读(34)  评论(0)    收藏  举报