Skip to main content

Questions tagged [sparse-files]

1 vote
0 answers
398 views

Files with apparent 86TB file size, how to shrink them?

After extracting a zip, I have 8.6P in apparent size but only 728M on disk used. I did some checks and hdparm --fibmap shows that all the files have a huge byte_offset: 94331430207488. I tried to use ...
Nassiel's user avatar
  • 11
5 votes
0 answers
4k views

why `rsync --sparse` create much larger file than the source?

I try to rsync between 2 local disks, thus there is no compression. the sparse file has apparent size of 50GB, actual size of 16GB. I tried rsync -a -P --sparse, it did generate sparse file on ...
Wang's user avatar
  • 400
0 votes
1 answer
420 views

Barman: rsync wal archival stalls on some files

I'm archiving wal files from a postgres server via rsync, most of the time the archiving works fine and is quick, the speedtest for the connection is here: (this goes via the internet) [ ID] Interval ...
Thoro's user avatar
  • 63
1 vote
0 answers
87 views

Are MacOS sparsebundles suitable for multiuser access

I want to use a sparsebundle on a linux bases NAS (synology) as a encrypted container. The sparsebundle files will be accessible in a shared Folder via SMB or AFP for MacOS Clients. Does this work, if ...
mica's user avatar
  • 111
1 vote
1 answer
2k views

Disable thin provisioning (sparse files) in proxmox

I'm using Proxmox Virtual Environment to run few virtual machines. I use raw storage format and I need that the disk is fully pre allocated when created so it does not grow. The proxmox says that ...
Pavel Niedoba's user avatar
3 votes
2 answers
440 views

No write failure on an over-allocated sparse file

I've been working with sparse files in order to replicate Linux fs permissions on a Windows samba mount an idea from here: https://www.thanassis.space/backup.html. While testing sparse files though, ...
j. Doe's user avatar
  • 33
21 votes
2 answers
8k views

Does NFS and SMB support sparse files?

This question was previously asked in stack overflow but the good folks there have recommended that i try the community over here instead. I am researching on sparse files with regards to various ...
winhung's user avatar
  • 323
20 votes
1 answer
81k views

How do you create a qcow2 file that is small yet commodious on a Linux server?

I believe that there are qcow2 files that displace a small amount of gigabytes on a server (as verified with a df -h on the physical server) yet allow for lots of space when you log into the virt-...
Catbird55's user avatar
  • 323
3 votes
1 answer
2k views

XFS/EXT4: Why is actual file size on disk larger than apparent size? Clarification

On a CentOS 7.1.1503 (3.10.0-229.el7.x86_64) system running KVM/qemu on an XFS filesystem, I'm attempting to work out what specifically is adding additional space to a VM diskimage file. $ ls -ls --...
Chrisxb's user avatar
  • 31
2 votes
2 answers
651 views

Reduce xen image disk usage

Two cases: 1.If making hdd image using dd and copy it trough nfs to another server: mount -o ro,remount / dd if=/dev/sda bs=64K | gzip -c > /share/test.img.gz then after gunzip I get 20Gb (for ex....
Dmitry's user avatar
  • 31