Hello,
I have a P-series running AIX 5.3 and hdisk1 is failing.
hdisk0 and hdisk1 are mirrored rootvg.
My question is, I have an expansion cabinet that has two disks in it that I believe have never been used. I want to replace hdisk1 with one of the unused disks. (hdisk36 or hdisk37)
How can I make 100% sure these are not in use?
The command at the bottom of this page is lspv and it shows hdisk36 and hdisk37, they are not in a vg and I think are just disks that have never been used.
Dear All,
I have two h.disks.
Please advice for how to create a new folder/directory in hdisk1 instead of the hdisk0? I need to use the folder to store for xmlfiles for my application accessing to read it.
Thank a lots.
Best Regards,
Tom (3 Replies)
hi all
i have input file like this abc.txt
filename.out:
<TAB>ABC<TAB>9
<TAB>AKC<TAB>1
filename1.out:
<TAB>XYZ<TAB>1
<TAB>XYN<TAB>4
and i am trying to replace \n\t with \t so that output will be like this:
filename.out:<TAB>ABC<TAB>9<TAB>AKC<TAB>1... (5 Replies)
its again sed question. i have line -
sed "s/$old/$new/g" "$f" > $TFILE && mv $TFILE "$f"
working well if
old="myoldfile"
new="mynewfile"
but if i want
old="/home/shailesh/1test/"
new="/home/shailesh/workspace/"
it gives error like
sed: -e expression #1, char 9: unknown option to... (2 Replies)
Hi all,
I wanted to replace one word with another word pl help me to solve the same.
example:-
I wanted to replace RXOTX with RXOTRX in a perticuler file with hole.
Regards,
Ramesh (2 Replies)
Hi All,
I have a file which is delimeted with the character '. i need to replace this character with the same character and also a new line.
Can anyone please help me with the tr command for this.
Many thanks
Karan (11 Replies)
Hi All,
example data.log
526569346 66815531961 09
526569346 66815531961 09
526569346 66815531961 09
526569346 66815531961 09
526569346 66815531961 09
I want like this to
526569346|66815531961|09
526569346|66815531961|09... (4 Replies)
Hi,
i am running a shell script where i have assigned a variable to the value passed.
so my variable is
var1="investment/portfolio/run.job"
now i want to assign another variable var2 as
"investment-portfolio-run.out"
how can i do it using awk or something else....
thanks (2 Replies)
Hi everyone,
I've read lots of posts about tr and sed and such, I haven't been able to get out of this one.
I have a file, like this:
1
,
Jelle
2
,
SandraThe only thing it needs to do is delete the enter between the number and the name.
So, it needs to replace \n,\n with ,
... (7 Replies)
Hi ,
I have a file ...it's like a xml file.
File 1:
<tag1> Value11</tag1><tag2>value12</tag2>
<tag1>Value21</tag1>
...... Continues
Now what I want as output is
Value11|value12
Value21||
......Continues
This is just learning purpose. I tried reading each line, then parsing... (14 Replies)
Dears my rootvg is missed up i can not extend the /opt
as soon as i try to extend the Filesystem its give me that there is not enough space .
as there any way to change the REGION of the LVs in HDISK1 ?
lspv -p hdisk0
hdisk0:
PP RANGE STATE REGION LV NAME TYPE ... (8 Replies)