Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
09-21-2006, 08:13 PM
|
#1
|
LQ Newbie
Registered: Aug 2006
Posts: 4
Rep:
|
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...
|
|
|
09-21-2006, 08:22 PM
|
#2
|
LQ 5k Club
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
|
Is this what you want?
mkfs -t e2fs /dev/sda5
mount -t e2fs /dev/sda5 /any/mount/point
--- rod.
|
|
|
09-21-2006, 10:17 PM
|
#3
|
LQ Newbie
Registered: Aug 2006
Posts: 4
Original Poster
Rep:
|
Create and file system without reboot server
I already try this command but show out error "mkfs.e2fs: No such file or directory"....
|
|
|
09-22-2006, 08:16 PM
|
#4
|
LQ 5k Club
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
|
Does your specified mountpoint actually exist? If no, then create it.
--- rod.
|
|
|
09-24-2006, 10:11 PM
|
#5
|
LQ Newbie
Registered: Aug 2006
Posts: 4
Original Poster
Rep:
|
Yes, I already do it...but still have problem...
|
|
|
09-27-2006, 11:36 AM
|
#6
|
LQ 5k Club
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
|
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.
|
|
|
09-27-2006, 02:33 PM
|
#7
|
Member
Registered: Jul 2004
Posts: 90
Rep:
|
fdisk your partion, run partprobe, then mkfs it, and mount it up.
|
|
|
All times are GMT -5. The time now is 07:16 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|