How To:Using removable hard disk changers as Virtual tapes: Difference between revisions
Jump to navigation
Jump to search
(Created page with 'New feature in amanda-3.3 Removable hard disks can be used as virtual tape. It is user responsibility to mount/umount the hard disk. autolabel "AMANDA-%%%" any meta-autolab…') |
No edit summary |
||
Line 1: | Line 1: | ||
New feature in amanda-3.3 | New feature in amanda-3.3 | ||
Amanda can easily use removable hard disk as virtual tapes, the user only needs to mount/umount the hard disk. | |||
autolabel "AMANDA-%%%" any | autolabel "AMANDA-%%%" any | ||
Line 17: | Line 17: | ||
* The REMOVABLE property check that something is mounted. | * The REMOVABLE property check that something is mounted. | ||
* Each hard disk get a meta label. In the future, amanda will be able to ask to mount the disk with the meta label when it require a specific label. | * Each hard disk get a meta label. In the future, amanda will be able to ask to mount the disk with the meta label when it require a specific label. | ||
= Assigning meta label to already labelled volumes = | |||
If you already use removable hard disk, these disk don't have a meta label, you can easily assign a meta label to each label with the amlabel command | |||
amlabel <conf> <label> --meta <meta-label> --assign | |||
You must assign the same meta label to all label on the same removable hard disk. |
Revision as of 19:35, 27 October 2010
New feature in amanda-3.3
Amanda can easily use removable hard disk as virtual tapes, the user only needs to mount/umount the hard disk.
autolabel "AMANDA-%%%" any meta-autolabel "META-%%%" define changer removable-disk { tpchanger "chg-disk:/amanda/diskchanger" property "NUM-SLOT" "4" property "AUTO-CREATE-SLOT" "yes" property "REMOVABLE" "yes" } tpchanger "removable-disk"
- Four slots (NUM-SLOT) is automatically created (AUTO-CREATE-SLOT) on each mounted disk.
- Each slot (autolabel) is labelled with a distinct label.
- The REMOVABLE property check that something is mounted.
- Each hard disk get a meta label. In the future, amanda will be able to ask to mount the disk with the meta label when it require a specific label.
Assigning meta label to already labelled volumes
If you already use removable hard disk, these disk don't have a meta label, you can easily assign a meta label to each label with the amlabel command
amlabel <conf> <label> --meta <meta-label> --assign
You must assign the same meta label to all label on the same removable hard disk.