[SAC] [OSGeo] #2718: osgeo4 backup is failing

OSGeo trac_osgeo at osgeo.org
Tue Feb 22 22:46:29 PST 2022


#2718: osgeo4 backup is failing
---------------------------+---------------------------------------
 Reporter:  robe           |       Owner:  sac@…
     Type:  task           |      Status:  new
 Priority:  normal         |   Milestone:  Sysadmin Contract 2022-I
Component:  Systems Admin  |  Resolution:
 Keywords:                 |
---------------------------+---------------------------------------

Comment (by robe):

 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


 {{{
 lxc snapshot secure
 lxc snapshot wordpress
 lxc snapshot dronie-server
 }}}


 However if I try to delete


 {{{
 lxc rm dronie-server/for-osgeo4
 }}}

 I get this error:


 {{{
  Failed to run: zfs destroy osgeo7/containers/dronie-server at snapshot-for-
 osgeo4: cannot destroy snapshot osgeo7/containers/dronie-server at snapshot-
 for-osgeo4: dataset is busy
 }}}

 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


 {{{
  sudo ps -faux | grep "lxc copy"
 }}}

 shows:


 {{{
 lxc copy osgeo3:pretalx/for-osgeo4 pretalx-backup
 }}}

 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.

-- 
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2718#comment:1>
OSGeo <https://osgeo.org/>
OSGeo committee and general foundation issue tracker.


More information about the Sac mailing list