[FreeBSD]mount: /dev/da0p2: R/W mount of / denied. Filesystem is not clean – run fsck. Forced mount will invalidate journal contents: Operation not permitted

When I tried to mount a hard drive on FreeBSD today, I got the following error message.

sudo mount -t ufs /dev/da0p2 /mnt/
mount: /dev/da0p2: R/W mount of / denied. Filesystem is not clean - run fsck. Forced mount will invalidate journal contents: Operation not permitted

Here is how to fix it:

sudo mount -r -t ufs /dev/da0p2 /mnt/

where ufs refers to the file system of FreeBSD.

That’s it.

–Derrick

Our sponsors:

One Reply to “[FreeBSD]mount: /dev/da0p2: R/W mount of / denied. Filesystem is not clean – run fsck. Forced mount will invalidate journal contents: Operation not permitted”

  1. elconomeno

    used your command as described.
    banged an error after i wanted to modify something in a file with an error about read-only

    so i did an extra step :
    newfs -U /dev/ada0s1e
    this removed old data…
    mount -r -o rw -t ufs /dev/ada0s1e /mnt/cache
    -o rw => options read-write access to partition

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *