LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 11-03-2002, 09:07 AM   #1
mikeshn
Member
 
Registered: Feb 2002
Distribution: Fedora Core 2
Posts: 586

Rep: Reputation: 30
Format ext3 file system?


I use the command to format the partition mke2fs dev/hda1
But this command doesn't work

How can I format ext3 partition?

Thanks
 
Old 11-03-2002, 09:44 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,385

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
mke2fs -j /dev/hda1
 
Old 11-03-2002, 09:57 AM   #3
mikeshn
Member
 
Registered: Feb 2002
Distribution: Fedora Core 2
Posts: 586

Original Poster
Rep: Reputation: 30
Doesn't work

[root@localhost mike]# df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/hda9 380679 127302 233723 36% /
/dev/hda6 51182 17975 30565 38% /boot
/dev/hda8 2515040 407572 1979708 18% /home
none 127912 0 127912 0% /dev/shm
/dev/hda7 6868264 2193448 4325924 34% /usr
/dev/hda11 256194 126983 115983 53% /var
[root@localhost mike]# mke2fs -j /dev/hda11
bash: mke2fs: command not found
[root@localhost mike]#
 
Old 11-03-2002, 10:07 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,385

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
look in /sbin
 
Old 11-03-2002, 10:08 AM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,385

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
and was there any reason for the df output??
 
Old 11-03-2002, 12:37 PM   #6
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Maybe to show us that his drive is mounted?
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to freeze ext3 file system A-Liang Programming 8 09-23-2004 12:27 AM
How to ext3 file system A-Liang Programming 2 09-13-2004 10:14 PM
How to freeze ext3 file system A-Liang LinuxQuestions.org Member Intro 1 09-13-2004 04:35 AM
Help File System EXT3 x REISERFS julio menezes Linux - Newbie 1 03-14-2004 05:32 PM
Large tar file taking huge disk space in ext3 file system pcwulf Linux - General 2 10-20-2003 07:45 AM


All times are GMT -5. The time now is 11:27 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration