Skip to the content ForoHackers
Log inJoin

The restore has room for the file but not for all the nothing in the middle

Backups and recoveryFile systemsStorage systems
#18067 · · Quote · Report

I read the old sparse-file thread with the enormous last byte, so this time I expected the zeros. My test image says 64 MiB. It has one little note at the beginning, one at the end and an enormous amount of the school's finest nothing. The recovered copy reads the same bytes but suddenly our modest test drive is out of room for the other image.

#18153 · · Quote · Report

Sparse source, dense restore? Logical length includes the holes, which read as zeros. Your second writer might actually allocate blocks for the zeros. Ask the filesystem what each file occupies.

#18154 · · Quote · Report

same length, different allocation on our test filesystem. target has 96 MiB available. two dense 64 MiB copies can never fit. with a sparse-aware restore the actual pair used under 1 MiB on this filesystem and both recovered. the librarian asked how I checked the notes hadn't dissolved in the empty bit.

#18155 · · Quote · Report

read back the start, middle and end and compare the whole stream. space savings have been used to excuse some utterly imaginary backup software.

#18156 · · Quote · Report

did all three and compared the full file. this filesystem gave us the same bytes in less allocated space. the cast-off old stick we also use doesn't promise that layout. I've put its actual capacity on the recovery sheet.

#18157 · · Quote · Report

என் வேலைக்குப் போகும்போது காலி பெட்டிகள்தான் பாதி இடத்தைப் பிடிக்கும். Didn't expect to come here for a backup exercise and hear the milk truck described so accurately.

You are not logged in, so this goes up anonymously: no account, no name and no address is stored with it, and it may carry no link and no image. Log in or join to post under your name. Our web server's logs keep the address and time of every request for up to 14 days; to keep yours out of them, use Tor. To reach the staff in confidence, use the drop. Sign as a returning source (a key kept only in this browser)

Sending takes a few seconds here: your browser first works out a proof of work against spam.

Reply