Guys,
Thanks for all the help - following the above steps, we completed the work (and went to the pub afterwards...!). The problem was with a rootvg mirror issue and a failed disk (probably not helped by a predecessor incorrectly removing a disk several times...)
Hi,
Could somebody please tell me what permissions they have on their /usr direcory, mine is currently
drwxr-xr-x 31 ipsec 60 1024 04 Dec 2002 /usr
which is obviously a previous persons error...
sorry but....
# awk 'BEGIN{RS=""}/emergency/' /lb/db/file.ral | grep "^${DATE}"
+ awk BEGIN{RS=""}/emergency/ /lb/db/file.ral
+ grep ^Fri Jan 13
awk: 0602-534 Input line Mon Sep 19 19:09:49 cannot be longer than 10,239 bytes
.
The input line number is 580. The file is /lb/db/file.ral.
The...
Thanks for that but now getting this... Any ideas?
echo $DATE
+ echo Jan 13
Jan 13
# grep -p "emergency" /lb/db/file.ral | egrep "^${DATE}"
+ grep -p emergency /lb/db/file.ral
+ egrep ^Jan 13
/lbprod/db/file.ral: 0652-034 The maximum paragraph length is 10,000 bytes.
/lbprod/db/file.ral...
Afternoon all,
Once I have found the entries with the "emergency" string in them, how would I just select the ones for today and then echo a staement if found?
Any help greatly appreciated...
Hi All,
Any ideas on how to output several lines below or above (or both) when searching for a string in a ASCII file please?
Example below,
---
Thu Nov 24 07:45:36 2005 hdgej
hdgej: New journal file opened.
hdgej: /lbtest/db/file.test.out lgdmn: version 1, sequence 5111, volume 1...
absolutely right! two mksysb's are in order for this one!
# lsattr -l hdisk0 -E
pvid 0006bb1fbf7c03070000000000000000 Physical volume identifier False
queue_depth 3 Queue DEPTH False
size_in_mb 9100 Size in...
just for additional info it seems that I would need to reduce the vg before updating with new disk?
# lsvg -p rootvg
rootvg:
PV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTION
hdisk0 active 542 225 107..00..00..09..109
hdisk1...
Hi Mike,
Thanks for your response,
before running command, should there not be concern that hdisk1, hdisk5, and hdisk6 all point to same scsi device
# lsdev -Cc disk
hdisk0 Available 10-60-00-4,0 16 Bit LVD SCSI Disk Drive
hdisk1 Defined 10-60-00-5,0 16 Bit LVD SCSI Disk Drive
hdisk2...
Hi,
I am currently having issue in that I have been appointed as System Manager for a 2 week period to address some issues that have become apparent on an RS/6000 Model 144P.
It seems that at some stage, a previous admin has swapped out a disk without updating the system correctly. These are...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.