# Help with replacing hdisk1

**URL:** <https://community.unix.com/t/help-with-replacing-hdisk1/373813>\
**Category:** AIX\
**Created:** [September 25, 2018, 7:45am UTC](https://community.unix.com/t/help-with-replacing-hdisk1/373813 "2018-09-25T07:45:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![DanCampbell](https://community.unix.com/letter_avatar/dancampbell/32/6_449c533f586939b6e5f246632a46421f.png) [@DanCampbell](https://community.unix.com/u/DanCampbell)\
**Post date:** [September 25, 2018, 7:45am UTC](https://community.unix.com/t/help-with-replacing-hdisk1/373813/1 "2018-09-25T07:45:23Z")

</div>

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

```nohighlight

  

(root@pwc1)/# errpt
  

IDENTIFIER TIMESTAMP T C RESOURCE_NAME DESCRIPTION
  

8647C4E2 0916113118 P H hdisk1 DISK OPERATION ERROR

(root@pwc1)/# lsvg
rootvg
app1vg

  

(root@pwc1)/# lsvg -p rootvg
rootvg:
 

PV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTION

hdisk0 active 546 393 85..56..46..105..101

hdisk1 missing 546 409 93..97..05..105..109

  

(root@pwc1)/# lsvg -l rootvg
  

rootvg:
  

LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
  

hd5 boot 1 2 2 closed/stale N/A
  

hd6 paging 32 64 2 open/stale N/A
  

hd8 jfslog 1 2 2 open/stale N/A
  

hd4 jfs 26 52 2 open/stale /
  

hd2 jfs 25 50 2 open/stale /usr
  

hd9var jfs 11 22 2 open/stale /var
  

hd3 jfs 10 20 2 open/stale /tmp
  

hd1 jfs 10 20 2 open/stale /home
  

hd7 sysdump 8 8 1 open/syncd N/A
  

perfmgr jfs 1 2 2 open/stale /var/adm/perfmgr
  

mkcdlv jfs 16 32 2 open/stale /mkcd
  

locallv jfs 4 8 2 open/stale /usr/local
  

hd71 sysdump 8 8 1 open/syncd N/A
  

(root@pwc1)/#
  

  

(root@pwc1)/# lspv
  

hdisk0 00067f6c4cef93b1 rootvg active
  

hdisk1 00067f6c8a77c92a rootvg active
  

hdisk2 none None
  

hdisk3 none None
  

hdisk4 00067f9c96cff3dc None
  

hdisk5 none None
  

hdisk6 none None
  

hdisk7 none None
  

hdisk8 none None
  

hdisk9 none None
  

hdisk10 none None
  

hdisk11 00067f6c96f47dea app1vg active
  

hdisk12 00067f6c96f47e26 app1vg active
  

hdisk13 00067f6c96f47e67 app1vg active
  

hdisk14 00067f6c96f47ea3 app1vg active
  

hdisk15 00067f6c96f47edf app1vg active
  

hdisk16 00067f6c96f47f1a app1vg active
  

hdisk17 00067f6c96f47f57 app1vg active
  

hdisk18 00067f6c96f47f95 app1vg active
  

hdisk19 00067f6c96f47fd2 app1vg active
  

hdisk20 00067f6c96f4800f app1vg active
  

hdisk21 00067f6c97a60b5d app1vg active
  

hdisk22 00067f6c97a60b27 app1vg active
  

hdisk23 00067f6c97a60af0 app1vg active
  

hdisk24 00067f6c97a60aba app1vg active
  

hdisk25 00067f6c97a60a84 app1vg active
  

hdisk26 00067f6c97a60a4d None
  

hdisk27 00067f6c97a60a10 None
  

hdisk28 00067f6c97a609da None
  

hdisk29 00067f6c97a609a0 None
  

hdisk30 00067f6c97a60969 None
  

hdisk31 00067f6c97a60929 None
  

hdisk32 00067f6c97cb8d1f None
  

hdisk33 00067f6c97cb8ee1 None
  

hdisk34 00067f6c38fad693 None
  

hdisk35 00067f6c3945629f None
  

hdisk36 00067f6c9f6fedce None
  

hdisk37 00067f6ce56e9b6f None
  

hdisk38 none None
  

hdisk39 none None
  

hdisk40 none None
  

hdisk41 none None
  

hdisk42 none None
  

hdisk43 none None
  

(root@pwc1)/#
  

  

```

---

<div class="post-metadata">

**Author:** ![Neo](https://community.unix.com/user_avatar/community.unix.com/neo/32/22838_2.png) [@Neo](https://community.unix.com/u/Neo)\
**Post date:** [September 25, 2018, 11:00am UTC](https://community.unix.com/t/help-with-replacing-hdisk1/373813/2 "2018-09-25T11:00:11Z")

</div>

Moderator comments were removed during original forum migration.
