[One (M9) Original Android Development] hjholtz:
adoptable storage broken?

With the latest rom, I get an error that my SD card (formatted as "internal") is missing.

logcat excerpt:

09-21 17:41:31.791 403 417 V vold : DISK gpt 1BBA1663-E44C-4746-86FC-1DC7657862F1
09-21 17:41:31.791 403 417 V vold :
09-21 17:41:31.791 403 417 V vold : PART 1 19A710A2-B3CA-11E4-B026-10604B889DCF 6C9FEC61-C2C3-4D02-9570-C9874D26DA19 android_meta
09-21 17:41:31.791 403 417 V vold :
09-21 17:41:31.791 403 417 V vold : PART 2 193D1EA4-B3CA-11E4-B075-10604B889DCF 75B65DA1-FE70-458E-B04F-26C70E64830D android_expand
09-21 17:41:31.791 403 417 V vold :
09-21 17:41:31.792 403 417 D vold : Found key for GUID 75b65da1fe70458eb04f26c70e64830d
09-21 17:41:31.793 403 417 E Cryptfs : Cannot remove dm-crypt device
09-21 17:41:31.794 1714 1915 D VoldConnector: RCV <- {650 private:179_34 1 "disk:179_32" "75B65DA1-FE70-458E-B04F-26C70E64830D"}
09-21 17:41:31.795 403 417 I Cryptfs : Enabling support for allow_discards in dmcrypt.
09-21 17:41:31.797 1714 1915 D VoldConnector: RCV <- {651 private:179_34 0}
09-21 17:41:31.798 1714 1915 D VoldConnector: RCV <- {643 disk:179_32}
09-21 17:41:31.798 403 416 D vold : Disk at 253:0 changed
09-21 17:41:31.799 1714 1915 D VoldConnector: RCV <- {200 3 Command succeeded}
09-21 17:41:31.800 1714 1911 D VoldConnector: SND -> {4 volume user_added 0 0}
09-21 17:41:31.801 1714 1915 D VoldConnector: RCV <- {200 4 Command succeeded}
09-21 17:41:31.804 1714 1911 D VoldConnector: SND -> {5 volume mount private:179_34 0 -1}
09-21 17:41:31.805 1714 1915 D VoldConnector: RCV <- {651 private:179_34 1}
09-21 17:41:31.907 403 417 V vold : /system/bin/blkid
09-21 17:41:31.907 403 417 V vold : -c
09-21 17:41:31.908 403 417 V vold : /dev/null
09-21 17:41:31.908 403 417 V vold : -s
09-21 17:41:31.908 403 417 V vold : TYPE
09-21 17:41:31.908 403 417 V vold : -s
09-21 17:41:31.908 403 417 V vold : UUID
09-21 17:41:31.908 403 417 V vold : -s
09-21 17:41:31.909 403 417 V vold : LABEL
09-21 17:41:31.909 403 417 V vold : /dev/block/dm-0
09-21 17:41:31.978 683 683 E android.hardware.wifi@1.0-service: Failed to set DFS flag; DFS channels may be unavailable.
09-21 17:41:32.028 403 417 V vold : /dev/block/dm-0: UUID="c011f8c2-e20d-49bb-a830-f06d5b48f9a0" TYPE="f2fs"
09-21 17:41:32.028 403 417 V vold :
09-21 17:41:32.029 1714 1915 D VoldConnector: RCV <- {652 private:179_34 f2fs}
09-21 17:41:32.030 1714 1915 D VoldConnector: RCV <- {653 private:179_34 c011f8c2-e20d-49bb-a830-f06d5b48f9a0}
09-21 17:41:32.032 1714 1915 D VoldConnector: RCV <- {654 private:179_34 }
09-21 17:41:32.032 1714 1915 D VoldConnector: RCV <- {655 private:179_34 /mnt/expand/c011f8c2-e20d-49bb-a830-f06d5b48f9a0}
09-21 17:41:32.033 403 417 V vold : /system/bin/fsck.f2fs
09-21 17:41:32.034 403 417 V vold : -a
09-21 17:41:32.034 403 417 V vold : /dev/block/dm-0
09-21 17:41:32.290 403 417 D vold : private:179_34 passed filesystem check
09-21 17:41:32.291 403 417 E vold : Failed to mount /dev/block/dm-0: No such device
09-21 17:41:32.291 403 417 E vold : private:179_34 failed to mount: No such device
09-21 17:41:32.291 1714 1915 D VoldConnector: RCV <- {651 private:179_34 6}
09-21 17:41:32.291 1714 1915 D VoldConnector: RCV <- {400 5 Command failed}

The same error ("No such device") occurs when I manually use the "mount" command in the terminal:

# mount /dev/block/dm-0 -t f2fs /mnt/expand/c011f8c2-e20d-49bb-a830-f06d5b48f9a0/
mount: '/dev/block/dm-0'->'/mnt/expand/c011f8c2-e20d-49bb-a830-f06d5b48f9a0/': No such device

Recovery (latest TWRP) can mount the SD card just fine.

I will revert to last week's build later today and see if that works.