Menu

lto4 tape reading issues

Reddit r/DataHoarder·u/Darkstranger111·7 months ago
#mVylm4wD
#tapes#tape#tried#files#lto4
Reading 0:00
15s threshold

I made a series of lto4 tapes to back up files on a larger drive. Each tape was written with

tar -cvp \

--blocking-factor=2048 \

--no-recursion \

--files-from="$BATCH_LIST" \

-f - \

2>>"$LOG_FILE" \

| mbuffer --tapeaware -m 4G -L -P 80 -o "$TAPE_DEV" 2>>"$LOG_FILE"

However now I am completely unable to read from these tapes

Ive tried a variety of tar commands to extract or pull the files off these tapes to no avail. Tried using mbuffer or dd to pipe into tar, have tried buffer sizes all with no luck

The failures all eventually boil down to

tar: /dev/st0: Cannot read: Cannot allocate memory

tar: At beginning of tape, quitting now

tar: Error is not recoverable: exiting now

I tried fsf 1 to move the block up, making sure it is fully rewound, trying different tapes to be sure it wasnt a unique error, various options on tar, and still nothing worked

I still have the initial data, so if I need to redo my tapes with a new write command theres no issues, I just dont understand what im missing

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.