- 论坛徽章:
- 0
|
昨天一人通宵做数据库月底备份等,同时想扩2个文件系统,结果出现问题如下:
原文件系统/usr和/opt,结果\\\\\\\\
#bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 102400 27449 70329 28% /
/dev/vg00/lvol1 83733 19949 55410 26% /stand
/dev/vg00/lvol8 512000 299961 198913 60% /var
/dev/vg00/lvol7 512000 481572 28530 94% /usr
/dev/vg01/lvol2 1024000 370498 612685 38% /users
/dev/vg00/lvol6 1024000 121586 846577 13% /tmp
/dev/vg00/lvol5 307200 276800 28543 91% /opt
/dev/vg00/lvol4 8192 1118 6637 14% /home
/dev/vg01/lvol0 1024000 829775 182450 82% /bpcs
开始扩:
操作:
1)#shutdown -y 0
、、、、、、、、、、、、、
Transition to run-level 0 is complete.
Wait for transition to run-level S (allow 20 seconds).
Warning: Transition to init state s timed out -- exiting shutdown.
2)hpastp@/ -# who -r
. run-level S Mar 1 01:16 S 1 3
3)hpastp@/ -# mount -a
mount: /dev/vg00/lvol7 is already mounted on /usr
4)hpastp@/ -# bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 102400 27070 70685 28% /
/dev/vg00/lvol7 512000 481572 28530 94% /usr
/dev/vg02/backup 4007201 1654813 1951667 46% /backup
/dev/vg01/lvol2 1024000 370533 612651 38% /users
/dev/vg01/lvol0 1024000 829775 182450 82% /bpcs
/dev/vg00/lvol8 512000 293732 204768 59% /var
/dev/vg00/lvol6 1024000 121593 846570 13% /tmp
/dev/vg00/lvol5 307200 276800 28543 91% /opt
/dev/vg00/lvol4 8192 1118 6637 14% /home
/dev/vg00/lvol1 83733 19949 55410 26% /stand
5)hpastp@/ -# umount /usr
umount: cannot unmount /usr : Device busy
hpastp@/ -# bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 102400 27070 70685 28% /
/dev/vg00/lvol7 512000 481572 28530 94% /usr
/dev/vg02/backup 4007201 1654813 1951667 46% /backup
/dev/vg01/lvol2 1024000 370533 612651 38% /users
/dev/vg01/lvol0 1024000 829775 182450 82% /bpcs
/dev/vg00/lvol8 512000 293732 204768 59% /var
/dev/vg00/lvol6 1024000 121593 846570 13% /tmp
/dev/vg00/lvol5 307200 276800 28543 91% /opt
/dev/vg00/lvol4 8192 1118 6637 14% /home
/dev/vg00/lvol1 83733 19949 55410 26% /stand
7)hpastp@/ -# umount /opt
8)hpastp@/ -# bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 102400 27070 70685 28% /
/dev/vg00/lvol7 512000 481572 28530 94% /usr
/dev/vg02/backup 4007201 1654813 1951667 46% /backup
/dev/vg01/lvol2 1024000 370533 612651 38% /users
/dev/vg01/lvol0 1024000 829775 182450 82% /bpcs
/dev/vg00/lvol8 512000 293732 204768 59% /var
/dev/vg00/lvol6 1024000 121593 846570 13% /tmp
/dev/vg00/lvol4 8192 1118 6637 14% /home
/dev/vg00/lvol1 83733 19949 55410 26% /stand
9)hpastp@/ -# lvextend -L 407 /dev/vg00/lvol5
Warning: rounding up logical volume size to extent boundary at size \"408\" MB.
Logical volume \"/dev/vg00/lvol5\" has been successfully extended.
fail in reading_vgda, nread = -1, btor = 350208.
vgcfgbackup: IO error on Physical Volume device /dev/rdsk/c0t6d0: I/O error
10)hpastp@/ -# extendfs -F vxfs /dev/vg00/lvol5
11)hpastp@/ -# mount /dev/vg00/lvol5 /opt
12)hpastp@/ -# bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 102400 27070 70685 28% /
/dev/vg00/lvol7 512000 481572 28530 94% /usr
/dev/vg02/backup 4007201 1654813 1951667 46% /backup
/dev/vg01/lvol2 1024000 370533 612651 38% /users
/dev/vg01/lvol0 1024000 829775 182450 82% /bpcs
/dev/vg00/lvol8 512000 293732 204768 59% /var
/dev/vg00/lvol6 1024000 121593 846570 13% /tmp
/dev/vg00/lvol4 8192 1118 6637 14% /home
/dev/vg00/lvol1 83733 19949 55410 26% /stand
/dev/vg00/lvol5 417792 276824 132200 68% /opt
13)#init 3
14)hpastp@/bpcs/cron/batchq -# dd if=/dev/rdsk/c0t6d0 of=/dev/null bs=512k
dd read error: I/O error
12+0 records in
12+0 records out
但后来我重起机器后syslog报:Mar 1 02:03:01 hpastp vmunix: DIAGNOSTIC SYSTEM WARNING:
Mar 1 02:03:01 hpastp vmunix: The diagnostic logging facility has started receiving excessive
Mar 1 02:03:01 hpastp vmunix: errors from the I/O subsystem. I/O error entries will be lost
Mar 1 02:03:01 hpastp vmunix: until the cause of the excessive I/O logging is corrected.
Mar 1 02:03:01 hpastp vmunix: If the DEMLOG daemon is not active, use the DIAGSYSTEM command
Mar 1 02:03:01 hpastp vmunix: in SYSDIAG to start it.
Mar 1 02:03:01 hpastp vmunix: If the DEMLOG daemon is active, use the LOGTOOL utility in SYSDIAG
Mar 1 02:03:01 hpastp vmunix: to determine which I/O subsystem is logging excessive errors.
Mar 1 02:03:01 hpastp vmunix: lv_readvgdats: Could not read VGDA 2 header & trailer from disk H/W path 10/0.6.0 (error = 5)
但我再重起机器一次后,一切正常不在报任何错sys.log也正常,
但hpastp@/ -# dd if=/dev/rdsk/c0t6d0 of=/dev/null bs=512k
dd read error: I/O error
12+0 records in
12+0 records out
hpastp@/ -#
这硬盘怎么坏了呢?而且总不在syslog中报,因为上周四还让北京HP工程师确认过syslog没问题,不会是我扩文件系统时引起的,我做的也是正确的呀??
现在好怕老板说我,不知道怎么这么巧???各位高手帮看看,周一还是要保修HP 的,他们周末怎么不上班呢??连个值班的也找不到?这可是我们的系统盘,万一、、、、、 |
|