on a system running -current from last week (though i know this issue from
previous snapshots as well)
OpenBSD 5.6-current (GENERIC) #0: Tue Nov 4 05:40:10 EST 2014
root@node02:/usr/src/sys/arch/i386/compile/GENERIC
to reproduce, just create a crypto volume, run MAKEDEV in it, and try to
umount. no problems with non-softraid ffs.
# bioctl softraid0
Volume Status Size Device
softraid0 0 Online 40015200256 sd1 CRYPTO
0 Online 40015200256 0:0.0 noencl <wd0a>
softraid0 1 Online 20019011584 sd2 CRYPTO
0 Online 20019011584 1:0.0 noencl <wd2a>
# disklabel sd2
# /dev/rsd2c:
type: SCSI
disk: SCSI disk
label: SR CRYPTO
duid: 398b682784408227
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 2433
total sectors: 39099632
boundstart: 64
boundend: 39086145
drivedata: 0
16 partitions:
# size offset fstype [fsize bsize cpg]
a: 39086080 64 4.2BSD 2048 16384 1
c: 39099632 0 unused
# pwd
/
# df -k /mnt
Filesystem 1K-blocks Used Avail Capacity Mounted on
/dev/sd1a 37425196 9876290 25677648 28% /
# mount /dev/sd2a /mnt
# cd /mnt/dev
# ./MAKEDEV all
# cd /
# umount /mnt
umount: /mnt: Device busy
# df -k /mnt
Filesystem 1K-blocks Used Avail Capacity Mounted on
/dev/sd2a 19231422 36 18269816 0% /mnt
# fstat|grep mnt
#