LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 03-26-2009, 12:40 PM   #1
janko.hrasko
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

THANKS A LOT FOR ANY HELP!
 
Old 03-26-2009, 12:55 PM   #2
tuliojm
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?

Regards,
Tulio Munhoz

Last edited by tuliojm; 03-26-2009 at 12:57 PM.
 
  


Reply


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 11:28 AM
Testdisk help, stupid mkfs.ext3... Apt Quadruped Linux - Desktop 2 07-12-2008 03:31 PM
ext3 usb hd - slow transfer rates (ubuntu/manual mount) chochem Linux - Hardware 6 06-09-2008 08:22 AM
ext3 super block get modified after mkfs.ext3 amitpardesi Programming 1 04-25-2008 11:42 AM


All times are GMT -5. The time now is 04:23 PM.

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