bash-3.00# format
Searching for disks...done
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c1t0d0 <DEFAULT cyl 10440 alt 2 hd 255 sec 63>
/pci@0,0/pci15ad,1976@10/sd@0,0
1. c2t2d0 <DEFAULT cyl 2607 alt 2 hd 255 sec 63>
/iscsi/disk@0000iqn.2011.10.30%3Adisk00001,0
Specify disk (enter its number): 1
selecting c2t2d0
[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
fdisk - run the fdisk program
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: 2607 + 2 (reserved cylinders)
Part Tag Flag Cylinders Size Blocks
0 unassigned wm 0 0 (0/0/0) 0
1 unassigned wm 0 0 (0/0/0) 0
2 backup wu 0 - 2606 19.97GB (2607/0/0) 41881455
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
8 boot wu 0 - 0 7.84MB (1/0/0) 16065
9 unassigned wm 0 0 (0/0/0) 0
0 unassigned wm 0 0 (0/0/0) 0
1 unassigned wm 0 0 (0/0/0) 0
2 backup wu 0 - 2606 19.97GB (2607/0/0) 41881455
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
8 boot wu 0 - 0 7.84MB (1/0/0) 16065
9 unassigned wm 0 0 (0/0/0) 0
partition>
partition> 0
Part Tag Flag Cylinders Size Blocks
0 unassigned wm 0 0 (0/0/0) 0
partition> 0
Part Tag Flag Cylinders Size Blocks
0 unassigned wm 0 0 (0/0/0) 0
Enter partition id tag[unassigned]:
Enter partition permission flags[wm]:
Enter new starting cyl[0]:
Enter partition size[0b, 0c, 0e, 0.00mb, 0.00gb]: 100mb
partition>
partition> p
Current partition table (unnamed):
Total disk cylinders available: 2607 + 2 (reserved cylinders)
Enter partition permission flags[wm]:
Enter new starting cyl[0]:
Enter partition size[0b, 0c, 0e, 0.00mb, 0.00gb]: 100mb
partition>
partition> p
Current partition table (unnamed):
Total disk cylinders available: 2607 + 2 (reserved cylinders)
Part Tag Flag Cylinders Size Blocks
0 unassigned wm 0 - 12 101.98MB (13/0/0) 208845
1 unassigned wm 0 0 (0/0/0) 0
2 backup wu 0 - 2606 19.97GB (2607/0/0) 41881455
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
8 boot wu 0 - 0 7.84MB (1/0/0) 16065
9 unassigned wm 0 0 (0/0/0) 0
0 unassigned wm 0 - 12 101.98MB (13/0/0) 208845
1 unassigned wm 0 0 (0/0/0) 0
2 backup wu 0 - 2606 19.97GB (2607/0/0) 41881455
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
8 boot wu 0 - 0 7.84MB (1/0/0) 16065
9 unassigned wm 0 0 (0/0/0) 0
partition> 1
Part Tag Flag Cylinders Size Blocks
1 unassigned wm 0 0 (0/0/0) 0
Part Tag Flag Cylinders Size Blocks
1 unassigned wm 0 0 (0/0/0) 0
Enter partition id tag[unassigned]:
Enter partition permission flags[wm]:
Enter new starting cyl[0]: 13
Enter partition size[0b, 0c, 13e, 0.00mb, 0.00gb]: 5gb
partition>
partition>
partition> p
Current partition table (unnamed):
Total disk cylinders available: 2607 + 2 (reserved cylinders)
Enter partition permission flags[wm]:
Enter new starting cyl[0]: 13
Enter partition size[0b, 0c, 13e, 0.00mb, 0.00gb]: 5gb
partition>
partition>
partition> p
Current partition table (unnamed):
Total disk cylinders available: 2607 + 2 (reserved cylinders)
Part Tag Flag Cylinders Size Blocks
0 unassigned wm 0 - 12 101.98MB (13/0/0) 208845
1 unassigned wm 13 - 665 5.00GB (653/0/0) 10490445
2 backup wu 0 - 2606 19.97GB (2607/0/0) 41881455
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
8 boot wu 0 - 0 7.84MB (1/0/0) 16065
9 unassigned wm 0 0 (0/0/0) 0
0 unassigned wm 0 - 12 101.98MB (13/0/0) 208845
1 unassigned wm 13 - 665 5.00GB (653/0/0) 10490445
2 backup wu 0 - 2606 19.97GB (2607/0/0) 41881455
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
8 boot wu 0 - 0 7.84MB (1/0/0) 16065
9 unassigned wm 0 0 (0/0/0) 0
partition> 3
Part Tag Flag Cylinders Size Blocks
3 unassigned wm 0 0 (0/0/0) 0
Part Tag Flag Cylinders Size Blocks
3 unassigned wm 0 0 (0/0/0) 0
Enter partition id tag[unassigned]:
Enter partition permission flags[wm]:
Enter new starting cyl[0]: 666
Enter partition size[0b, 0c, 666e, 0.00mb, 0.00gb]: 5gb
partition> p
Current partition table (unnamed):
Total disk cylinders available: 2607 + 2 (reserved cylinders)
Enter partition permission flags[wm]:
Enter new starting cyl[0]: 666
Enter partition size[0b, 0c, 666e, 0.00mb, 0.00gb]: 5gb
partition> p
Current partition table (unnamed):
Total disk cylinders available: 2607 + 2 (reserved cylinders)
Part Tag Flag Cylinders Size Blocks
0 unassigned wm 0 - 12 101.98MB (13/0/0) 208845
1 unassigned wm 13 - 665 5.00GB (653/0/0) 10490445
2 backup wu 0 - 2606 19.97GB (2607/0/0) 41881455
3 unassigned wm 666 - 1318 5.00GB (653/0/0) 10490445
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
8 boot wu 0 - 0 7.84MB (1/0/0) 16065
9 unassigned wm 0 0 (0/0/0) 0
0 unassigned wm 0 - 12 101.98MB (13/0/0) 208845
1 unassigned wm 13 - 665 5.00GB (653/0/0) 10490445
2 backup wu 0 - 2606 19.97GB (2607/0/0) 41881455
3 unassigned wm 666 - 1318 5.00GB (653/0/0) 10490445
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
8 boot wu 0 - 0 7.84MB (1/0/0) 16065
9 unassigned wm 0 0 (0/0/0) 0
partition> 4
Part Tag Flag Cylinders Size Blocks
4 unassigned wm 0 0 (0/0/0) 0
Part Tag Flag Cylinders Size Blocks
4 unassigned wm 0 0 (0/0/0) 0
Enter partition id tag[unassigned]:
Enter partition permission flags[wm]:
Enter new starting cyl[0]: 1319
Enter partition size[0b, 0c, 1319e, 0.00mb, 0.00gb]: 5gb
partition> p
Current partition table (unnamed):
Total disk cylinders available: 2607 + 2 (reserved cylinders)
Enter partition permission flags[wm]:
Enter new starting cyl[0]: 1319
Enter partition size[0b, 0c, 1319e, 0.00mb, 0.00gb]: 5gb
partition> p
Current partition table (unnamed):
Total disk cylinders available: 2607 + 2 (reserved cylinders)
Part Tag Flag Cylinders Size Blocks
0 unassigned wm 0 - 12 101.98MB (13/0/0) 208845
1 unassigned wm 13 - 665 5.00GB (653/0/0) 10490445
2 backup wu 0 - 2606 19.97GB (2607/0/0) 41881455
3 unassigned wm 666 - 1318 5.00GB (653/0/0) 10490445
4 unassigned wm 1319 - 1971 5.00GB (653/0/0) 10490445
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
8 boot wu 0 - 0 7.84MB (1/0/0) 16065
9 unassigned wm 0 0 (0/0/0) 0
0 unassigned wm 0 - 12 101.98MB (13/0/0) 208845
1 unassigned wm 13 - 665 5.00GB (653/0/0) 10490445
2 backup wu 0 - 2606 19.97GB (2607/0/0) 41881455
3 unassigned wm 666 - 1318 5.00GB (653/0/0) 10490445
4 unassigned wm 1319 - 1971 5.00GB (653/0/0) 10490445
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
8 boot wu 0 - 0 7.84MB (1/0/0) 16065
9 unassigned wm 0 0 (0/0/0) 0
partition> 5
Part Tag Flag Cylinders Size Blocks
5 unassigned wm 0 0 (0/0/0) 0
Part Tag Flag Cylinders Size Blocks
5 unassigned wm 0 0 (0/0/0) 0
Enter partition id tag[unassigned]:
Enter partition permission flags[wm]:
Enter new starting cyl[0]: 1972
Enter partition size[0b, 0c, 1972e, 0.00mb, 0.00gb]: 5gb
`5.00gb' is out of range
Enter partition size[0b, 0c, 1972e, 0.00mb, 0.00gb]: 4gb
partition>
partition>
partition> p
Current partition table (unnamed):
Total disk cylinders available: 2607 + 2 (reserved cylinders)
Enter partition permission flags[wm]:
Enter new starting cyl[0]: 1972
Enter partition size[0b, 0c, 1972e, 0.00mb, 0.00gb]: 5gb
`5.00gb' is out of range
Enter partition size[0b, 0c, 1972e, 0.00mb, 0.00gb]: 4gb
partition>
partition>
partition> p
Current partition table (unnamed):
Total disk cylinders available: 2607 + 2 (reserved cylinders)
Part Tag Flag Cylinders Size Blocks
0 unassigned wm 0 - 12 101.98MB (13/0/0) 208845
1 unassigned wm 13 - 665 5.00GB (653/0/0) 10490445
2 backup wu 0 - 2606 19.97GB (2607/0/0) 41881455
3 unassigned wm 666 - 1318 5.00GB (653/0/0) 10490445
4 unassigned wm 1319 - 1971 5.00GB (653/0/0) 10490445
5 unassigned wm 1972 - 2494 4.01GB (523/0/0) 8401995
6 unassigned wm 0 0 (0/0/0) 0
7 unassigned wm 0 0 (0/0/0) 0
8 boot wu 0 - 0 7.84MB (1/0/0) 16065
9 unassigned wm 0 0 (0/0/0) 0
partition>
partition> label
Ready to label disk, continue?
Ready to label disk, continue? yes
0 unassigned wm 0 - 12 101.98MB (13/0/0) 208845
1 unassigned wm 13 - 665 5.00GB (653/0/0) 10490445
2 backup wu 0 - 2606 19.97GB (2607/0/0) 41881455
3 unassigned wm 666 - 1318 5.00GB (653/0/0) 10490445
4 unassigned wm 1319 - 1971 5.00GB (653/0/0) 10490445
5 unassigned wm 1972 - 2494 4.01GB (523/0/0) 8401995
6 unassigned wm 0 0 (0/0/0) 0
7 unassigned wm 0 0 (0/0/0) 0
8 boot wu 0 - 0 7.84MB (1/0/0) 16065
9 unassigned wm 0 0 (0/0/0) 0
partition>
partition> label
Ready to label disk, continue?
Ready to label disk, continue? yes
partition>
partition> p
Current partition table (unnamed):
Total disk cylinders available: 2607 + 2 (reserved cylinders)
partition> p
Current partition table (unnamed):
Total disk cylinders available: 2607 + 2 (reserved cylinders)
Part Tag Flag Cylinders Size Blocks
0 unassigned wm 0 - 12 101.98MB (13/0/0) 208845
1 unassigned wm 13 - 665 5.00GB (653/0/0) 10490445
2 backup wu 0 - 2606 19.97GB (2607/0/0) 41881455
3 unassigned wm 666 - 1318 5.00GB (653/0/0) 10490445
4 unassigned wm 1319 - 1971 5.00GB (653/0/0) 10490445
5 unassigned wm 1972 - 2494 4.01GB (523/0/0) 8401995
6 unassigned wm 0 0 (0/0/0) 0
7 unassigned wm 0 0 (0/0/0) 0
8 boot wu 0 - 0 7.84MB (1/0/0) 16065
9 unassigned wm 0 0 (0/0/0) 0
0 unassigned wm 0 - 12 101.98MB (13/0/0) 208845
1 unassigned wm 13 - 665 5.00GB (653/0/0) 10490445
2 backup wu 0 - 2606 19.97GB (2607/0/0) 41881455
3 unassigned wm 666 - 1318 5.00GB (653/0/0) 10490445
4 unassigned wm 1319 - 1971 5.00GB (653/0/0) 10490445
5 unassigned wm 1972 - 2494 4.01GB (523/0/0) 8401995
6 unassigned wm 0 0 (0/0/0) 0
7 unassigned wm 0 0 (0/0/0) 0
8 boot wu 0 - 0 7.84MB (1/0/0) 16065
9 unassigned wm 0 0 (0/0/0) 0
partition>
partition> quit
partition> quit
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
fdisk - run the fdisk program
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> quit
本文转自 Art_Hero 51CTO博客,原文链接:http://blog.51cto.com/curran/701534,如需转载请自行联系原作者