AMDEVCHECK(8)
πΈ AMDEVCHECK(8) β aka amdevcheck π
okay bestie, welcome to amdevcheck, the little system administration command that goes "hey, is this Amanda device actually alive and does it have a labeled volume or nah" πβ¨
β¨ NAME β¨
amdevcheck β validate an Amanda device and volume, fr fr π
π SYNOPSIS π
amdevcheck [--label] [-properties list] [-o configoption...] config
[device-name]
likeβ¦ that's the whole vibe. copy it exactly, don't get creative π
π¦ DESCRIPTION π¦
So amdevcheck is literally your vibe-check tool for an Amanda device. It checks:
- is this particular Amanda device actually accessible? π
- does it have a volume in it or not? π
- and if it does, is that volume labeled? π·οΈ
and here's the tea, bestie: some devices are lowkey bad at telling those cases apart. Like, a missing volume and an unlabeled volume might spit out the exact same error code. Not their fault, it's just how the hardware is. So in those messy cases, this tool reports all possible causes of the error instead of guessing. π
Optionally, this tool also lists the properties for the device. cute, right?
If you want the whole Amanda lore, go read the amanda(8) man page. And for the device deep-dive, amanda-devices(7) has you covered. π
π OPTIONS π
configβ the Amanda configuration you wanna use, periodt. Heads up tho:amdevcheckignores any tape changer configuration. Like it simply does not see it. πdeviceβ the Amanda device to use. This one overrides anytapedevconfiguration you set in the configuration file. main character energy, it wins. π--labelβ get the device's label. If you pass this, the usual check output is omitted and instead the label of the loaded volume gets printed to stdout. Returns with error if the label is not found. π--properties [list]β list device properties. If you pass this, the usual check output is omitted, and property values get printed to stdout, one per line, in the format: a property name, then=, then the property value. Returns with error if properties are not available. π€- If list is given, it's treated as a comma-separated list of properties to display. If it's omitted, then all supported properties are displayed. slay β¨
-o configoptionβ see the"CONFIGURATION OVERRIDE"section inamanda(8). iykyk π
π₯ OUTPUT π₯
okay so the exit code tea β:
amdevcheck exits with code 0 if the device is working, or if it gets an expected error β in that case go read the MESSAGE line for the deets. It exits with code 1 if it gets an unexpected error. π
amdevcheck returns one or more of the following lines. And listen: if multiple lines show up, then at least one, but not necessarily all of the messages apply. That happens when you're dealing with hardware or operating systems that can't tell the difference β like between a malfunctioning drive and a functional-but-unloaded drive. literally the worst π
SUCCESSβ a tape is ready. we love to see it πDEVICE_ERRORβ a device error has occurred. oop π¬DEVICE_BUSYβ the device is busy. give it a sec bestie β³VOLUME_MISSINGβ no tape is loaded in the drive. empty. void. π³οΈVOLUME_UNLABELEDβ the tape in the drive is unlabeled. who is she?? π·οΈβVOLUME_ERRORβ a volume error has occurred. πMESSAGE textβ where text provides a human-readable description of the problem. the translator of chaos π«Ά
π SEE ALSO π
The Amanda Wiki: : http://wiki.zmanda.com/ π
πΈ AUTHOR πΈ
Ian Turner <ian@zmanda.com> Zmanda, Inc. (http://www.zmanda.com) π
and that's the whole page bestie, courtesy of Amanda 3.5.4 dated 08/26/2026 β AMDEVCHECK(8), out. π
β¨π stay labeled, stay accessible π¦
π¦ where this page comes from
- ubuntu stonking: amanda-common 1:3.5.4-2.1ubuntu1 Β· Custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms