![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems . |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| how to increase size of the root partition | pshelke | SUN Solaris | 6 | 08-15-2008 09:10 AM |
| Partition size calculations | Stin | SUN Solaris | 1 | 03-08-2008 05:27 AM |
| Amend the size of a Partition Error | drchris | SUN Solaris | 2 | 02-25-2008 02:58 AM |
| Increasing size of Root Partition | asadlone | SUN Solaris | 7 | 11-23-2007 08:18 AM |
| vol group - physical partition size | kburrows | UNIX for Dummies Questions & Answers | 4 | 10-11-2002 07:56 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
inrease partition size
hi,
i created a partition c1t0d0s5 sized 10gb and a soft partition on it. now i want to expand this size to 15gb (my hard disk is 36gb). anybody show me the way to do that, please. here are the outputs of the df and format commands: Code:
# df -h Filesystem size used avail capacity Mounted on /dev/md/dsk/d0 9.6G 3.4G 6.1G 36% / /proc 0K 0K 0K 0% /proc mnttab 0K 0K 0K 0% /etc/mnttab fd 0K 0K 0K 0% /dev/fd swap 2.3G 40K 2.3G 1% /var/run swap 2.3G 0K 2.3G 0% /tmp /dev/md/dsk/d25 5.2G 224M 4.5G 5% /globalfs /dev/md/dsk/d26 10.0G 9.1G 900M 92% /u01 # Code:
# format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c1t0d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107> os
/pci@1c,600000/scsi@2/sd@0,0
Specify disk (enter its number): 0
selecting c1t0d0: os
[disk formatted]
FORMAT MENU:
disk - select a disk
type - select (define) a disk type
partition - select (define) a partition table
current - describe the current disk
format - format and analyze the disk
repair - repair a defective sector
label - write label to the disk
analyze - surface analysis
defect - defect list management
backup - search for backup labels
verify - read and display labels
save - save new disk/partition definitions
inquiry - show vendor, product and revision
volname - set 8-character volume name
!<cmd> - execute <cmd>, then return
quit
format> p
PARTITION MENU:
0 - change `0' partition
1 - change `1' partition
2 - change `2' partition
3 - change `3' partition
4 - change `4' partition
5 - change `5' partition
6 - change `6' partition
7 - change `7' partition
select - select a predefined table
modify - modify a predefined partition table
name - name the current table
print - display the current table
label - write partition map and label to the disk
!<cmd> - execute <cmd>, then return
quit
partition> p
Volume: os
Current partition table (original):
Total disk cylinders available: 24620 + 2 (reserved cylinders)
Part Tag Flag Cylinders Size Blocks
0 root wm 17531 - 24619 9.77GB (7089/0/0) 20480121
1 swap wu 0 - 1088 1.50GB (1089/0/0) 3146121
2 backup wm 0 - 24619 33.92GB (24620/0/0) 71127180
3 unassigned wm 1125 - 1266 200.31MB (142/0/0) 410238
4 unassigned wm 1267 - 4896 5.00GB (3630/0/0) 10487070
5 unassigned wm 4897 - 12156 10.00GB (7260/0/0) 20974140
6 unassigned wm 0 0 (0/0/0) 0
7 unassigned wm 1089 - 1124 50.78MB (36/0/0) 104004
partition>
thanks so much xuxi |
| Forum Sponsor | ||
|
|
|
||||
|
oops sorry,
I posted my format output but I didn't post the partition layout of the logical drive, so you can see that we use the whole disk. Here it is. This is disk 3 in the format output which is d80 - d87, slice 7 is used for the metadb Code:
Total disk cylinders available: 65533 + 2 (reserved cylinders)
Part Tag Flag Cylinders Size Blocks
0 unassigned wm 1 - 65532 953.94GB (65532/0/0) 2000560896
1 unassigned wm 0 0 (0/0/0) 0
2 unassigned wm 0 0 (0/0/0) 0
3 unassigned wm 0 0 (0/0/0) 0
4 unassigned wm 0 0 (0/0/0) 0
5 unassigned wm 0 0 (0/0/0) 0
6 unassigned wm 0 0 (0/0/0) 0
7 unassigned wu 0 - 0 14.91MB (1/0/0) 30528
# metadb
flags first blk block count
a m p luo 16 1034 /dev/dsk/c1t0d0s7
a p luo 1050 1034 /dev/dsk/c1t0d0s7
a p luo 2084 1034 /dev/dsk/c1t0d0s7
a p luo 16 1034 /dev/dsk/c1t1d0s7
a p luo 1050 1034 /dev/dsk/c1t1d0s7
a p luo 2084 1034 /dev/dsk/c1t1d0s7
a p luo 16 1034 /dev/dsk/c2t600C0FF000000000086A4C44AC0B8600d0s7
a p luo 16 1034 /dev/dsk/c2t600C0FF000000000086A4C498D854200d0s7
#
|
||||
| Google The UNIX and Linux Forums |