LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to create partitions on OS running ? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-create-partitions-on-os-running-868764/)

a_1 03-15-2011 02:13 PM

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

jcalzare 03-15-2011 02:15 PM

You can use fdisk to create partitions.

a_1 03-15-2011 02:19 PM

how can do that ? by i dont know how do that

jcalzare 03-15-2011 02:20 PM

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

a_1 03-15-2011 02:51 PM

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

jcalzare 03-15-2011 02:57 PM

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.


All times are GMT -5. The time now is 02:55 AM.