Yousa, this finally WORKED!!
Wow, what a little ordeal!
The warranty replacement was THE SAME THING- 31GB. STILL TOO SMALL!! Back to square one.
So, my intuition told me that dd must only copy as much as the size of the partition, and therefore if I wanted to have success with it, I must make that source 32GB flash drive's partitions 1GB+ smaller.
The other complication was that I had an encrypted volume group as part of this source drive.
So any procedure would have to:
1) Boot on a recovery or accessory kernel & attach the source drive
2) open this drive's vg with a cryptographic utility
3) make its volume group, pv and lv available to the kernel
4) Reduce root filesystem associated with the vg using resize2fs
5) Reduce the associated lv with lvreduce
6) Reduce the associated pv with pvresize
7) Reduce crypt with cryptsetup
8) Reduce the partition storing the crypt with fdisk.
I wrote the author of the tutorial I used to build the encrypted Ubuntu installation.
So he shared a procedure that worked really well.
https://help.ubuntu.com/community/Re...ptedPartitions
Still tricky in spots. Had to go down and up in size on the lv, pv and partitions (2 and 5) a few times.
I was amazed that I didn't corrupt the original filesystem, but I did have like 5GB space left according to df -m
I suspect that as long as you don't make lv, pv or partitions smaller than the original filesystem's occupied space even once, you could resize all day long, reboot, and still get back to sizes that let you open and mount your data.
When I dd'd the final time, it still gave one final complaint about "no space on device".
I wonder if dd gets this from the disk label or the header section of fdisk -l /dev/sdb, which always shows the 32GB.
I decided to boot it anyways and Voila!!
Now have 2 identical keys!