gjournaled UFS2 filesystem is gone after power outage

Fluffles etc at fluffles.net
Thu Oct 26 17:44:48 UTC 2006


Andrei Kolu wrote:
> I got power outage- UPS couldn't handle it this time- have to replace battery 
> and now I can't read my filesystem that I made for testing purposes:
>
> # mount /dev/ad0s4.journal /mnt/ad0s4/
> mount: /dev/ad0s4.journal: Operation not permitted
> # fsck /dev/ad0s4
> fsck: Could not determine filesystem type
>   

Well you should use:

fsck -t ufs /dev/ad0s4
and after that mount it.

Right now you should be able to mount the volume with mount -f
/dev/ad0s4 <mountpoint>, but that is not recommended.

But i were told fsck was not necessary when using gjournal. *shrug*


More information about the freebsd-geom mailing list