LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices



Reply
 
Search this Thread
Old 09-21-2006, 08:13 PM   #1
richardchancs
LQ Newbie
 
Registered: Aug 2006
Posts: 4

Rep: Reputation: 0
Create and file system without reboot server


Hi,
How to create file system and format it without reboot server? example new file system : /dev/sda5. So far I know unable to format it after created but after reboot don't have problem...
 
Old 09-21-2006, 08:22 PM   #2
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,396
Blog Entries: 2

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
Is this what you want?

mkfs -t e2fs /dev/sda5

mount -t e2fs /dev/sda5 /any/mount/point

--- rod.
 
Old 09-21-2006, 10:17 PM   #3
richardchancs
LQ Newbie
 
Registered: Aug 2006
Posts: 4

Original Poster
Rep: Reputation: 0
Create and file system without reboot server

I already try this command but show out error "mkfs.e2fs: No such file or directory"....
 
Old 09-22-2006, 08:16 PM   #4
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,396
Blog Entries: 2

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
Does your specified mountpoint actually exist? If no, then create it.

--- rod.
 
Old 09-24-2006, 10:11 PM   #5
richardchancs
LQ Newbie
 
Registered: Aug 2006
Posts: 4

Original Poster
Rep: Reputation: 0
Yes, I already do it...but still have problem...
 
Old 09-27-2006, 11:36 AM   #6
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,396
Blog Entries: 2

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
Can you please post the full output, including your commandline for mkfs? Also the full ouptut of
fdisk -l /dev/sda

Please explain exactly what is the difference in behavior between before/after reboot. The formatting of a disk should not change on rebooting. You aren't telling us everything here...

--- rod.
 
Old 09-27-2006, 02:33 PM   #7
cambie
Member
 
Registered: Jul 2004
Posts: 90

Rep: Reputation: 15
fdisk your partion, run partprobe, then mkfs it, and mount it up.
 
  


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
xubuntu can't create file system fakie_flip Ubuntu 1 06-04-2006 11:49 PM
force file system integrity check on reboot paul_mat Linux - Software 1 05-30-2006 10:02 PM
how to create a linux file system? Sarah Ramsey Linux - Software 4 02-19-2006 07:06 PM
create big file system dev_mohamed Linux - General 4 10-03-2005 05:33 PM
Looking for file system that won't corrupt files on hard reboot haimeltjnfg Linux - Software 13 05-30-2004 08:19 PM


All times are GMT -5. The time now is 06:42 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration