Opened 3 years ago
Closed 3 years ago
#2718 closed task (fixed)
osgeo4 backup is failing
Reported by: | robe | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | Sysadmin Contract 2022-I |
Component: | SysAdmin | Keywords: | |
Cc: |
Description
This might be result of upgrade or something.
Error: Failed to run: zfs destroy osgeo7/containers/secure@snapshot-for-osgeo4: cannot destroy snapshot osgeo7/containers/secure@snapshot-for-osgeo4: dataset is busy Error: Failed to run: zfs destroy osgeo7/containers/wordpress@snapshot-for-osgeo4: cannot destroy snapshot osgeo7/containers/wordpress@snapshot-for-osgeo4: dataset is busy Error: Failed to run: zfs destroy osgeo7/containers/dronie-server@snapshot-for-osgeo4: cannot destroy snapshot osgeo7/containers/dronie-server@snapshot-for-osgeo4: dataset is busy
It sometimes resolves itself but sometimes doesn't and then a reboot of osgeo7 is required or explicitly unmount / mount the containers.
I think the script also needs some work as it looks like it deleted the backups even though taking a snapshot failed.
Change History (2)
comment:1 by , 3 years ago
comment:2 by , 3 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
closing this out since last scheduled backup on these ran fine. dronie-server one I manually ran since that only backs up every 2 days.
Note:
See TracTickets
for help on using tickets.
Okay this is a different issue than what I though. Usually when this kind of thing happens with making snapshots, I can't make snapshots at all and it gives a different error.
I can snapshot these servers fine with
However if I try to delete
I get this error:
This I have only seen happen if osgeo4 is in the middle backing up the container in question.
Checking osgeo4 - it is in middle of backup of pretalx on osgeo3 which shouldn't impact osgeo7
shows:
So only thought I have is osgeo4 must still have a hold on it when it tried to delete the snapshot to reuse the name. I suspect rebooting osgeo4 should resolve this. But should wait till it's done with backups.