Link to home
Start Free TrialLog in
Avatar of taaz
taaz

asked on

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.
Avatar of Hugh McCurdy
Hugh McCurdy
Flag of United States of America image

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.)
Avatar of taaz
taaz

ASKER

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.
ASKER CERTIFIED SOLUTION
Avatar of Hugh McCurdy
Hugh McCurdy
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of taaz

ASKER

thnks