mirror of
git://git.proxmox.com/git/proxmox-backup.git
synced 2025-02-28 01:58:09 +03:00
starting with LTO9, a FORMAT(04h) command also reinitializates the tape, which can take up to tw hours. Since we don't actually want to do that every time we format, use 'erase_media' when we want a fast erase. (On a slow erase, we let it run and wait until the drive is ready again). The users have to pre-initializate the tapes before using it for them to work properly though. Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>