Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Hi all ,
I have a Solaris Sparc system at my job place. It is Sparc Ultra 2 architecture with 4096 mb memory.the /usr is 99% full and because of which i am not able to install the patch clusters.So I want to resize the current partitions to add more space to /usr. Is there any way that I can resize the partition sizes without actually deleteing all the information and creating from the start?
(Also is there a better command than df -k, to see the total disk space)
Thanks
Mantram

You can do anything , when it comes to UNIX, specially SUN, :).
use fdisk, on your own risk :)
df -k , for sun 2.8 and laters and df -a for earlier is easy way to see your harddisk usage.
do you want a space on your /usr, good,
do you have space on any other partition, if you do, here is a complicated way to do what you want.
make a link on a filesystem which have enough space. link -s ./ <free space>/<link> on "/" file systemn use "find ./<dir> -print -depth get the out put and pipe into cpio -pdm <link> to mirror the file system and at last use rm -rf /<dir> to get a free space. you may need to modify /etc/vfstab, to mount <free space> before <link> etc..
if you are not an expert on things like this. better do it on some testing system before doing it on your server
good luckadmin@paklight.net

Hi Florocent,
:) thanks for telling me that we can play with SUN in this regard.
But as i am novice in this, can you please explain/give the example in more detail steps and more clearly....as this will help me a lot and i need it urgently.
Thanks
Mantram

Dear,
I have mentioned everything above try to read the man pages for paticular commands ,i have shown above, there is nothing complicated, how can i give you an example as i have no idea what how your hdisk is formated and what partition is full and which is empty.
i am sorry you are new user, but without understanding everything don;t do it other wise you will end up destroying your data., but will get a FREE space. :)
admin@paklight.net

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |