Disk-Arbitrator icon indicating copy to clipboard operation
Disk-Arbitrator copied to clipboard

Blocking LVM physical volumes

Open Kevin-Prichard opened this issue 5 years ago • 0 comments

So on inserting a USB thumb drive containing a LVM physical drive, macOS wants to sort of mount it. "Mount" probably the wrong word, but there they are in Disk Utility, with eject buttons next to them. They don't show up in df or Finder or diskutil list, however.

This drive was created by imaging a Ubuntu 18.04.2 system created in VirtualBox, yes it's on a LVM volume group created at install time. Using VBoxManager clonemedia ... my_drive.iso --format=RAW -> hdiutil ... -> dd if=my_drive.iso of=/dev/rdisk2 bs=1m more or less, where rdisk2 is the USB thumb drive of course.

Don't consider this a priority - my own solution was to recreate the Ubuntu system with a ext4 volume instead of LVM. But I thought you might find it interesting to know about it.

Kevin-Prichard avatar Jul 15 '19 04:07 Kevin-Prichard