- 论坛徽章:
- 0
|
如何手工修复(fsck)在磁阵上的文件系统?
启动没有问题。
[hwy@fzimc hwy]$ telnet 10.214.7.1
Trying 10.214.7.1...
Connected to 10.214.7.1.
Escape character is '^]'.
UNIX(r) System V Release 4.0 (fz-zhw02)
login: root
Password:
Last login: Fri May 20 15:19:12 on console
Sun Microsystems Inc. SunOS 5.5.1 Generic May 1996
You have new mail.
#
#
# df -k
Filesystem kbytes used avail capacity Mounted on
/dev/dsk/c0t0d0s0 192799 23927 149602 14% /
/dev/dsk/c0t0d0s6 385615 263495 83560 76% /usr
/proc 0 0 0 0% /proc
fd 0 0 0 0% /dev/fd
/dev/dsk/c0t0d0s4 482023 103106 330717 24% /var
/dev/dsk/c0t0d0s5 482023 367394 66429 85% /opt
swap 758960 56 758904 1% /tmp
/dev/dsk/c0t0d0s7 2025582 590298 1232734 33% /export/home
# vxdg list
NAME STATE ID
rootdg enabled 853835406.1025.fz-zhw02
oradb enabled 865628192.1175.fz-zhw01
# vxprint -l
Disk group: rootdg
Group: rootdg
info: dgid=853835406.1025.fz-zhw02
copies: nconfig=default nlog=default
minors: >;= 0
Disk: c0t0d0s3
info: diskid=853835452.1035.fz-zhw02
assoc: device=c0t0d0s3 type=simple
device: path=/dev/vx/dmp/c0t0d0s3
devinfo: publen=7615 privlen=1024
Disk group: oradb
Group: oradb
info: dgid=865628192.1175.fz-zhw01
copies: nconfig=default nlog=default
minors: >;= 20000
Disk: disk01
info: diskid=865628106.1172.fz-zhw01
assoc: device=c1t0d1s2 type=sliced
flags: autoconfig
device: pubpath=/dev/vx/dmp/c1t0d1s4 privpath=/dev/vx/dmp/c1t0d1s3
devinfo: publen=8378640 privlen=2159
Disk: disk02
info: diskid=865628096.1166.fz-zhw01
assoc: device=c1t0d2s2 type=sliced
flags: autoconfig
device: pubpath=/dev/vx/dmp/c1t0d2s4 privpath=/dev/vx/dmp/c1t0d2s3
devinfo: publen=8378640 privlen=2159
Disk: disk03
info: diskid=865628099.1168.fz-zhw01
assoc: device=c1t0d3s2 type=sliced
flags: autoconfig
device: pubpath=/dev/vx/dmp/c1t0d3s4 privpath=/dev/vx/dmp/c1t0d3s3
devinfo: publen=8378640 privlen=2159
Disk: disk04
info: diskid=865628103.1170.fz-zhw01
assoc: nodevice (last known device: c1t0d4s2)
Disk: disk05
info: diskid=865628089.1162.fz-zhw01
assoc: device=c1t0d0s2 type=sliced
flags: autoconfig
device: pubpath=/dev/vx/dmp/c1t0d0s4 privpath=/dev/vx/dmp/c1t0d0s3
devinfo: publen=8378640 privlen=2159
Disk: disk06
info: diskid=895770590.1289.fz-zhw02
assoc: device=c1t0d5s2 type=sliced
flags: spare autoconfig
device: pubpath=/dev/vx/dmp/c1t0d5s4 privpath=/dev/vx/dmp/c1t0d5s3
devinfo: publen=8378640 privlen=2159
Subdisk: disk01-01
info: disk=disk01 offset=0 len=8378640
assoc: vol=vol01 plex=vol01-01 (column=1 offset=0)
flags: enabled
device: device=c1t0d1s2 path=/dev/vx/dmp/c1t0d1s4 diskdev=127/28
Subdisk: disk02-01
info: disk=disk02 offset=0 len=8378640
assoc: vol=vol01 plex=vol01-01 (column=2 offset=0)
flags: enabled
device: device=c1t0d2s2 path=/dev/vx/dmp/c1t0d2s4 diskdev=127/36
Subdisk: disk03-01
info: disk=disk03 offset=0 len=8378640
assoc: vol=vol01 plex=vol01-01 (column=3 offset=0)
flags: enabled
device: device=c1t0d3s2 path=/dev/vx/dmp/c1t0d3s4 diskdev=127/44
Subdisk: disk04-01
info: disk=disk04 offset=0 len=2160
assoc: vol=vol01 plex=vol01-02 (offset=0)
flags: disabled iofail
device: device=(no device)
Subdisk: disk06-01
info: disk=disk06 offset=0 len=8378640
assoc: vol=vol01 plex=vol01-01 (column=0 offset=0)
flags: enabled
device: device=c1t0d5s2 path=/dev/vx/dmp/c1t0d5s4 diskdev=127/60
Plex: vol01-01
info: len=25135872
type: layout=RAID columns=4 width=32
state: state=ACTIVE kernel=DISABLED io=read-write
assoc: vol=vol01 sd=disk06-01,disk01-01,disk02-01,disk03-01
flags: complete
Plex: vol01-02
info: len=2160
type: layout=CONCAT
state: state=LOG kernel=DISABLED io=read-write
assoc: vol=vol01 sd=disk04-01
flags: raidlog complete nodevice
Volume: vol01
info: len=25131552
type: usetype=raid5
state: state=ACTIVE kernel=DISABLED
assoc: plexes=vol01-01,vol01-02
policies: read=RAID exceptions=NO_OP
flags: closed crashed writecopy writeback
logging: type=RAID5 loglen=1280 serial=0/0 (disabled)
apprecov: seqno=0
device: minor=20000 bdev=110/20000 cdev=110/20000 path=/dev/vx/dsk/oradb/vol01
perms: user=root group=root mode=0600
# vxprint -vt
Disk group: oradb
V NAME USETYPE KSTATE STATE LENGTH READPOL PREFPLEX
v vol01 raid5 DISABLED ACTIVE 25131552 RAID -
# uname
SunOS
# uname -a
SunOS fz-zhw02 5.5.1 Generic_103640-26 sun4u sparc SUNW,Ultra-Enterprise |
|