linux

#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.
taazAsked:
Who is Participating?
 
Hugh McCurdyCommented:
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
 
Hugh McCurdyCommented:
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
 
taazAuthor Commented:
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
 
taazAuthor Commented:
thnks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.