shahidp
asked on
repartition/ swap Hard Disk without re-installation Solaris
hello all.
my "oracleapp" folder is out of space. "root" and some other directories(var/opt etc) has much space. Is is possible to get some space from "root" folder and add to "oracleapp" folder?
thanks in advance.
my "oracleapp" folder is out of space. "root" and some other directories(var/opt etc) has much space. Is is possible to get some space from "root" folder and add to "oracleapp" folder?
thanks in advance.
In addition, can you give us some details about the storage software / hardware? Specifically:
What type of system is this?
Are the drives internal or part of an array (A1000, A5200 etc.)
Are you using DiskSuite, SVM, or Veritas?
What version of Solaris are you running?
Lastly, the output of this command may be useful:
# /usr/platform/sun4u/sbin/p rtdiag -v
Thanks,
A
What type of system is this?
Are the drives internal or part of an array (A1000, A5200 etc.)
Are you using DiskSuite, SVM, or Veritas?
What version of Solaris are you running?
Lastly, the output of this command may be useful:
# /usr/platform/sun4u/sbin/p
Thanks,
A
ASKER
i am using solaris 8.
(in short) output of df -k is:
capacity: Mounted on
----------- --------------
34% /
40% var
94% oracleapp
i want to get some space from root and add it to oracleapp.
(in short) output of df -k is:
capacity: Mounted on
----------- --------------
34% /
40% var
94% oracleapp
i want to get some space from root and add it to oracleapp.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
liddler's comment includes the best two ways to solve your issue based upon the information you've given us. If you can give us the resources mentioned above, we may be able to find a way to accomplish your goal w/out using newfs.
Thanks,
A
Thanks,
A
helo
lidler gave you the best solution , however if you still want to resize the partitions this will cost to reinstall the system
firstly backup the system twice,
use ufsdump command.
then reinstall the system with the new size.
then restore the system from one of the backups, use ufsrestore -r command.
by this way you can plan for future expansion, you can add other hard disk or replace it with a larger one
add other hard disks for futer expansion
by this way you have extra options but it needs more efort and more advanture
you own the decission
lidler gave you the best solution , however if you still want to resize the partitions this will cost to reinstall the system
firstly backup the system twice,
use ufsdump command.
then reinstall the system with the new size.
then restore the system from one of the backups, use ufsrestore -r command.
by this way you can plan for future expansion, you can add other hard disk or replace it with a larger one
add other hard disks for futer expansion
by this way you have extra options but it needs more efort and more advanture
you own the decission
How much swap do you have. What partitions do your filesystems use, and where are they located on the disk.
If you have enough swap you could steal some swap. You may be able to add this to oracleapp if you can place it next to swap on the disk. You would have to copy oracleapp off, repartition, remake the filesystem, and copy oracleapp back on again.
Might this work?
If you have enough swap you could steal some swap. You may be able to add this to oracleapp if you can place it next to swap on the disk. You would have to copy oracleapp off, repartition, remake the filesystem, and copy oracleapp back on again.
Might this work?
Take a look at this. This original question was related to shrinking swap for adding space to be used for SVM metadb's but the priciple is the same.
https://www.experts-exchange.com/questions/21064900/Repartition-swap-space-for-metadb.html
https://www.experts-exchange.com/questions/21064900/Repartition-swap-space-for-metadb.html
and
prtvtoc for each disk (i.e. prtvtoc /dev/dsk/c0t0d0s2)
You may have to backup and wipe a partition before resizing and then restoring, depends on you disk layouts