Help with replacing hdisk1


Login or Register to Reply

 
Thread Tools Search this Thread
# 1  
Help with replacing hdisk1

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.


Thanks in advance for your help.
Dan




Code:
[FONT=Times New Roman][SIZE=3]  
[/SIZE][/FONT]
[FONT=Calibri](root@pwc1)/# errpt[/FONT]
[FONT=Times New Roman][SIZE=3]  
[/SIZE][/FONT]
[FONT=Calibri]IDENTIFIER TIMESTAMP  T C RESOURCE_NAME  DESCRIPTION[/FONT]
[FONT=Times New Roman][SIZE=3]  
[/SIZE][/FONT]
[FONT=Calibri]8647C4E2   0916113118 P H hdisk1         DISK OPERATION ERROR[/FONT]
[FONT=Times New Roman][SIZE=3]
[/SIZE][/FONT]


(root@pwc1)/# lsvg
rootvg
app1vg


[FONT=Times New Roman][SIZE=3]  
[/SIZE][/FONT]
[FONT=Calibri](root@pwc1)/# lsvg -p rootvg[/FONT]
[FONT=Calibri]rootvg:[/FONT]
[FONT=Times New Roman][SIZE=3] 
[/SIZE][/FONT]
[FONT=Calibri]PV_NAME           PV STATE          TOTAL PPs   FREE PPs    FREE DISTRIBUTION[/FONT]
[FONT=Calibri]

[FONT=Calibri]hdisk0            active            546         393         85..56..46..105..101[/FONT]
[FONT=Calibri]

[/FONT][/FONT][FONT=Calibri][FONT=Calibri][B][FONT=Calibri]hdisk1            missing           546         409         93..97..05..105..109[/FONT][/B][/FONT][/FONT]
[FONT=Calibri][FONT=Calibri][/FONT][/FONT]
[FONT=Calibri][FONT=Calibri][/FONT][/FONT]




[FONT=Calibri]



[FONT=Calibri]

[FONT=Times New Roman][SIZE=3]  
[/SIZE][/FONT]
(root@pwc1)/# lsvg -l rootvg
[FONT=Times New Roman][SIZE=3]  
[/SIZE][/FONT]
rootvg:
[FONT=Times New Roman][SIZE=3]  
[/SIZE][/FONT]
LV NAME             TYPE       LPs     PPs     PVs  LV STATE      MOUNT POINT
[FONT=Times New Roman][SIZE=3]  
[/SIZE][/FONT]
hd5                 boot       1       2       2    closed/stale  N/A
[FONT=Times New Roman][SIZE=3]  
[/SIZE][/FONT]
hd6                 paging     32      64      2    open/stale    N/A
[FONT=Times New Roman][SIZE=3]  
[/SIZE][/FONT]
hd8                 jfslog     1       2       2    open/stale    N/A
[FONT=Times New Roman][SIZE=3]  
[/SIZE][/FONT]
hd4                 jfs        26      52      2    open/stale    /
[FONT=Times New Roman][SIZE=3]  
[/SIZE][/FONT]
hd2                 jfs        25      50      2    open/stale    /usr
[FONT=Times New Roman][SIZE=3]  
[/SIZE][/FONT]
hd9var              jfs        11      22      2    open/stale    /var
[FONT=Times New Roman][SIZE=3]  
[/SIZE][/FONT]
hd3                 jfs        10      20      2    open/stale    /tmp
[FONT=Times New Roman][SIZE=3]  
[/SIZE][/FONT]
hd1                 jfs        10      20      2    open/stale    /home
[FONT=Times New Roman][SIZE=3]  
[/SIZE][/FONT]
hd7                 sysdump    8       8       1    open/syncd    N/A
[FONT=Times New Roman][SIZE=3]  
[/SIZE][/FONT]
perfmgr             jfs        1       2       2    open/stale    /var/adm/perfmgr
[FONT=Times New Roman][SIZE=3]  
[/SIZE][/FONT]
mkcdlv              jfs        16      32      2    open/stale    /mkcd
[FONT=Times New Roman][SIZE=3]  
[/SIZE][/FONT]
locallv             jfs        4       8       2    open/stale    /usr/local
[FONT=Times New Roman][SIZE=3]  
[/SIZE][/FONT]
hd71                sysdump    8       8       1    open/syncd    N/A
[FONT=Times New Roman][SIZE=3]  
[/SIZE][/FONT]
(root@pwc1)/#
[FONT=Times New Roman][SIZE=3]  
[/SIZE][/FONT]
[FONT=Times New Roman][SIZE=3]  
[/SIZE][/FONT]
(root@pwc1)/# lspv
[FONT=Times New Roman][SIZE=3]  
[/SIZE][/FONT]
hdisk0          00067f6c4cef93b1                    rootvg          active
[FONT=Times New Roman][SIZE=3]  
[/SIZE][/FONT]
hdisk1          00067f6c8a77c92a                    rootvg          active
[FONT=Times New Roman][SIZE=3]  
[/SIZE][/FONT]
hdisk2          none                                None
[FONT=Times New Roman][SIZE=3]  
[/SIZE][/FONT]
hdisk3          none                                None
[FONT=Times New Roman][SIZE=3]  
[/SIZE][/FONT]
hdisk4          00067f9c96cff3dc                    None
[FONT=Times New Roman][SIZE=3]  
[/SIZE][/FONT]
hdisk5          none                                None
[FONT=Times New Roman][SIZE=3]  
[/SIZE][/FONT]
hdisk6          none                                None
[FONT=Times New Roman][SIZE=3]  
[/SIZE][/FONT]
hdisk7          none                                None
[FONT=Times New Roman][SIZE=3]  
[/SIZE][/FONT]
hdisk8          none                                None
[FONT=Times New Roman][SIZE=3]  
[/SIZE][/FONT]
hdisk9          none                                None
[FONT=Times New Roman][SIZE=3]  
[/SIZE][/FONT]
hdisk10         none                                None
[FONT=Times New Roman][SIZE=3]  
[/SIZE][/FONT]
hdisk11         00067f6c96f47dea                    app1vg          active
[FONT=Times New Roman][SIZE=3]  
[/SIZE][/FONT]
hdisk12         00067f6c96f47e26                    app1vg          active
[FONT=Times New Roman][SIZE=3]  
[/SIZE][/FONT]
hdisk13         00067f6c96f47e67                    app1vg          active
[FONT=Times New Roman][SIZE=3]  
[/SIZE][/FONT]
hdisk14         00067f6c96f47ea3                    app1vg          active
[FONT=Times New Roman][SIZE=3]  
[/SIZE][/FONT]
hdisk15         00067f6c96f47edf                    app1vg          active
[FONT=Times New Roman][SIZE=3]  
[/SIZE][/FONT]
hdisk16         00067f6c96f47f1a                    app1vg          active
[FONT=Times New Roman][SIZE=3]  
[/SIZE][/FONT]
hdisk17         00067f6c96f47f57                    app1vg          active
[FONT=Times New Roman][SIZE=3]  
[/SIZE][/FONT]
hdisk18         00067f6c96f47f95                    app1vg          active
[FONT=Times New Roman][SIZE=3]  
[/SIZE][/FONT]
hdisk19         00067f6c96f47fd2                    app1vg          active
[FONT=Times New Roman][SIZE=3]  
[/SIZE][/FONT]
hdisk20         00067f6c96f4800f                    app1vg          active
[FONT=Times New Roman][SIZE=3]  
[/SIZE][/FONT]
hdisk21         00067f6c97a60b5d                    app1vg          active
[FONT=Times New Roman][SIZE=3]  
[/SIZE][/FONT]
hdisk22         00067f6c97a60b27                    app1vg          active
[FONT=Times New Roman][SIZE=3]  
[/SIZE][/FONT]
hdisk23         00067f6c97a60af0                    app1vg          active
[FONT=Times New Roman][SIZE=3]  
[/SIZE][/FONT]
hdisk24         00067f6c97a60aba                    app1vg          active
[FONT=Times New Roman][SIZE=3]  
[/SIZE][/FONT]
hdisk25         00067f6c97a60a84                    app1vg          active
[FONT=Times New Roman][SIZE=3]  
[/SIZE][/FONT]
hdisk26         00067f6c97a60a4d                    None
[FONT=Times New Roman][SIZE=3]  
[/SIZE][/FONT]
hdisk27         00067f6c97a60a10                    None
[FONT=Times New Roman][SIZE=3]  
[/SIZE][/FONT]
hdisk28         00067f6c97a609da                    None
[FONT=Times New Roman][SIZE=3]  
[/SIZE][/FONT]
hdisk29         00067f6c97a609a0                    None
[FONT=Times New Roman][SIZE=3]  
[/SIZE][/FONT]
hdisk30         00067f6c97a60969                    None
[FONT=Times New Roman][SIZE=3]  
[/SIZE][/FONT]
hdisk31         00067f6c97a60929                    None
[FONT=Times New Roman][SIZE=3]  
[/SIZE][/FONT]
hdisk32         00067f6c97cb8d1f                    None
[FONT=Times New Roman][SIZE=3]  
[/SIZE][/FONT]
hdisk33         00067f6c97cb8ee1                    None
[FONT=Times New Roman][SIZE=3]  
[/SIZE][/FONT]
hdisk34         00067f6c38fad693                    None
[FONT=Times New Roman][SIZE=3]  
[/SIZE][/FONT]
hdisk35         00067f6c3945629f                    None
[FONT=Times New Roman][SIZE=3]  
[/SIZE][/FONT]
hdisk36         00067f6c9f6fedce                    None
[FONT=Times New Roman][SIZE=3]  
[/SIZE][/FONT]
hdisk37         00067f6ce56e9b6f                    None
[FONT=Times New Roman][SIZE=3]  
[/SIZE][/FONT]
hdisk38         none                                None
[FONT=Times New Roman][SIZE=3]  
[/SIZE][/FONT]
hdisk39         none                                None
[FONT=Times New Roman][SIZE=3]  
[/SIZE][/FONT]
hdisk40         none                                None
[FONT=Times New Roman][SIZE=3]  
[/SIZE][/FONT]
hdisk41         none                                None
[FONT=Times New Roman][SIZE=3]  
[/SIZE][/FONT]
hdisk42         none                                None
[FONT=Times New Roman][SIZE=3]  
[/SIZE][/FONT]
hdisk43         none                                None
[FONT=Times New Roman][SIZE=3]  
[/SIZE][/FONT]
(root@pwc1)/#
[FONT=Times New Roman][SIZE=3]  
[/SIZE][/FONT]
[/FONT]



[/FONT]



[FONT=Calibri][FONT=Calibri][/FONT][/FONT]
[FONT=Calibri][FONT=Calibri][/FONT][/FONT]
[FONT=Times New Roman][SIZE=3]  
[/SIZE][/FONT]

# 2  
Moderator's Comments:
Mod Comment Posters should be careful when cutting-and-pasting into a post. In the post above, I wrapped the text posted by DanCampbell in 'no parse' tags, and then wrapped this yet again in code tags. We can easily see it is just a "cut-and-paste" mess; which we cannot take seriously. Thread closed.
This User Gave Thanks to Neo For This Post:
Login or Register to Reply

|
Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
Change lv REGION in HDISK1
thecobra151
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 ...... AIX
8
AIX
Replacing \n,\n with ,
skerit
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 , ...... Shell Programming and Scripting
7
Shell Programming and Scripting
replacing / to -
rudoraj
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... Shell Programming and Scripting
2
Shell Programming and Scripting
help in replacing ??
zedex
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...... Shell Programming and Scripting
5
Shell Programming and Scripting
AIX - create folder in hdisk1 instead
lwy2020
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... AIX
3
AIX