1. CPU, Memory에 대한 정보 확인(Ultra 기종인 경우)
# cd /usr/platform/sun4u/sbin
# prtdiag -v
2. HDD에 대한 정보 확인
(반드시 root로 로그인)
# format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c0t0d0
/sbus@1f,0/espdma@e,8400000/esp@e,8800000/sd@0,0
1. c0t1d0
/sbus@1f,0/espdma@e,8400000/esp@e,8800000/sd@1,0
2. c0t3d0
/sbus@1f,0/espdma@e,8400000/esp@e,8800000/sd@3,0
Specify disk (enter its number):0
selecting c0t0d0
[disk formatted]
Warning: Current Disk has mounted partitions.
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
! - execute , 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
! - execute , then return
quit
partition> p
Current partition table (original):
Total disk cylinders available: 4104 + 2 (reserved cylinders)
Part Tag Flag Cylinders Size Blocks
0 root wm 0 - 3582 881.75MB (3583/0/0) 1805832
1 swap wu 3583 - 4103 128.21MB (521/0/0) 262584
2 backup wm 0 - 4103 1009.97MB (4104/0/0) 2068416
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 wm 0 0 (0/0/0) 0
partition>
* Part2(backup)에 나타나는 용량(1009.97MB)이 HDD의 전체 용량이다.
# cd /usr/platform/sun4u/sbin
# prtdiag -v
2. HDD에 대한 정보 확인
(반드시 root로 로그인)
# format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c0t0d0
/sbus@1f,0/espdma@e,8400000/esp@e,8800000/sd@0,0
1. c0t1d0
/sbus@1f,0/espdma@e,8400000/esp@e,8800000/sd@1,0
2. c0t3d0
/sbus@1f,0/espdma@e,8400000/esp@e,8800000/sd@3,0
Specify disk (enter its number):0
selecting c0t0d0
[disk formatted]
Warning: Current Disk has mounted partitions.
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
! - execute , 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
! - execute , then return
quit
partition> p
Current partition table (original):
Total disk cylinders available: 4104 + 2 (reserved cylinders)
Part Tag Flag Cylinders Size Blocks
0 root wm 0 - 3582 881.75MB (3583/0/0) 1805832
1 swap wu 3583 - 4103 128.21MB (521/0/0) 262584
2 backup wm 0 - 4103 1009.97MB (4104/0/0) 2068416
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 wm 0 0 (0/0/0) 0
partition>
* Part2(backup)에 나타나는 용량(1009.97MB)이 HDD의 전체 용량이다.