#Background
When the hard disk has a system, the format prompt indicates that the system cannot format
Input: mkfs ext4 /dev/nvme0n1
Error reporting:/dev/nvme0n1 is appropriate in use by the system; will not make a filesystem here!
#Solution
Prompt that/dev/sdk1 is in use/ Dev/sdk1 is being managed by DM, so when we create the file system, we will be prompted with an error. We can manually remove it to create the file system normally. The operation is as follows:
Check:
dmsetup status
Clear:
dmsetup remove_all
Check:
dmsetup status
Execute the command: mkfs.ext4 /dev/nvme0n1
Similar Posts:
- K8s version 1.20x nfs dynamic storage error: persistentvolume-controller waiting for a volume to be created, either by external provisioner “qgg-nfs-storage” or manually created by system administrator
- An error occurs when SVN executes the clean up command
- Git Error: Unable to create ‘D:/xxx/.git/index.lock’: File exists. Another git process seems to be running in this repository, e.g.an editor opened by ‘git commit’. Please make sure all p
- Using Vue + Axios: axios.post error: request failed with status code 400 is one of the solutions
- Error reason for adding PNG pictures in Android studio
- Firewall is not running an error is reported when the remote server opens the port
- [Solved] “/bin/bash^M: bad interpreter: No such file or directory”
- Oracle start monitoring error tns-12547: TNS: lost contact
- Repair of SSH startup failure after Ubuntu 16.04 update
- virtualbox+vagrant -2(command cli)-4-vagrant global-status Commands