sync with --link-dest=ubuntu_active/ doesn't always work
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Repository Cache Charm |
New
|
Undecided
|
Unassigned |
Bug Description
Hi,
As seen on more than one occasion, metadata sync'ed can fill up the disk. It looks like entire copies are sync'ed / stored per below:
| root@machine-
| 9.0G ./ubuntu_
| 23G ./ubuntu_
| 23G ./ubuntu_
| 54G .
| root@machine-
| total 20
| drwxrwxr-x 7 www-sync www-data 4096 Sep 14 17:30 ubuntu_
| -rw-r--r-- 1 root root 0 Sep 14 17:59 ubuntu_
| drwxrwxr-x 7 www-sync www-data 4096 Sep 14 18:26 ubuntu_
| -rw-r--r-- 1 root root 0 Sep 14 19:06 ubuntu_
| drwxrwxr-x 7 www-sync www-data 4096 Sep 15 18:25 ubuntu_
| lrwxrwxrwx 1 root root 75 Sep 14 18:56 ubuntu_active -> /srv/ubuntu-
| lrwxrwxrwx 1 root root 75 Sep 14 18:56 ubuntu_next -> /srv/ubuntu-
We should figure out what's causing this and fix it.
Was there a recent leadership change ? machine-lock.log will tell you.
When this happens, please also "du" each directory independently so that we get a better picture of what's going on (since hardlinks are at play).