LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
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,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
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,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
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

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 07:16 AM.

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
Open Source Consulting | Domain Registration