[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


RedHat 6.1

Posted on 2011-10-14
Medium Priority
Last Modified: 2012-05-12
Linux : RHEL6.1 on vmware
#df -h
Filesystem          Size            used   avail   Use  mounted on
/dev/sda2             28G            2.1G    24G    8%        /
tmpfs                   504M         420K    504M   1%       /dev/shm
/dev/sda1            291M           30M    247M  11%     /boot

Now I want to partition the /dev/sda2. create file systems mounted on /u00, /u01,/u02 of 8G,4G,4G

what are my options to achive this task.?
 fdsk /dev/sda2

#mkfs.ext3 -b 4096 /dev/sda2
mke2fs 1.41.12  (17-May-2010)
/dev/sda2 is mounted; will not make a filesystem here!

Question by:taaz

Accepted Solution

Jelcin earned 2000 total points
ID: 36969296

i don't exactly understand what you want to do with /dev/sda2 and why since it's the root directory. If there is some space left on /dev/sda than you can partition it with "sudo fdisk /dev/sda".

1. First you have to create a partition with "fdisk".
2. Than you can put filesystem on it with "mkfs.ext3".
3. Than you can mount it with "sudo mount /dev/sdaX /u01".

Please pay attention since partitioning (fdisk) could lead to data loss on your whole HDD!

Author Closing Comment

ID: 36969446
Got it thanks

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When rebooting a vCenters 6.0 and try to connect using vSphere Client we get this issue "Invalid URL: The hostname could not parsed." When we get this error we need to do some changes in the vCenter advanced settings to fix the issue.
This article outlines why you need to choose a backup solution that protects your entire environment – including your VMware ESXi and Microsoft Hyper-V virtualization hosts – not just your virtual machines.
This Micro Tutorial steps you through the configuration steps to configure your ESXi host Management Network settings and test the management network, ensure the host is recognized by the DNS Server, configure a new password, and the troubleshooting…
This Micro Tutorial walks you through using a remote console to access a server and install ESXi 5.1. This example is showing remote access and installation using a Dell server. The hypervisor is the very first component of your virtual infrastructu…
Suggested Courses
Course of the Month20 days, 7 hours left to enroll

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question