After a force restart, the (mounted) [ext4] filesystems became unaccessable,
- on FreeBSD-12.1,
- using ext2fs kernel module.
The [ext4] filesystems became not mountable (by superuser),
The error message was: "mount: /dev/... : Operation not permitted"
As fsck (standard) does not work on ext filesystems (which I tried), and also tried to use the following: fsck -t ext4, ended up with the following solution:
--> installed <e2fsprogs>
and after that the commands using <fsck> for ext2/3/4 were available, and I could run the following:
--> fsck.ext4 /dev/...
The checks ran, the filesystems became available again, and mountable.
My question is, that is this procedure the best solution, and/or are other ones?
What is the recommended - proper way of dealing with a not-clean linux filesystem?
(I did not post this in /guides, because I think a verified solution regarding this topic is needed)
- on FreeBSD-12.1,
- using ext2fs kernel module.
The [ext4] filesystems became not mountable (by superuser),
The error message was: "mount: /dev/... : Operation not permitted"
As fsck (standard) does not work on ext filesystems (which I tried), and also tried to use the following: fsck -t ext4, ended up with the following solution:
--> installed <e2fsprogs>
and after that the commands using <fsck> for ext2/3/4 were available, and I could run the following:
--> fsck.ext4 /dev/...
The checks ran, the filesystems became available again, and mountable.
My question is, that is this procedure the best solution, and/or are other ones?
What is the recommended - proper way of dealing with a not-clean linux filesystem?
(I did not post this in /guides, because I think a verified solution regarding this topic is needed)