Re: Is My Data DESTROYED?!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Guy,

'tar -R' does list the block# where a file starts (effectively an index).
You then forward to the file-mark of your file and therein you seek to
the desired block#. Other archiving tools also do this (e.g. afio which
I prefer).

I used a script that automatically greps the tar listing to extract this
info and extract the desired file from the tape. A few minues is all it
took.

But I use disks for backup these days...

cheers

Guy Watkins wrote:
} -----Original Message-----
} From: linux-raid-owner@xxxxxxxxxxxxxxx [mailto:linux-raid-
} owner@xxxxxxxxxxxxxxx] On Behalf Of Thomas Fjellstrom
} Sent: Sunday, October 25, 2009 1:26 AM
} To: linux-raid@xxxxxxxxxxxxxxx
} Subject: Re: Is My Data DESTROYED?!
} } On Sat October 24 2009, Leslie Rhorer wrote:
 [trim]
} Wouldn't you use some 'tar' like format on the tape so there's a file
} index
} you can search without having to scan the entire tape? Then you can just
} "ffwd" (seek) to the position. _should_ be lots faster than reading all of
} the
} data from the beginning to the files location trying to find it. Or maybe
} there's something I'm missing about tapes?

tar does not have an index.  The file name comes just before the file.  I
use cpio and gzip.  But I write to a USB disk.  I have restored 1 file, and
it had to scan through the data to find the file.
[trim]

--
Eyal Lebedinsky	(eyal@xxxxxxxxxxxxxx)
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux