Opened 7 weeks ago

Closed 7 weeks ago

#88 closed Task (Fixed)

Fix zfs pool for shelly.

Reported by: D Delmar Davis Owned by: D Delmar Davis
Priority: Major PITA Milestone: Make Shit Happen / Own Your Shit.
Component: kb2018 (hp) Keywords: zfs lxc
Cc: Joe Dumoulin

Description

Shelly's zfs pool is stuck in a mounted/unmounted state. Restored backup from last night to mary while I am unwedging this. (dunno why everyone else gets a first name)

root@kb2018:/etc/ansible/ruby# zfs destroy -rf devel/containers/shelly
cannot destroy 'devel/containers/shelly': dataset is busy
root@kb2018:/etc/ansible/ruby# zfs get mountpoint devel/containers/shelly
NAME                     PROPERTY    VALUE                                                           SOURCE
devel/containers/shelly  mountpoint  /var/snap/lxd/common/lxd/storage-pools/devel/containers/shelly  local
root@kb2018:/etc/ansible/ruby# lxc delete shelly
Error: Error deleting storage volume: Failed to run: zfs destroy -r devel/containers/shelly: umount: /var/snap/lxd/common/shmounts/storage-pools/devel/containers/shelly: no mount point specified.
cannot unmount '/var/snap/lxd/common/shmounts/storage-pools/devel/containers/shelly': umount failed
root@kb2018:/etc/ansible/ruby# zfs mount devel/containers/shelly
root@kb2018:/etc/ansible/ruby# lxc delete shelly
Error: Error deleting storage volume: Failed to run: zfs destroy -r devel/containers/shelly: umount: /var/snap/lxd/common/shmounts/storage-pools/devel/containers/shelly: no mount point specified.
cannot unmount '/var/snap/lxd/common/shmounts/storage-pools/devel/containers/shelly': umount failed
root@kb2018:/etc/ansible/ruby# zfs unmount devel/containers/shelly
root@kb2018:/etc/ansible/ruby# lxc delete shelly
Error: Error deleting storage volume: Failed to run: zfs destroy -r devel/containers/shelly: umount: /var/snap/lxd/common/shmounts/storage-pools/devel/containers/shelly: no mount point specified.
cannot unmount '/var/snap/lxd/common/shmounts/storage-pools/devel/containers/shelly': umount failed
root@kb2018:/etc/ansible/ruby# 

Change History (1)

comment:1 Changed 7 weeks ago by D Delmar Davis

Resolution: Fixed
Status: assignedclosed

Lxd seems to be loosing its little mind on several of containers. Eventually I was able to delete this pool.

Note: See TracTickets for help on using tickets.