- 论坛徽章:
- 0
|
新买的硬盘坏了一块,换了一个感觉不像是新的
单用户起来后
# format
Searching for disks...WARNING: /pci@1c,600000/scsi@2/sd@0,0 (sd3):
Corrupt label; wrong magic number
WARNING: /pci@1c,600000/scsi@2/sd@0,0 (sd3):
Corrupt label; wrong magic number
done
c0t0d0: configured with capacity of 136.73GB
AVAILABLE DISK SELECTIONS:
0. c0t0d0 <SEAGATE-ST3146707LC-D704 cyl 44304 alt 2 hd 8 sec 809>
/pci@1c,600000/scsi@2/sd@0,0
Specify disk (enter its number):
selecting c0t0d0
[disk formatted]
WARNING: /pci@1c,600000/scsi@2/sd@0,0 (sd3):
Corrupt label; wrong magic number
Disk not labeled. Label it now? y
WARNING: /pci@1c,600000/scsi@2/sd@0,0 (sd3):
Corrupt label; wrong magic number
WARNING: /pci@1c,600000/scsi@2/sd@0,0 (sd3):
Corrupt label; wrong magic number
WARNING: /pci@1c,600000/scsi@2/sd@0,0 (sd3):
Corrupt label; wrong magic number
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>
# format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c0t0d0 <SEAGATE-ST3146707LC-D704 cyl 44304 alt 2 hd 8 sec 809>
/pci@1c,600000/scsi@2/sd@0,0
Specify disk (enter its number): 0
selecting c0t0d0
[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
Current partition table (original):
Total disk cylinders available: 44304 + 2 (reserved cylinders)
Part Tag Flag Cylinders Size Blocks
0 root wm 0 0 (0/0/0) 0
1 swap wu 0 0 (0/0/0) 0
2 backup wu 0 - 44303 136.73GB (44304/0/0) 286735488
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 usr wm 0 - 44303 136.73GB (44304/0/0) 286735488 7 unassigned wm 0 0 (0/0/0) 0
partition> |
|