- 论坛徽章:
- 0
|
一台sun t1000服务器,预装了solaris10,配置完后发现硬盘空间不对,250G硬盘用df看只有10多g,用format看如下,接触solaris时间不长,请教各位高手,如何把剩余空间利用上,会不会破坏现有数据?分区如何规划较好? 操作步骤详细些,万分感谢!
# format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c0t0d0 <ATA-SEAGATEST32502N-SU0D cyl 65533 alt 2 hd 16 sec 465>
/pci@7c0/pci@0/pci@8/scsi@2/sd@0,0
Specify disk (enter its number): 0
selecting c0t0d0
[disk formatted]
Warning: Current Disk has mounted partitions.
/dev/dsk/c0t0d0s0 is currently mounted on /. Please see umount(1M).
/dev/dsk/c0t0d0s1 is currently used by swap. Please see swap(1M).
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
Current partition table (original):
Total disk cylinders available: 65533 + 2 (reserved cylinders)
Part Tag Flag Cylinders Size Blocks
0 root wm 1128 - 5356 15.00GB (4229/0/0) 31463760
1 swap wu 0 - 1127 4.00GB (1128/0/0) 8392320
2 backup wm 0 - 65532 232.49GB (65533/0/0) 487565520
3 unassigned wm 5357 - 9585 15.00GB (4229/0/0) 31463760
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 wm 0 0 (0/0/0) 0 |
|