- 论坛徽章:
- 0
|
有丢数据的危险,
因为硬盘表明硬盘盘头的Lable没了,label后的分区表和inode表等无法定位,即数据可能无法定位,
估计也不会有lable的备份和数据的备份,如愿冒险或有备份,可重新lable硬盘:
1。查下记录,搞清你要lable的硬盘,如c0t2d0,
2。启动OS,或用光盘启动,或将该盘拔下插到有OS的机器中,总之用OS的format命令lable硬盘:
# format
Searching for disks...done
c0t2d0: configured with capacity of 33.92GB
AVAILABLE DISK SELECTIONS:
0. c0t1d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
/pci@8,600000/SUNW,qlc@4/fp@0,0/ssd@w21000020378f1b45,0
1. c0t2d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>
/pci@8,600000/SUNW,qlc@4/fp@0,0/ssd@w2100002037e3f1eb,0
Specify disk (enter its number): 1 -------- 选择要lable的硬盘
selecting c0t2d0
[disk formatted]
Disk not labeled. Label it now? y --------- 确定
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 ------------- lable后检查分区
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: 24620 + 2 (reserved cylinders)
Part Tag Flag Cylinders Size Blocks
0 root wm 0 - 90 128.37MB (91/0/0) 262899
1 swap wu 91 - 181 128.37MB (91/0/0) 262899
2 backup wu 0 - 24619 33.92GB (24620/0/0) 71127180
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 182 - 24619 33.67GB (24438/0/0) 70601382
7 unassigned wm 0 0 (0/0/0) 0
partition> |
|