Re: Disk usage error

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

 



On 01/21/2010 02:23 PM, Mogens Kjaer wrote:

> tar c --one-file-system -f - .|dd of=/dev/null bs=1M

Hm, I forgot the -S option:

# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/vg_mk-lv_root
                       222G   48G  163G  23% /
# tar c --one-file-system -S -f - .|dd of=/dev/null bs=1M
...
50122147840 bytes (50 GB) copied, 1737.65 s, 28.8 MB/s

Without the -S I get:
134616043520 bytes (135 GB) copied, 1394.3 s, 96.5 MB/s

as I have some large sparse files.

48G and 50G are pretty close...

Mogens

-- 
Mogens Kjaer, Carlsberg A/S, Computer Department
Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark
Phone: +45 33 27 53 25, Mobile: +45 22 12 53 25
Email: mk@xxxxxx Homepage: http://www.crc.dk
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe: https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux