<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Replacing Dead Disk in 'L' class server in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/replacing-dead-disk-in-l-class-server/m-p/5076759#M601352</link>
    <description>@tkc:&lt;BR /&gt;&lt;BR /&gt;Caution with the terms.&lt;BR /&gt;&lt;BR /&gt;The user manual clearly says &lt;BR /&gt;&lt;BR /&gt;"When proper software and hardware procedures are followed, internal disk drives can be removed and&lt;BR /&gt;replaced while the server is running.&lt;BR /&gt;&lt;BR /&gt;The procedures in this section are in two parts, a HotSwap Software Procedure and a HotPlug Hardware Procedure, for removing the disk from the server."&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;there is no need to reboot.&lt;BR /&gt;It is NOT a hot-swap in terms of "plug'n'play" (compared to a hardware RAID controller) - you need to interact with software commands (as mentioned above).&lt;BR /&gt;&lt;BR /&gt;But it is surely possible to swap the disk while the OS is running.</description>
    <pubDate>Mon, 29 Oct 2007 02:49:00 GMT</pubDate>
    <dc:creator>Torsten.</dc:creator>
    <dc:date>2007-10-29T02:49:00Z</dc:date>
    <item>
      <title>Replacing Dead Disk in 'L' class server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/replacing-dead-disk-in-l-class-server/m-p/5076752#M601345</link>
      <description>Hey All,&lt;BR /&gt;&lt;BR /&gt;Just a quick query about replacing a dead disk in an 'L' Class server that has hot pluggable disks.  &lt;BR /&gt;&lt;BR /&gt;I'm running HP UX on PA-RISC. B.11.11&lt;BR /&gt;&lt;BR /&gt;Here's the #ioscn -fnCdisk output:&lt;BR /&gt;                                       &lt;BR /&gt;Class     I  H/W Path     Driver S/W State   H/W Type     Description       &lt;BR /&gt;=====================================================================       &lt;BR /&gt;disk      0  0/0/1/1.0.0  sdisk CLAIMED     DEVICE       SEAGATE ST39204LC  &lt;BR /&gt;                         /dev/dsk/c1t0d0   /dev/rdsk/c1t0d0                 &lt;BR /&gt;disk      1  0/0/1/1.2.0  sdisk NO_HW       DEVICE       SEAGATE ST336704LC &lt;BR /&gt;                         /dev/dsk/c1t2d0   /dev/rdsk/c1t2d0                 &lt;BR /&gt;disk      2  0/0/2/0.0.0  sdisk CLAIMED     DEVICE       SEAGATE ST39204LC  &lt;BR /&gt;                         /dev/dsk/c2t0d0   /dev/rdsk/c2t0d0                 &lt;BR /&gt;disk      3  0/0/2/0.2.0  sdisk CLAIMED     DEVICE       SEAGATE ST336704LC &lt;BR /&gt;                         /dev/dsk/c2t2d0   /dev/rdsk/c2t2d0                 &lt;BR /&gt;disk      4  0/0/2/1.2.0  sdisk CLAIMED     DEVICE       HP      DVD-ROM 304&lt;BR /&gt;                         /dev/dsk/c3t2d0   /dev/rdsk/c3t2d0    &lt;BR /&gt;&lt;BR /&gt;As you can see, it's dead as a doornail.&lt;BR /&gt;&lt;BR /&gt;Disks 1 and 3 are part of the /dev/vg01 volume group which consists of two disks.  I'm using LVM, VG01 is not a boot volume and all Logical Volumes on /dev/vg01 are mirrored.&lt;BR /&gt;&lt;BR /&gt;By following the 'When good disks go bad' text sent to me by our re-seller i need to:&lt;BR /&gt;&lt;BR /&gt;A&amp;gt; Physically Swap the disk over&lt;BR /&gt;B&amp;gt; vgcfgrestore -n /dev/vg01 /dev/dsk/c1t2d0&lt;BR /&gt;C&amp;gt; vgchange -a y /dev/vg01&lt;BR /&gt;&lt;BR /&gt;Will this suffice?&lt;BR /&gt;&lt;BR /&gt;Do i need to throw in a:&lt;BR /&gt;#vgsync /dev/vg01&lt;BR /&gt;&lt;BR /&gt;For good measure? &lt;BR /&gt;&lt;BR /&gt;Now here's a possible twist.. the disk i'm looking at putting in is not empty, it's a spare disk that was previously serving in another server, so it's NOT empty.&lt;BR /&gt;&lt;BR /&gt;Do i just use the '-F' option on the vgcfgrestore command, or do i lvreduce the mirrored volumes, then vgreduce, then pvcreate and then vgextend followed by lvextend ?&lt;BR /&gt;&lt;BR /&gt;Which way do i go?&lt;BR /&gt;&lt;BR /&gt;Just a quick double check as the person I normally deal with at my re-seller is away for a few days and i want to make sure I understand what i've been informed to do correctly by posting here.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;-John&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 29 Oct 2007 01:28:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/replacing-dead-disk-in-l-class-server/m-p/5076752#M601345</guid>
      <dc:creator>John O'Neill_6</dc:creator>
      <dc:date>2007-10-29T01:28:00Z</dc:date>
    </item>
    <item>
      <title>Re: Replacing Dead Disk in 'L' class server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/replacing-dead-disk-in-l-class-server/m-p/5076753#M601346</link>
      <description>Check if your OS is patched and have the "pvchange -a ..." command available.&lt;BR /&gt;&lt;BR /&gt;How to use this is also written in the manual "when good disks ..."&lt;BR /&gt;&lt;BR /&gt;Even if the disk was used before, I guess "vgcfgrestore ..." should work without "-F" - try.&lt;BR /&gt;&lt;BR /&gt;Normal procedure:&lt;BR /&gt;&lt;BR /&gt;# pvchange -a n /dev/dsk/c1t2d0 &lt;BR /&gt;(swap disk)&lt;BR /&gt;# vgcfgrestore -n /dev/vg01 /dev/rdsk/c1t2d0&lt;BR /&gt;(not the "*r*dsk")&lt;BR /&gt;# pvchange -a y /dev/dsk/c1t2d0 &lt;BR /&gt;# vgchange -a y vg01&lt;BR /&gt;(maybe needed)&lt;BR /&gt;# vgsync vg01&lt;BR /&gt;</description>
      <pubDate>Mon, 29 Oct 2007 01:36:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/replacing-dead-disk-in-l-class-server/m-p/5076753#M601346</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2007-10-29T01:36:03Z</dc:date>
    </item>
    <item>
      <title>Re: Replacing Dead Disk in 'L' class server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/replacing-dead-disk-in-l-class-server/m-p/5076754#M601347</link>
      <description>I have no 'pvchange -a'&lt;BR /&gt;&lt;BR /&gt;Here is the version I have...&lt;BR /&gt;&lt;BR /&gt;SYNOPSIS                                                        &lt;BR /&gt;     /usr/sbin/pvchange [-A autobackup] -s pv_path              &lt;BR /&gt;                                                                &lt;BR /&gt;     /usr/sbin/pvchange [-A autobackup] -S autoswitch pv_path   &lt;BR /&gt;                                                                &lt;BR /&gt;     /usr/sbin/pvchange [-A autobackup] -x extensibility pv_path&lt;BR /&gt;                                                                &lt;BR /&gt;     /usr/sbin/pvchange [-A autobackup] -t IO_timeout pv_path   &lt;BR /&gt;                                                                &lt;BR /&gt;     /usr/sbin/pvchange [-A autobackup] -z sparepv pv_path      &lt;BR /&gt;&lt;BR /&gt;it is an old server that only needs to hang on long enough for our 11.23 2660 Itanium's with hardwar RAID to take over.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 29 Oct 2007 01:54:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/replacing-dead-disk-in-l-class-server/m-p/5076754#M601347</guid>
      <dc:creator>John O'Neill_6</dc:creator>
      <dc:date>2007-10-29T01:54:47Z</dc:date>
    </item>
    <item>
      <title>Re: Replacing Dead Disk in 'L' class server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/replacing-dead-disk-in-l-class-server/m-p/5076755#M601348</link>
      <description>Check with&lt;BR /&gt;&lt;BR /&gt;# vgdisplay -v vg01&lt;BR /&gt;&lt;BR /&gt;if the status is "unavailable" for this disk, it is really dead. Swap the disk, restore the config, vgchange the VG and sync.</description>
      <pubDate>Mon, 29 Oct 2007 01:59:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/replacing-dead-disk-in-l-class-server/m-p/5076755#M601348</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2007-10-29T01:59:26Z</dc:date>
    </item>
    <item>
      <title>Re: Replacing Dead Disk in 'L' class server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/replacing-dead-disk-in-l-class-server/m-p/5076756#M601349</link>
      <description>Hi, &lt;BR /&gt;&lt;BR /&gt;Checked with vgdisplay&lt;BR /&gt;&lt;BR /&gt;   --- Physical volumes ---                   &lt;BR /&gt;   PV Name                     /dev/dsk/c1t2d0&lt;BR /&gt;   PV Status                   unavailable    &lt;BR /&gt;   Total PE                    8681           &lt;BR /&gt;   Free PE                     931            &lt;BR /&gt;   Autoswitch                  On             &lt;BR /&gt;                                              &lt;BR /&gt;   PV Name                     /dev/dsk/c2t2d0&lt;BR /&gt;   PV Status                   available      &lt;BR /&gt;   Total PE                    8681           &lt;BR /&gt;   Free PE                     931            &lt;BR /&gt;   Autoswitch                  On             &lt;BR /&gt;&lt;BR /&gt;Must be totally dead.&lt;BR /&gt;&lt;BR /&gt;Sorry to sound really pedantic, i'm not a veteran sys-admin.&lt;BR /&gt;&lt;BR /&gt;So do I:&lt;BR /&gt;&lt;BR /&gt;A) Remove dead Hard Disk&lt;BR /&gt;B) Plug in new Hard Disk&lt;BR /&gt;C) vgcfgrestore &lt;BR /&gt;D) vgchange &lt;BR /&gt;E) vgsync&lt;BR /&gt;&lt;BR /&gt;?&lt;BR /&gt;&lt;BR /&gt;Thanks for tips, i need baby steps on this hardware stuff.&lt;BR /&gt;&lt;BR /&gt;-John</description>
      <pubDate>Mon, 29 Oct 2007 02:30:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/replacing-dead-disk-in-l-class-server/m-p/5076756#M601349</guid>
      <dc:creator>John O'Neill_6</dc:creator>
      <dc:date>2007-10-29T02:30:40Z</dc:date>
    </item>
    <item>
      <title>Re: Replacing Dead Disk in 'L' class server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/replacing-dead-disk-in-l-class-server/m-p/5076757#M601350</link>
      <description>No problem ;-)&lt;BR /&gt;&lt;BR /&gt;A) Remove dead Hard Disk&lt;BR /&gt;B) Plug in new Hard Disk&lt;BR /&gt;B1) ioscan -fnCdisk&lt;BR /&gt;C) vgcfgrestore &lt;BR /&gt;D) vgchange &lt;BR /&gt;E) vgsync&lt;BR /&gt;&lt;BR /&gt;the hardware path 0/0/1/1.2.0 is written on the chassis - easy to find.</description>
      <pubDate>Mon, 29 Oct 2007 02:34:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/replacing-dead-disk-in-l-class-server/m-p/5076757#M601350</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2007-10-29T02:34:20Z</dc:date>
    </item>
    <item>
      <title>Re: Replacing Dead Disk in 'L' class server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/replacing-dead-disk-in-l-class-server/m-p/5076758#M601351</link>
      <description>hi john, &lt;BR /&gt;&lt;BR /&gt;0/0/1/1.2.0 is an internal disk to the L class server. from what i know, this disk is a hot-pluggable disk and not hot-swappable. the o/s may not be able to detect the replaced disk until it's rebooted. let me know how you go.</description>
      <pubDate>Mon, 29 Oct 2007 02:40:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/replacing-dead-disk-in-l-class-server/m-p/5076758#M601351</guid>
      <dc:creator>tkc</dc:creator>
      <dc:date>2007-10-29T02:40:55Z</dc:date>
    </item>
    <item>
      <title>Re: Replacing Dead Disk in 'L' class server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/replacing-dead-disk-in-l-class-server/m-p/5076759#M601352</link>
      <description>@tkc:&lt;BR /&gt;&lt;BR /&gt;Caution with the terms.&lt;BR /&gt;&lt;BR /&gt;The user manual clearly says &lt;BR /&gt;&lt;BR /&gt;"When proper software and hardware procedures are followed, internal disk drives can be removed and&lt;BR /&gt;replaced while the server is running.&lt;BR /&gt;&lt;BR /&gt;The procedures in this section are in two parts, a HotSwap Software Procedure and a HotPlug Hardware Procedure, for removing the disk from the server."&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;there is no need to reboot.&lt;BR /&gt;It is NOT a hot-swap in terms of "plug'n'play" (compared to a hardware RAID controller) - you need to interact with software commands (as mentioned above).&lt;BR /&gt;&lt;BR /&gt;But it is surely possible to swap the disk while the OS is running.</description>
      <pubDate>Mon, 29 Oct 2007 02:49:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/replacing-dead-disk-in-l-class-server/m-p/5076759#M601352</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2007-10-29T02:49:00Z</dc:date>
    </item>
    <item>
      <title>Re: Replacing Dead Disk in 'L' class server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/replacing-dead-disk-in-l-class-server/m-p/5076760#M601353</link>
      <description>Sorry guys.. now i'm confused, i think i'll just get an HP engineer on site and pay the fee to get a professional to do it.&lt;BR /&gt;&lt;BR /&gt;Do i need to halt the processes running on VG01?? I thought that the whole purpose of this damned mirroring and LVM's and hot pluggable disks was so I could replace a faulty disk WITHOUT having to reboot the damned machine.&lt;BR /&gt;&lt;BR /&gt;Can you please clarify what i need to do or should i just call HP and get them to do it (on a T&amp;amp;M Basis).&lt;BR /&gt;&lt;BR /&gt;-John</description>
      <pubDate>Mon, 29 Oct 2007 17:45:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/replacing-dead-disk-in-l-class-server/m-p/5076760#M601353</guid>
      <dc:creator>John O'Neill_6</dc:creator>
      <dc:date>2007-10-29T17:45:48Z</dc:date>
    </item>
    <item>
      <title>Re: Replacing Dead Disk in 'L' class server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/replacing-dead-disk-in-l-class-server/m-p/5076761#M601354</link>
      <description>Thanks peoples.&lt;BR /&gt;&lt;BR /&gt;All sorted, went really smoothly.&lt;BR /&gt;&lt;BR /&gt;Happy to close this thread.&lt;BR /&gt;&lt;BR /&gt;-John&lt;BR /&gt;</description>
      <pubDate>Tue, 30 Oct 2007 00:50:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/replacing-dead-disk-in-l-class-server/m-p/5076761#M601354</guid>
      <dc:creator>John O'Neill_6</dc:creator>
      <dc:date>2007-10-30T00:50:30Z</dc:date>
    </item>
    <item>
      <title>Re: Replacing Dead Disk in 'L' class server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/replacing-dead-disk-in-l-class-server/m-p/5076762#M601355</link>
      <description>:)</description>
      <pubDate>Tue, 30 Oct 2007 00:51:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/replacing-dead-disk-in-l-class-server/m-p/5076762#M601355</guid>
      <dc:creator>John O'Neill_6</dc:creator>
      <dc:date>2007-10-30T00:51:36Z</dc:date>
    </item>
  </channel>
</rss>

