When and why you need to force mount a drive
A force mount in Linux bypasses the normal safety checks that prevent you from mounting a drive that the system thinks is already in use, corrupted, or unsafe. The command is mount -o remount,rw /dev/sdXN /mount/point or mount -f /dev/sdXN /mount/point, depending on what's blocking the mount.
You hit this problem most often when a drive didn't unmount cleanly — the system crashed, you yanked the cable, or a process is still holding the drive open. Linux won't let you mount it again until you either close that process or tell the system to ignore the safety warning. Force mounting is the second option.
The risk is real: if the drive is actually corrupted or still in use by another process, force mounting can cause data loss or filesystem damage. That's why the safety checks exist. But sometimes the checks are wrong — the system thinks a drive is in use when it isn't, or the filesystem was marked dirty by a crash that didn't actually damage anything. In those cases, force mounting gets you access again.
Key Takeaways
- Force mounting bypasses safety checks, so first try to find what's actually blocking the mount — usually a running process or a filesystem marked dirty from a crash.
- The command mount -o remount,rw /dev/sdXN /mount/point remounts a drive that's already partially mounted; mount -f /dev/sdXN /mount/point ignores the dirty flag.
- Always check the filesystem with fsck before force mounting, unless you're certain the drive is not corrupted.
- If a process is holding the drive open, lsof will show you what it is, and you can close it instead of force mounting.
Check what's actually blocking the mount first
Before you force anything, find out why the mount is failing. Run dmesg | tail -20 to see the kernel's last messages — they often say exactly what the problem is. Look for lines mentioning your drive (like sda1) or the mount point.
If the message says the filesystem is dirty or was not unmounted cleanly, that's a crash or improper shutdown. If it says the device is busy or already mounted, a process still has it open. These are different problems with different solutions.
To find which process is holding the drive, use lsof | grep /mount/point or fuser -m /mount/point. If something shows up, you can close it with kill -9 PID (replace PID with the process ID) and then mount normally. This is safer than force mounting because you're actually fixing the problem instead of bypassing the warning.
Run fsck to check the filesystem before forcing a mount
If the drive is marked dirty or the kernel says it wasn't unmounted cleanly, run a filesystem check first. Unmount the drive completely with umount /mount/point, then run fsck /dev/sdXN (replace sdXN with your actual drive). The tool will scan for errors and ask you to fix them.
This step matters because force mounting a corrupted filesystem can make the corruption worse. fsck catches most problems before you mount. If fsck finds nothing wrong, the dirty flag was a false alarm from a crash, and force mounting is safe.
If you're working with an ext4 filesystem, you can also use fsck.ext4 -n /dev/sdXN (the -n flag means read-only, so it won't change anything) to see what errors exist without fixing them yet. This is useful if you want to know the damage before you decide whether to proceed.
Force mount with remount if the drive is partially mounted
If the drive is already mounted but read-only, or mounted but inaccessible, use the remount option: sudo mount -o remount,rw /dev/sdXN /mount/point. This tells the system to remount the same drive with read-write permissions, without unmounting it first.
This is the safest force-mount option because you're not bypassing safety checks — you're just changing the mount options on a drive that's already mounted. It works when a drive mounted as read-only after a crash, or when permissions got stuck.
If the remount fails, try adding force to the options: sudo mount -o remount,rw,force /dev/sdXN /mount/point. This tells the kernel to ignore the fact that the drive might still be in use by something.
Force mount by ignoring the dirty flag
If the filesystem is marked dirty but you've run fsck and confirmed there's no corruption, use sudo mount -f /dev/sdXN /mount/point. The -f flag means "fake" — it tells the system to skip the normal safety checks and mount anyway.
For ext4 filesystems, you can also use sudo mount -o noload /dev/sdXN /mount/point. The noload option skips the journal replay that normally happens when a filesystem is marked dirty. Use this only if you're certain the filesystem is not corrupted.
After a force mount, the drive should be accessible. If files are corrupted or missing, the corruption happened before the mount — force mounting didn't cause it, but it also didn't fix it. In that case, you may need to recover files from a backup or use data recovery tools.
What to do if force mount still fails
If the drive won't mount even with force options, the filesystem is likely genuinely corrupted. Run fsck again, this time without the -n flag, to let it fix errors: sudo fsck -y /dev/sdXN. The -y flag means "yes to all" — it will fix problems without asking.
If fsck finds severe corruption, it may move damaged files to a lost+found directory on the drive. Once fsck finishes, try mounting normally (without force options). If the mount succeeds, check lost+found for your files.
If the drive still won't mount after fsck, the hardware itself may be failing. Try the drive in another computer or with a different cable. If it fails everywhere, the drive is likely dying and force mounting won't help — you'll need to recover data from a backup or send it to a data recovery service.
Safely unmount after a force mount
After you force mount a drive, unmount it properly when you're done. Use sudo umount /mount/point and wait for the command to finish. Don't just yank the cable or shut down the computer.
If the unmount hangs, something is still using the drive. Run lsof | grep /mount/point again to find it, close the process, and try unmounting again. If you force unmount with umount -l /mount/point (lazy unmount), the system will unmount as soon as nothing is using it, but this can leave the filesystem in a dirty state again.
Frequently Asked Questions
Is force mounting safe for my data?
Force mounting itself doesn't damage data, but it bypasses warnings that might be protecting you from a corrupted drive. Always run fsck first to check for corruption. If the filesystem is actually corrupted, force mounting won't make it worse — the corruption is already there — but it also won't fix it.
What's the difference between mount -f and mount -o force?
mount -f (fake mount) skips all safety checks and is useful for drives marked dirty. mount -o force is used with remount and tells the system to ignore the fact that the drive might be in use. Use -f for a fresh mount; use -o force when remounting an already-mounted drive.
Can I force mount a drive that's actively being used by another computer?
No, and you shouldn't try. If the drive is connected to another computer or network share, force mounting it will corrupt the filesystem. Disconnect it from the other computer first, then mount it on only one system at a time.
What if fsck says the filesystem is too damaged to repair?
Stop and do not force mount. The filesystem is genuinely corrupted beyond what fsck can fix. Your options are to restore from a backup, try data recovery software on a different computer, or contact a professional data recovery service. Force mounting a severely damaged filesystem will not help and may make recovery harder.
Do I need to be root to force mount?
Yes, force mounting requires root privileges. Use sudo before the mount command. If you're not in the sudoers group, you'll need the root password or to ask your system administrator.
