* Chris Nighswonger <[email protected]> [20181024 10:25]: > Any thoughts on what's going on here? I thought running amlabel -f > forced deletion of any amanda volumes on that tape?
The '-f' flag forces amlabel to write a label even if something is detected at the beginnning of the tape, and does nothing else to the tape. Are you sure your hardware is healthy? Also, a blocksize of 32k (default value) might not give you the best performance. My experiments over the years suggest to err on much bigger values, 512k and more for LTO5 and 6 seem reasonable in my local environment. ymmv, jf > > After: > > amlabel -f campus campus-NGH864L4 slot 12 > Reading label... > Found Amanda volume 'campus-NGH864L4'. > Writing label 'campus-NGH864L4'... > Checking label... > Success! > > taper debug log: > > Wed Oct 24 09:47:35 2018: thd-0x20a1c00: taper: Slot 12 with label > campus-NGH864L4 is usable > Wed Oct 24 09:47:35 2018: thd-0x20a1c00: taper: > Amanda::Taper::Scan::traditional result: 'campus-NGH864L4' on > tape:/dev/nst0 slot 12, mode 2 > Wed Oct 24 09:47:35 2018: thd-0x20a1c00: taper: Amanda::Taper::Scribe > preparing to write, part size 0, using LEOM (falling back to holding > disk as cache) (splitter) (LEOM supported) > Wed Oct 24 09:47:35 2018: thd-0x20a1c00: taper: Starting > <Xfer@0x23a16e0 (<XferSourceHolding@0x23d7000> -> > <XferDestTaperSplitter@0x23d6000>)> > Wed Oct 24 09:47:35 2018: thd-0x20a1c00: taper: Final linkage: > <XferSourceHolding@0x23d7000> -(PULL_BUFFER)-> > <XferElementGlue@0x23c21e0> -(PUSH_BUFFER)-> > <XferDestTaperSplitter@0x23d6000> > Wed Oct 24 09:47:41 2018: thd-0x20a1c00: taper: Building type > TAPESTART header of 32768-32768 bytes with name='campus-NGH864L4' > disk='' dumplevel=0 and blocksize=32768 > > . . . > > Wed Oct 24 09:47:49 2018: thd-0x23ab050: taper: Building type > SPLIT_FILE header of 32768-32768 bytes with name='host.dn.tld' > disk='/' dumplevel=2 and blocksize=32768 > Wed Oct 24 09:47:49 2018: thd-0x23ab050: taper: warning: Got EIO on > /dev/nst0, assuming end of tape > Wed Oct 24 09:47:49 2018: thd-0x23ab050: taper: Device tape:/dev/nst0 > error = 'No space left on device' > Wed Oct 24 09:47:49 2018: thd-0x23ab050: taper: Device tape:/dev/nst0 > setting status flag(s): DEVICE_STATUS_VOLUME_ERROR > > Kind regards, > Chris
