cancel
Showing results for 
Search instead for 
Did you mean: 

filesystem

SOLVED
Go to solution
Tammy Liang
Regular Advisor

filesystem

I created ext3 file system and I can mount these file system manually. But after I add them to /etc/fstab file. I run "mount -all", I get error message below:
ext3: No jounal on file system on sdb1
mount: wrong fs type, bad option, bad superblock on /dev/sdb1 or too many mounted file systems.
I know it is not too many other mounted file system, because I have other linux has more mounted file systems than this one.

Thanks for any suggestion.
take easy, enjoy life
8 REPLIES
James R. Ferguson
Acclaimed Contributor

Re: filesystem

Hi Tammy:

The error doesn't tell you exactly what's wrong; only the various possiblities. Note the word "OR".

Read the 'mount' manpages for the options allowed with ext3 filesytems and examine your entry in '/etc/fstab'.

Regards!

...JRF...
Tammy Liang
Regular Advisor

Re: filesystem

I see the problem after run mount -l.
The file system is ext2 instead of ext3.
How can I convert it to ext3 or how can I create ext3 file system?

Thanks for the reply.
take easy, enjoy life
Tammy Liang
Regular Advisor

Re: filesystem

I fixed it by rerun mkfs -t ext3, now I can mount these file system with mount -all.
Thanks for the reply.
take easy, enjoy life
Heironimus
Honored Contributor

Re: filesystem

You could also have used tune2fs to add the journal without reformatting.
Alexander Chuzhoy
Honored Contributor
Solution

Re: filesystem

Yep, you didn't have to destroy all your data with mkfs.
You can easily convert ext2 filesystem to ext3 and vice versa, while keeping the data, with tune2fs tool.
For example if you have ext2 filesystem on /dev/hdb1

tune2fs -j /dev/hdb1 will convert it to ext3

tune2fs -O has_journal /dev/hdb1 will convert ext3 filesystem to ext2

Tammy Liang
Regular Advisor

Re: filesystem

Thanks all. I will try tune2fs..
take easy, enjoy life
Alpha977
Valued Contributor

Re: filesystem

Hello Tammy!

Ok for the problem fixing, but i think you have a configuration problem with /etc/fstab.
Can you post it?

Regards!
Tammy Liang
Regular Advisor

Re: filesystem

After I changed from ext2 to ext3. I have no problem to mount with /etc/fstab file.
Thanks for the reply.
take easy, enjoy life