LinuxQuestions.org
Help answer threads with 0 replies.
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-15-2011, 03:13 PM   #1
a_1
LQ Newbie
 
Registered: Nov 2009
Posts: 21

Rep: Reputation: 0
how to create partitions on OS running ?


Hello,

i have server and there is no option from my control panel on data center to make os reload with partitions i need for Openvz , so how can create partitions ? the server have 2 hard


hope find easy help
 
Old 03-15-2011, 03:15 PM   #2
jcalzare
Member
 
Registered: Aug 2009
Location: Chicago
Distribution: CentOS
Posts: 114

Rep: Reputation: 34
You can use fdisk to create partitions.
 
Old 03-15-2011, 03:19 PM   #3
a_1
LQ Newbie
 
Registered: Nov 2009
Posts: 21

Original Poster
Rep: Reputation: 0
how can do that ? by i dont know how do that
 
Old 03-15-2011, 03:20 PM   #4
jcalzare
Member
 
Registered: Aug 2009
Location: Chicago
Distribution: CentOS
Posts: 114

Rep: Reputation: 34
man fdisk. If you would have looked at the man page, you'd probably be done by now. There are also a list of commands when you type fdisk /dev/sdx
 
Old 03-15-2011, 03:51 PM   #5
a_1
LQ Newbie
 
Registered: Nov 2009
Posts: 21

Original Poster
Rep: Reputation: 0
i'm not good in this way but if i do mkdir /vz

what i must do after this to give this /vz space like 800GB the hard already 1000 GB
 
Old 03-15-2011, 03:57 PM   #6
jcalzare
Member
 
Registered: Aug 2009
Location: Chicago
Distribution: CentOS
Posts: 114

Rep: Reputation: 34
Create a partition with fdisk (like I already told you). Then, create a filesystem with mkfs. Lastly, mount the filesystem to /vz with the mount command.

man fdisk
man mkfs
man mount

Use google if you are looking for step-by-step instructions for creating and mounting a filesystem. http://www.ibm.com/developerworks/li...104-1/?ca=drs- It took about 15 seconds to google that.
 
  


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
Help! Slackware 10 will not let me create partitions - at all! Jedinovice Linux - Newbie 6 10-28-2010 07:56 AM
FDISK does not let me create partitions millikin691@hotmail. Slackware - Installation 54 08-28-2006 08:04 PM
how many partitions should I create? Necronomicom Slackware - Installation 14 06-28-2004 09:12 PM
Create software RAID partitions first, then create filesystem partitions on top of th stefanlasiewski Linux - Software 1 04-28-2004 05:12 PM
RH9 How many partitions can I create? oracsol Linux - Newbie 1 09-25-2003 03:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:50 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