Computing.Net > Forums > Solaris > Resizing the partition size

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Resizing the partition size

Reply to Message Icon

Name: mantram
Date: March 11, 2004 at 08:57:46 Pacific
OS: Solaris 8
CPU/Ram: Sparc ultra2,4096mb
Comment:

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



Sponsored Link
Ads by Google

Response Number 1
Name: florocent
Date: March 12, 2004 at 21:48:42 Pacific
Reply:

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 luck

admin@paklight.net


0

Response Number 2
Name: mantram
Date: March 13, 2004 at 14:03:16 Pacific
Reply:

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


0

Response Number 3
Name: florocent
Date: March 15, 2004 at 06:53:22 Pacific
Reply:

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


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

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


Go to Solaris Forum Home


Sponsored links

Ads by Google


Results for: Resizing the partition size

Resize Partitions on Solaris 8 - urgent www.computing.net/answers/solaris/resize-partitions-on-solaris-8-urgent/942.html

Maximum Partition size www.computing.net/answers/solaris/maximum-partition-size/4796.html

Changing the swap size www.computing.net/answers/solaris/changing-the-swap-size/1143.html