How to format a usb drive with a disposable VM?

With Qubes Devices, I attached the generic mass storage device to a disposable VM. After that, I installed gparted to the VM and use it to format the drive.

Gparted said “Operation not permitted during write on /dev/xvdd”.

Is this normal?

nevermind. the usb drive is actually /dev/sda instead of /dev/xvdd.