> for those affected, does this happen every boot/shutdown?

Yes, I'm getting the following messages on Hirsute at the end of every
shut down (or reboot):

[   OK  ] Reached target Reboot.
[   timestamp] XFS: attr2 mount option is deprecated.
[   timestamp] sd-umoun[2337]: Failed to unmount /oldroot: Device or resource 
busy
[   timestamp] sd-umoun[2337]: Failed to unmount /oldroot/sys: Device or 
resource busy
[   timestamp] shutdown[1]: Could not detach DM /dev/dm-1:  Device or resource 
busy
[   timestamp] shutdown[1]: Could not detach DM /dev/dm-0:  Device or resource 
busy
[   timestamp] shutdown[1]: Failed to finalize file systems, DM devices, 
ignoring.

> is this a 'standard' installation, using the standard iso?

Yes, this was installed using a nightly hirsute-live-server-amd64.iso,
with disk encryption enabled during installation.

> what do you have mounted? what's the output of 'mount' and the output
of 'lsblk'?

# mount
...
/dev/mapper/ubuntu--vg-ubuntu--lv on / type xfs 
(rw,noatime,attr2,inode64,logbufs=8,logbsize=32k,noquota)
/dev/nvme0n1p2 on /boot type ext4 (rw,relatime)
/dev/nvme0n1p1 on /boot/efi type vfat 
(rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
...

Full mount output at
https://gist.githubusercontent.com/joliss/c13e728ee039a2440e98f7ba6dd7ecd8/raw/25678bdaa17707a41b81b61c0fc648e01968ca90/mount

# lsblk
NAME                        MAJ:MIN RM  SIZE RO TYPE  MOUNTPOINT
loop0                         7:0    0 99.2M  1 loop  /snap/core/10908
loop1                         7:1    0 25.9M  1 loop  /snap/heroku/4037
loop2                         7:2    0   72M  1 loop  /snap/lxd/19766
loop3                         7:3    0 55.5M  1 loop  /snap/core18/1988
loop4                         7:4    0 32.3M  1 loop  /snap/snapd/11107
loop5                         7:5    0 32.3M  1 loop  /snap/snapd/11402
loop6                         7:6    0 68.7M  1 loop  /snap/lxd/19823
nvme0n1                     259:0    0  1.8T  0 disk
├─nvme0n1p1                 259:1    0  512M  0 part  /boot/efi
├─nvme0n1p2                 259:2    0    1G  0 part  /boot
└─nvme0n1p3                 259:3    0  1.8T  0 part
  └─dm_crypt-0              253:0    0  1.8T  0 crypt
    └─ubuntu--vg-ubuntu--lv 253:1    0  1.8T  0 lvm   /

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1905166

Title:
  systemd-shutdown cannot detach DM

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1905166/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to