The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
resizing partition SCO unix guhzeman UNIX for Advanced & Expert Users 2 09-02-2008 01:43 AM
modify a predefined partition table on Solaris duke0001 UNIX for Advanced & Expert Users 1 03-15-2007 07:41 AM
I've created a partition with GNU Parted, how do I mount the partition? jtp51 UNIX for Dummies Questions & Answers 1 09-18-2006 11:01 AM
recovery partition table from fdisk? motor98 SUN Solaris 2 03-31-2005 09:54 AM
understanding logical partition, physical partition yls177 UNIX for Dummies Questions & Answers 3 11-15-2002 10:49 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 11-09-2006
sriny sriny is offline
Registered User
  
 

Join Date: Oct 2006
Posts: 24
resizing the partition table

Host 1
-------

Part Tag Flag Cylinders Size Blocks
0 root wm 0 - 1911 18.56GB (1912/0/0) 38913024
1 swap wu 1912 - 5434 34.19GB (3523/0/0) 71700096
2 backup wm 0 - 14086 136.71GB (14087/0/0) 286698624
3 usr wm 5435 - 7145 16.60GB (1711/0/0) 34822272
4 unassigned wm 7146 - 8856 16.60GB (1711/0/0) 34822272
5 var wm 8857 - 10768 18.56GB (1912/0/0) 38913024
6 unassigned wm 10769 - 12479 16.60GB (1711/0/0) 34822272
7 home wm 12480 - 14086 15.60GB (1607/0/0) 32705664


Host 2
------
Current partition table (original):
Total disk cylinders available: 14087 + 2 (reserved cylinders)

Part Tag Flag Cylinders Size Blocks
0 root wm 12074 - 14086 19.54GB (2013/0/0) 40968576
1 swap wu 0 - 3220 31.26GB (3221/0/0) 65553792
2 backup wm 0 - 14086 136.71GB (14087/0/0) 286698624
3 usr wm 8300 - 10060 17.09GB (1761/0/0) 35839872
4 unassigned wm 6539 - 8299 17.09GB (1761/0/0) 35839872
5 var wm 10061 - 12073 19.54GB (2013/0/0) 40968576
6 unassigned wm 4778 - 6538 17.09GB (1761/0/0) 35839872
7 home wm 3221 - 4777 15.11GB (1557/0/0) 31688064



Hi,

Is there way to resize the partition tables?
I want to make host 1 exactly same as host2.
This involves decrasing/increasing the size of the partitions.
The above are system disk partitions.
I was asked to build host 1 exactly like Host 2 after I have installed the solaris 9 on Host 1.

Please help me.

Thanks.
Srini
  #2 (permalink)  
Old 11-09-2006
xnightcrawl xnightcrawl is offline
Registered User
  
 

Join Date: Dec 2005
Posts: 35
Reinstall

You will need to reinstall the OS to accomplish your goal. If you resize the slices, it will corrupt the data if it is mounted.
  #3 (permalink)  
Old 11-09-2006
sriny sriny is offline
Registered User
  
 

Join Date: Oct 2006
Posts: 24
How do I do it while installing.
I can re-install..but I need to have exact partitions as Host 2.
Does install allow me to give block/cylinders when I use the custom option as opposed default.
If you see host 2..Swap started with 0-3220 ans so on.
Please help on this.

Thanks.
  #4 (permalink)  
Old 11-10-2006
Tornado's Avatar
Tornado Tornado is offline Forum Advisor  
Registered User
  
 

Join Date: Nov 2006
Location: Melbourne
Posts: 249
Quote:
Originally Posted by sriny
How do I do it while installing.
I can re-install..but I need to have exact partitions as Host 2.
Does install allow me to give block/cylinders when I use the custom option as opposed default.
If you see host 2..Swap started with 0-3220 ans so on.
Please help on this.

Thanks.
Yes you can change the layout of your partition table during your install
  #5 (permalink)  
Old 11-10-2006
saini_mw saini_mw is offline
Registered User
  
 

Join Date: Jun 2006
Posts: 6
which OS exactly are you on???

If your OS allows you to use LVM then best option will be to reinstall the distribution and while installing you should use LVM for creating partitions so that in future if you want to change the slice size then you can do it without reinstalling OS.

Regards,

Harinder Singh.
  #6 (permalink)  
Old 11-13-2006
Sowser Sowser is offline
Registered User
  
 

Join Date: Sep 2006
Posts: 90
reinstall

you will need to re-install. partition it out during the install process.

-S
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 10:59 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0