Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Repartion root disk

Status
Not open for further replies.

umeman

Technical User
Oct 2, 2001
59
US
Admins.

I have an extremely urgent situation I need your help with:

I have inhereted a sun e450 system where the root disk
is 18GB with 2 slices / - 16 gb and /swap 2 gb

/export
/usr
/opt

are all subdirectories of the / partition. How can
resize / partition to be 4 Gb and
/export = 4 GB
/usr = 4 GB
/opt = 4 GB

Thanks
-u-
 
So you like walking on thin ice? :)

I have repartitioned live systems but it is NOT advisable.
The default partitioning does not usually have enough space to allow it.

The cheapest and fastest way follows:

1. Buy a second disk drive and install it.
2. Partition the second drive according to your needs. Be sure to allow the swap partition to be at least twice the size of you physical memory.
3. set up the partitions using the newfs and fsck commands
4. use ufsdump/ufsrestore to copy the data (you can use tar)
5. make the drive bootable.

Here, you are own your own. You can either make the second
drive the boot drive using nvram or simply swap the cables
so the second drive is the primary boot drive.

To do all this magic, I would boot from the Solaris installation CD into it's miniroot.

You must also be familiar with the following commands:
format, newfs, fsck, ufsdump/ufsrestore, mkboot, and of course vi.

NOTE: These are steps, not instructions. Good luck.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top