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