Help with replacing hdisk1

Tags
aix, hdisk

 
Thread Tools Search this Thread
# 1  
Old 09-25-2018
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  
Old 09-25-2018
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:
rbatte1 (09-26-2018)

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

More UNIX and Linux Forum Topics You Might Find Helpful
Replacing a string Pradeep_1990 Shell Programming and Scripting 3 03-19-2014 11:52 AM
sed not replacing katakamvivek Shell Programming and Scripting 2 10-10-2013 08:39 AM
Change lv REGION in HDISK1 thecobra151 AIX 8 01-17-2013 03:26 PM
replacing pattern bhrat kapoor Shell Programming and Scripting 3 08-19-2011 08:50 AM
Help with replacing string smalode Shell Programming and Scripting 3 08-06-2011 11:20 AM
Replacing in a variable belfastbelle UNIX for Dummies Questions & Answers 3 06-26-2009 10:08 AM
replacing all occurances JamieMurry UNIX for Dummies Questions & Answers 2 04-28-2009 12:06 PM
Replacing \n,\n with , skerit Shell Programming and Scripting 7 12-10-2008 11:56 AM
replacing / to - rudoraj Shell Programming and Scripting 2 12-08-2008 04:03 PM
Disk needs replacing? xramm Solaris 15 04-15-2008 10:11 AM
need help with replacing a certain field... shennanigan83 Shell Programming and Scripting 5 04-09-2008 02:00 AM
Replacing the last character ithirak17 UNIX for Dummies Questions & Answers 2 03-11-2008 11:24 AM
Replacing $ in variable ashish_uiit UNIX for Dummies Questions & Answers 10 02-29-2008 09:29 AM
help in replacing ?? zedex Shell Programming and Scripting 5 08-31-2007 02:45 AM
AIX - create folder in hdisk1 instead lwy2020 AIX 3 01-16-2007 04:56 AM