Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

linux

Posted on 2011-10-11
4
Medium Priority
?
181 Views
Last Modified: 2012-05-12
#df -h
filesystem       Size   Used      Avail     Use%   Moiunted on
/dev/sda2        30G    3G        27G     10%      /
tmpfs               504M  272K    504M    1%       /dev/shm
/dev/sda1         291M  30M      247M   11%      /boot

I need to create  the /dev/sda2 in to 3 sub directories of 15G,4G and 4G.
How can I achieve that task

mkdire  command create the directory but how to allocate a space to the directory.
0
Comment
Question by:taaz
  • 2
  • 2
4 Comments
 
LVL 13

Expert Comment

by:Hugh McCurdy
ID: 36949653
I think you might be confused.

Allocating space is something you would do during partitioning.  You'd do partitioning before you install Linux.  But it appears Linux is already installed.  Unless you want to reinstall Linux, you should leave the partition table alone.

Which Linux distribution are you using?

Why are you trying to have a 15G limit, a 4G limit and another 4G limit?  (There are good reasons but I want to know your reason.)
0
 

Author Comment

by:taaz
ID: 36950045
Well it is a Linux 6.1 32bit installed on a vmware

I am going to Oracle 11gr2
ORACLE_BASE:  /u00/app/oracle  as base
ORACLE_HOME: /u00/app/oracle/product/11.2.1
I want to use the spaces for the control files datafiles, logfiles ,FRA, and rman

I can reinstall the linux on vmwre.
0
 
LVL 13

Accepted Solution

by:
Hugh McCurdy earned 2000 total points
ID: 36950387
I'm not sure why you need separate partitions for them.  One good reason would be to separate important data on its own partition as some sort of isolation approach.  Another you already have -- the small boot partition.

However, it's your computer.  

I don't know the fdisk instructions for vmware (if it has its own utility or if you use the standard utility).  But some sort of fdisk is what you want.  Just make as many partitions as you need.  When you get to sda4, you should make that an extended partition and then keep adding partitions.  I think you can go up to 16 but I haven't gone past 10 myself.
0
 

Author Closing Comment

by:taaz
ID: 36950630
thnks
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Suggested Courses
Course of the Month20 days, 16 hours left to enroll

810 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