- 论坛徽章:
- 0
|
df -k 显示有一个硬盘的数据错误。
# format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c1t1d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>;
/pci@8,600000/SUNW,qlc@4/fp@0,0/ssd@w500000e010304a21,0
1. c2t1d0 <SEAGATE-ST373405LW-0001 cyl 29523 alt 2 hd 8 sec 607>;
/pci@8,700000/scsi@6,1/sd@1,0
2. c2t2d0 <SEAGATE-ST373405LW-0001 cyl 29523 alt 2 hd 8 sec 607>;
/pci@8,700000/scsi@6,1/sd@2,0
3. c2t3d0 <SEAGATE-ST373405LW-0001 cyl 29523 alt 2 hd 8 sec 607>;
/pci@8,700000/scsi@6,1/sd@3,0
4. c2t4d0 <SEAGATE-ST373405LW-0001 cyl 29523 alt 2 hd 8 sec 607>;
/pci@8,700000/scsi@6,1/sd@4,0
5. c2t6d0 <SEAGATE-ST1181677LWV-0002 cyl 24179 alt 2 hd 24 sec 611>;
/pci@8,700000/scsi@6,1/sd@6,0
Specify disk (enter its number): 5
selecting c2t6d0
[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
!<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: 24179 + 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 - 24178 169.07GB (24179/0/0) 354560856
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 - 24178 169.07GB (24179/0/0) 354560856
7 unassigned wm 0 0 (0/0/0) 0
partition>; q
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>; q
# df -k
Filesystem kbytes used avail capacity Mounted on
/dev/dsk/c1t1d0s0 10327372 7910336 2313763 78% /
/proc 0 0 0 0% /proc
fd 0 0 0 0% /dev/fd
mnttab 0 0 0 0% /etc/mnttab
swap 3369928 24 3369904 1% /var/run
swap 3370312 408 3369904 1% /tmp
/dev/dsk/c1t1d0s7 57673790 31737311 25359742 56% /home2
/dev/dsk/c2t1d0s2 70586735 14988718 54892150 22% /home1
/dev/dsk/c2t3d0s3 64388832 57983063 5761881 91% /home4
/dev/dsk/c2t4d0s2 70586735 62842912 7037956 90% /home3
E880:/data01 914348120 879936080 25268560 98% /data01
/dev/dsk/c2t6d0s6 174604429 18446744073195339824 687070177 10671593439448% /disk5
/dev/dsk/c2t2d0s2 70586735 25876166 44004702 38% /space
# more /etc/vfstab
#device device mount FS fsck mount mount
#to mount to fsck point type pass at boot options
#
#/dev/dsk/c1d0s2 /dev/rdsk/c1d0s2 /usr ufs 1 yes -
/proc - /proc proc - no -
fd - /dev/fd fd - no -
swap - /tmp tmpfs - yes -
/dev/dsk/c1t1d0s0 /dev/rdsk/c1t1d0s0 / ufs 1 no -
/dev/dsk/c1t1d0s3 - - swap - no -
/dev/dsk/c1t1d0s7 /dev/rdsk/c1t1d0s7 /home2 ufs 1 yes -
/dev/dsk/c1t1d0s1 - - swap - no -
/dev/dsk/c2t1d0s2 /dev/rdsk/c2t1d0s2 /home1 ufs 1 yes -
/dev/dsk/c2t2d0s2 /dev/rdsk/c2t2d0s2 /space ufs 1 yes -
/dev/dsk/c2t3d0s3 /dev/rdsk/c2t3d0s3 /home4 ufs 1 yes -
/dev/dsk/c2t4d0s2 /dev/rdsk/c2t4d0s2 /home3 ufs 1 yes -
##/dev/dsk/c2t0d0s6 /dev/rdsk/c2t0d0s6 /data01 ufs 1 yes -
#/dev/dsk/c2t0d1s6 /dev/rdsk/c2t0d1s6 /data02 ufs 1 yes -
#e2000a:/home8 - /home9 nfs - yes soft,bg
E880:/data01 - /data01 nfs - yes soft,bg
/dev/dsk/c2t6d0s6 /dev/rdsk/c2t6d0s6 /disk5 ufs 1 yes - |
|