mount_ext2fs: /dev/ad2s5: Operation not permitted
Thursday, June 21st, 2007i’ve got new problem when i try to mount my linux partition in freeBSD. it says :
# mount_ext2fs /dev/ad2s5 /mnt/ad2s5
mount_ext2fs: /dev/ad2s5: Operation not permitted
why i got that errors??? hmmm, back to 1 week ago, the partition is improperly unmounted, such as a forced reboot or a power cycle. hahahahahaha………. i remember that, my server hang, and i must reboot it manually…..hahahaha
then, how to solve it??
first the partition have to be fsck’ed before my server can mount it. but, how we can fsck linux partition in freeBSD system….. freeBSD has a tool for it, e2fsprogs
of course you have to install it, so simple and so easy to install that program (of course, you must be root )
1.#cd /usr/ports/sysutils/e2fsprogs
2.make install clean
3 e2fsprogs /dev/ad2s5 (make sure you’ve ext2fs module already loaded in FreeBSD. just wait, and see the process)
4 now i can mount the ext2 filesystem without error (mount -t ext2fs /dev/ad2s5 /linux)
hahahahah, FreeBSD save my life again………….
hope this can help you too
thanks ^_^