Displaying 2 results from an estimated 2 matches for "549mb".
Did you mean:
649mb
2015 Jun 24
8
rsyncing directories - sanity check
...c /var to a temp folder in /opt. Checking I see that it
still has 1/6GB available after the first sync.
# df -h /opt
Filesystem Size Used *Avail* Use% Mounted on
/dev/mapper/SysVG-OptVol
6.0G 4.1G *1.6G* 72% /opt
The entire /var partition is only using 549MB:
# df -h /var
Filesystem Size *Used* Avail Use% Mounted on
/dev/mapper/SysVG-VarVol
6.0G *549M* 5.1G 10% /var
So that being the case, if I make a temp directory in /opt called /opt/var,
how come I am running out of space in doing my rsync? It fails at th...
2015 Jun 24
0
rsyncing directories - sanity check
.../usr to /var.
Have you considered just resizing the volumes? If you're trying to swap
them with rsync, you're going to have to reboot anyway, and relabel your
system. If any daemons are running, you might also corrupt their data
this way.
> The entire /var partition is only using 549MB:
>
> rsync: write failed on "/opt/var/log/lastlog": No space left on device (28)
Depending on what UIDs are allocated to your users, lastlog can be an
enormous sparse file. You would need to use rsync's -S flag to copy it.