WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: mc 4.1 - tar: short read failed when restoring encrypted backup  (Read 4618 times)

Offline solorin

  • Full Member
  • ***
  • Posts: 184
mc 4.1 - tar: short read failed when restoring encrypted backup
« on: November 23, 2011, 03:58:10 AM »
Hi all,

First a word of appreciation for the daily feats of engineering that go into this tiny little wonder.

Don't know if my drive is getting old (only a couple months - but i do boot microcore every day - sometimes several times a day).

some details:
microcore 4.1 - the recent release.
booting off 4gb USB stick.
filesystem:FAT32 - coz i have to use the flash drive for other data-ferrying.
encrypted backup of home and opt

this afternoon, it keeps telling me.

[shell]
tar: short read failed
[/shell]

after i've typed in my password for decryption. the drive seems to be mounted correctly.
 
i've tried: redownloading the .gz and vmlinux files. for a fresh core.
going to one of my archived backups.

no cigar. i'm really at a loss here. any help would be appreciated.
thanks.

and thank you everyone for sharing. :)

kind regards,
solorin
. . . if you don't know, now you know. . .
        ----- R.I.P. Biggie Smalls -----

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10963
Re: mc 4.1 - tar: short read failed when restoring encrypted backup
« Reply #1 on: November 23, 2011, 07:41:36 AM »
dosfsck the drive? (dosfstools)
The only barriers that can stop you are the ones you create yourself.

Offline solorin

  • Full Member
  • ***
  • Posts: 184
Re: mc 4.1 - tar: short read failed when restoring encrypted backup
« Reply #2 on: November 23, 2011, 09:51:50 PM »
Hi,

Thanks for the quick reply.

dosfsck sez:
Code: [Select]
There are differences between the boot sector and its backup.

Then lists this differences as a comma seperated list in this format #:hex#/hex#.
And gives me the following choices.

Code: [Select]
1) Copy original to backup
2) Copy backup to original
3) No action

then it sez:
Code: [Select]
Reclaimed 2 unused clusters (8192 bytes).
Free cluster summary wrong (521092 vs. really 521094)
1) Correct
2) Don't correct

it's all a bit arcane to me. i tried reading some documentation, but my understanding of filesystems is pretty rudimentary.

2 questions:

1)are these drive errors associated with the original problem (tar not being able to read mydata.tgz.bfe)?
2) it's kinda vital I don't hose this drive. how should i proceed?

thanks any and all.

cheerio,
solorin
. . . if you don't know, now you know. . .
        ----- R.I.P. Biggie Smalls -----

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: mc 4.1 - tar: short read failed when restoring encrypted backup
« Reply #3 on: November 23, 2011, 11:06:37 PM »
I would suggest using dd to copy the drive to a work file.
Then try to recover the copy.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10963
Re: mc 4.1 - tar: short read failed when restoring encrypted backup
« Reply #4 on: November 24, 2011, 06:12:36 AM »
They show there's some corruption on the drive, which could have caused the issue with the backup.
The only barriers that can stop you are the ones you create yourself.