We have a usb memory stick that FreeBSD-11 will not mount because its file system is not clean. It is not clean because it was removed from an extension cable while it was mounted on a FreeBSD-11 system. However, there was no file activity that we are aware of at the time it was removed.

We cannot get fsck or fsck_ffs to find a superblock so these will not run. Even when we provide fsck_ffs -b with a superblock address found using newfs -N it does not consider the block location as a superblock.

How do we clear the dirty bit so that we can mount the device?

  • 1
    What filesystem is the flash drive? UFS? Ext*? Other? – Brennen Smith Feb 28 '18 at 20:28
  • file system is linux-data – James B. Byrne Mar 1 '18 at 22:19
  • 1
    ^ That's a partition ID, not a filesystem. – Spooler Mar 1 '18 at 22:34

This problem was repaired with: fsck.ext3 /dev/da0s1

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.