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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Add a partition

Status
Not open for further replies.

Scunningham99

Programmer
Sep 20, 2001
815
GB
We have decided to add disksuite to manage our disks but require two further partitions for the disksuite databases in the vtoc of the disk shown below:

* First Sector Last
* Partition Tag Flags Sector Count Sector Mount Directory
0 2 00 0 79698432 79698431 /
1 7 00 79698432 8395200 88093631 /var
2 5 00 0 143349312 143349311
3 3 01 88093632 16780224 104873855
5 0 00 104873856 16780224 121654079 /opt
6 4 00 121654080 16780224 138434303 /usr
7 8 00 138434304 4915008 143349311 /export/home

-----------------

As you can see all of the partitions are taken up and we need the two extra partitions for the disksuite database's to enable us to mirror our root disk. (we have just added a new root disk that has been formatted and is for the intention of mirroring):

Part Tag Flag Cylinders Size Blocks
0 root wm 0 - 7831 38.00GB (7832/0/0) 79698432
1 var wm 7832 - 8656 4.00GB (825/0/0) 8395200
2 backup wm 0 - 14086 68.35GB (14087/0/0) 143349312
3 swap wu 8657 - 10305 8.00GB (1649/0/0) 16780224
4 unassigned wm 0 0 (0/0/0) 0
5 unassigned wm 10306 - 11954 8.00GB (1649/0/0) 16780224
6 usr wm 11955 - 13603 8.00GB (1649/0/0) 16780224
7 home wm 13604 - 14086 2.34GB (483/0/0) 4915008


Does anyone have any suggestions of how we can make the extra 2partitions from the partitions with have in use without losing any data currently on the disk.

Cheers,

Si

The frozen rasberry ripple in the server room...

Sy UK
 
Hi Si, which version of Solaris. I have read something before about soft partitioning available in Solaris 9/10 (I think), but have never used it. Might be worth a search here or through Google?

I want to be good, is that not enough?
 
thanks Ken.. will take a look and post results..

ps excuse the rasberry ripple bit was collegue using my login thought it would be funny to make me sound like a geek ;-)


Sy UK
 
As Ken mentioned soft partitioning is the way to go, instead of using disk slices you can use the entire disk to create a logical volume on which you can create as many partitions as you want.
 
don't you still need a slice for the metadb's though?
 
metainit d0 -p -e .... command would use the entire disk for the soft partition ( you also have to specify the size to be used) and will use slice 0 for the partition and it also creates a small slice on 7 for the metadbs.
 
i love it when I learn something new!!!

did not know that was possible.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top