Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-26-2009, 11:40 AM   #1
LQ Newbie
Registered: Mar 2009
Posts: 1

Rep: Reputation: 0
mkfs.ext3 and manual mount

Hi all,
I was testing something on my server trying to increase the number of inodes by creating new filesystem on one partition:

umount /data
mkfs.ext3 /dev/hdb2 -N 100000000 -L /data

However after the mkfs.ext3 command I haven't been able to mount the /data as I could before like this:

mount /data
I got this error message:
mount: no such partition found

BEFORE running mkfs.ext3 ... I could do mount and umount /data without any error statement like this:

umount /data
mount /data

However I figured out that after running mkfs.ext3 I CAN MOUNT /data manually like this:

mount -t ext3 /dev/hdb2 /data -> THIS WORKS perfectly fine

How can I now MAKE mount work AGAIN the same way as it worked before running mkfs.ext3 (without manual specifying of fs option and device option) ?
I HAVEN'T CHANGED a simple thing in /etc/fstab - NOT BEFORE NOR AFTER running mkfs.ext3:

this is the entry for /data partition:

LABEL=/data1 /data ext3 defaults 1 2

Does anyone now what the problem is ? I suppose after running mkfs.ext3 you have to do some changes in some config files but I dunno where and which

Old 03-26-2009, 11:55 AM   #2
LQ Newbie
Registered: Mar 2008
Location: Curitiba
Posts: 18

Rep: Reputation: 2
The fstab entry uses the label /data1 and as argument to mkfs you used /data.
did you see that?

Tulio Munhoz

Last edited by tuliojm; 03-26-2009 at 11:57 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
problem with mkfs.ext3 guillermo Linux - Server 3 07-17-2008 10:28 AM
Testdisk help, stupid mkfs.ext3... Apt Quadruped Linux - Desktop 2 07-12-2008 02:31 PM
ext3 usb hd - slow transfer rates (ubuntu/manual mount) chochem Linux - Hardware 6 06-09-2008 07:22 AM
ext3 super block get modified after mkfs.ext3 amitpardesi Programming 1 04-25-2008 10:42 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:57 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration