1825639 Members
3563 Online
109683 Solutions
New Discussion

File system / full

 
SOLVED
Go to solution
Edwin Ruiz_2
Super Advisor

File system / full

Hi!

I make one directory on / file system called oracle, but it has too information an d my file system / is full. I dont want to lost this information.. can i redirect this directory to othe file system? how can i do?
3 REPLIES 3
John Poff
Honored Contributor
Solution

Re: File system / full

Hi,

Here is one way to handle it. You could make a new filesystem that is big enough to hold the contents of /oracle, mount it up, copy over the contents of /oracle to the new filesystem, rename /oracle to something else (/oracle_old), and then umount and remount the new filesystem as /oracle.

JP
Steven E. Protter
Exalted Contributor

Re: File system / full

oracle data should not be stored in the root filesystem.

You need to create a new filesystem for it and then move any data you have in the original off of the root / filesystem

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Reinhard Bayer
Occasional Contributor

Re: File system / full

Hi Edwin

I would do the following:

copy the entire directory (/oracle) to a new filesystem e.g. /app
rename the /oracle to /oracle.old
Link the new FS to the old directory
(ln -s /app/oracle /oracle)

Check access to the data
Backup data
Reconfigure your system so that you can delete the previous link and delete the /oracle

and keep in mind for the future: Never place working directories at "/" filesystem.

Hth
Reinhard