A
A
Alexander Karabanov2018-04-02 08:51:10
Backup
Alexander Karabanov, 2018-04-02 08:51:10

Why do the same files on different disks take up different sizes?

Hello.
Transferred files from one server to another server using rsync and did not understand why the same files take up more space on another server:
One server

[email protected]:~# df -h
Filesystem                  Size         Used   Avail         Use%   Mounted on
/dev/mapper/databank-main   917G         868G   40G           96%   /srv/databank

[email protected]:~# df -i
Filesystem                Inodes          IUsed   IFree                IUse%  Mounted on
/dev/mapper/databank-main 61038592       1356251  59682341             3%     /srv/databank
[email protected]:~#

Second server
[email protected]:~# df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda1       917G  868G  2,9G 100% /mnt/backup-1tb

[email protected]:~# df -i
Filesystem        Inodes   IUsed     IFree IUse% Mounted on
/dev/sda1       61054976 1356256  59698720    3% /mnt/backup-1tb
[email protected]:~#

Why is that?
UPD
Somewhat incorrectly expressed. It was necessary to formulate differently: why is there much less free space on one disk than on the other?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Saboteur, 2018-04-02
@saboteur_kiev

And where do you have more files? And there and there 868G.
If you are talking about free space, then show the block size and file system type.
Moreover, it is clear that in one case you use a regular partition, in the other it looks like LVM

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question