Unable to format disk. fdisk: Unable to write /dev/sxx: Bad file descriptor

(Doc ID 2297348.1)

Last updated on AUGUST 18, 2017

Applies to:

Linux OS - Version Oracle Linux 6.9 with Unbreakable Enterprise Kernel [4.1.12] and later
Information in this document applies to any platform.


How to format and a USB disk which was mounted in write-protected mode and shows the below error while trying to run fdisk:



Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms