Has anyone used the getTgtRsrc command successfully? This is a command found on NIM servers that can be used to query a managed system's vio servers through the managed system's HMC to get information about the resources on the vio servers.
I am using this syntax:
./getTgtRsrc -hmc <name of...
I am having problems with rootvg. When trying to do anything with LVM, I get allocp errors. OS level is 5.3 TL4 SP3.
The most revealing error I received was when I was trying to do a migratepv on one of the LVs. These are the errors:
# migratepv -l hd3 hdisk0 hdisk4
0516-408 allocp: Illegal...
Has anyone ever used the multibos utility in AIX 5.3 TL3 or higher? I'm trying to use it and keep getting this error:
0645-007 ATTENTION: mb_init_vars() returned an unexpected result.
I haven't seen anyone mention this here. After one of our vendors whose application uses a lot of Java said they had never heard of these changes, I thought I'd post this.
Daylight savings time in the U.S. will start March 11 and end Nov. 4. In the past, DST started the first Sunday in April...
We have two paging spaces: hd6 and paging00. hd6 got up to 100% used. paging00 got up to 73% used. hd6 was one physical partition short of our standard of 2 GB. (The system has 2GB real memory and we allocate double the amount of memory for paging space. hd6 should have had 2 GB and paging had 2...
We are doing an alt_disk_install on a 5.1 32-bit system. We want to have a 64-bit system with JFS2 filesystems when we boot to the new OS level.
Is this possible without having to boot a second time to make it a 64-bit kernel?
I am trying to do an alt_disk_install (migration) of a 4.3.3 system to 5.1 ML 07. The original OS disks (hdisk0 and hdisk1) were only 4 GB and couldn't hold much more data, so we had to add two 18 GB disks to the system. I mirrored the OS to one of the 18 GB disks, did a bosboot -ad hdisk2...
We installed a p520 using a mksysb from a 6C1 (yes, I know we shouldn't have done it that way). Now when I run a cfgmgr, the system complains that a device package isn't installed:
# cfgmgr
cfgmgr: 0514-621 WARNING: The following device packages are required for
device support but are...
I'm trying to do a mksysb to a dedicated filesystem in rootvg. The command smit issues is:
/usr/bin/mksysb '-e' '-i' /mksysb
The return I get is:
Creating information file (/image.data) for rootvg..
Creating list of files to back up.
Backing up 63894 files
backup: 0511-089 Cannot open...
Is there an easy way to move the current syslog file to a new file and create a new syslog file every time the system boots? HP does this on every boot. Sun does it once the messages file gets to a certain size (or maybe it's age). But AIX's syslog just gets bigger and bigger. I'd like it to be...
Does anyone know if there is a Redbook or other IBM doc that gives a list of system defaults (for just about everything: filesystem size, kernel, schedtune, vmtune settings, etc.) for an "out of the box" AIX systems, version 5.2? Unfortunately, I'm not at a place where I have a sand box where I...
I have a 22 page document (so far) that has lots of footnotes -- about 86 footnotes so far. I have run into a problem with the footnotes beginning at footnote 59. Here is how the number is:
50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 70, 71, 72, 73, etc.
I...
Is there any way to export a bunch of notes in Outlook Notes to a text file? Or am I going to have to open each one up, copy it and paste it into a Word file?
My company has received an E4500 back from a customer, who wiped the two internal disks. I am now trying to install a new operating system on those disks and got to an error message saying the disks were disconnected.
The board that holds the disks has an amber light on the side where the disks...
I have a couple of E4500s that each have 6 MB of memory each. More memory might be added later.
Each have 2 internal disks that are 9.1 GB each. There is no OS on the systems and I am not sure which version will be required (7, 8 or 9). They will be connected to disk arrays that will hold...
One of our HP systems is missing its vmunix file from /stand.
/stand has system, vmunix.prev and system.prev. /stand/build has vmunix_test.
It appears someone was trying to manually rebuild the kernel and didn't quite finish. there also is a file named .update_ux in /stand which has one line...
My scripting abilities are limited. I'm trying to learn. I am grateful for any ideas and help.
I have a group of files (file1.num, file2.num, etc.) that have numbers in them that I need to add and send the total for each individual file to a particular line in another file (file1.num.total...
What is the sed or awk command to delete the last two character of the last line in a file? There are about 60+ files I have to do this to. The last two characters are always the same: ||
Thanks for any help.
I know to append text at the end of a file, you can use echo "text text" >> file
What if I want the new text to be placed at the beginning of the file, rather than the end?
Can someone tell me why the following line works when it is in a separate sed script, but doesn't when the line is part of a larger script?The script is called with the command:
sed -f sedscr input > output
And this is the line that works as I want it to:
s/ VARCHAR2(3)/,3,' '\)\|\|/
But if...
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.