How to confirm a successful LUN rebuild , after raid 5 Array rebuild. Disk Fail

I've been running a  ESXI 5.5 host  with various linux ,  BSD, and Windows VM's, recently had a Host kernel Panic as a result of SAS drive failure. HP proliant ML 350 G6 with a P410i raid controller, replaced HDA re-ran SMART smart to configure array. Rebuild was successful, C wont boot MBR or start up issues  cant find mboot32 within systlinux . So re-installed ESXI 5.5 to flash drive booted  ESXI from  but cannot mount or scan datastores / or storage ISCSI controller to retrieve or extract VMDKs . 
HELP please!!    
This topic first appeared in the Spiceworks Community

Thanks for your reply. Do you have any idea how to re-initialize the drive? It now seems to be marked as spare(?) and any operations on it are rejected:
> sudo raidutil modify drive --removelocalspare -d 3 -r RS1
Modifying drives...   FAILED.
The drive is in use and is unable to be set unconfigured.
> sudo raidutil modify drive --removeglobalspare -d 3
Modifying drives...   FAILED.
The drive is in use and is unable to be set unconfigured.
> raidutil list status
Apple raidutil version: 1.3.0
General Status: Issues Found
        The volume [R4V1:RS1  [ID: 4]] is degraded.
        The volume [Vol-RS1:RS1  [ID: 4]] is degraded.
        Raidset (RS1) is degraded.
Battery Status: Charged
Controller  #1: Hardware Version 2.00/Firmware E-1.3.2.0
                Write Cache enabled
Volume            Status            Type       Drives       Size  Comments
R4V1              Is Viable         RAID 5     1,2,4      3.23TB  Is Degraded                     
Vol-RS1           Is Viable         RAID 5     1,2,4      2.00TB  Is Degraded 
> raidutil list driveinfo
Drives  Raidset       Size      Flags
Bay #1  RS1             2.00TB   IsMemberOfRAIDSet:RS1 IsReliable
Bay #2  RS1             2.00TB   IsMemberOfRAIDSet:RS1 IsReliable
Bay #3  <none>          2.00TB   IsReliable IsNotAssigned
Bay #4  RS1             2.00TB   IsMemberOfRAIDSet:RS1 IsReliable

Similar Messages

  • Server 2012 R2 Failing to backup after RAID array rebuilt from failed disk

    Event 517, Backup
    The backup operation that started at '‎2015‎-‎03‎-‎12T16:02:47.502634500Z' has failed with following error code '0x807800C5' (There was a failure in preparing the backup image of one of the volumes in the backup set.). Please review the event details for
    a solution, and then rerun the backup operation once the issue is resolved.
    Event 8193, VSS
    Volume Shadow Copy Service error: Unexpected error calling routine IVssAsrWriterBackup::GetDiskComponents.  hr = 0x80042302, A Volume Shadow Copy Service component encountered an unexpected error.
    Check the Application event log for more information.
    Operation:
       OnIdentify event
       Gathering Writer Data
    Context:
       Execution Context: ASR Writer
       Writer Class Id: {be000cbe-11fe-4426-9c58-531aa6355fc4}
       Writer Name: ASR Writer
       Writer Instance ID: {ad4681cd-6bde-4216-8099-f87bc9bd3fa6}
    H:\>vssadmin list writers
    vssadmin 1.1 - Volume Shadow Copy Service administrative command-line tool
    (C) Copyright 2001-2013 Microsoft Corp.
    Writer name: 'Task Scheduler Writer'
       Writer Id: {d61d61c8-d73a-4eee-8cdd-f6f9786b7124}
       Writer Instance Id: {1bddd48e-5052-49db-9b07-b96f96727e6b}
       State: [1] Stable
       Last error: No error
    Writer name: 'VSS Metadata Store Writer'
       Writer Id: {75dfb225-e2e4-4d39-9ac9-ffaff65ddf06}
       Writer Instance Id: {088e7a7d-09a8-4cc6-a609-ad90e75ddc93}
       State: [1] Stable
       Last error: No error
    Writer name: 'Performance Counters Writer'
       Writer Id: {0bada1de-01a9-4625-8278-69e735f39dd2}
       Writer Instance Id: {f0086dda-9efc-47c5-8eb6-a944c3d09381}
       State: [1] Stable
       Last error: No error
    Writer name: 'System Writer'
       Writer Id: {e8132975-6f93-4464-a53e-1050253ae220}
       Writer Instance Id: {e663271b-142e-4b31-b482-0aa9787d0592}
       State: [1] Stable
       Last error: No error
    Writer name: 'FRS Writer'
       Writer Id: {d76f5a28-3092-4589-ba48-2958fb88ce29}
       Writer Instance Id: {a9ae34a1-b8e9-422f-9c4f-95e82d4a8316}
       State: [1] Stable
       Last error: No error
    Writer name: 'ASR Writer'
       Writer Id: {be000cbe-11fe-4426-9c58-531aa6355fc4}
       Writer Instance Id: {52aaaefd-7558-4b43-8099-0cbc17667796}
       State: [1] Stable
       Last error: No error
    Writer name: 'Shadow Copy Optimization Writer'
       Writer Id: {4dc3bdd4-ab48-4d07-adb0-3bee2926fd7f}
       Writer Instance Id: {8cfcc545-ae5f-4a60-9281-506e12d1e3ab}
       State: [1] Stable
       Last error: No error
    Writer name: 'MSSearch Service Writer'
       Writer Id: {cd3f2362-8bef-46c7-9181-d62844cdc0b2}
       Writer Instance Id: {115398ba-3221-4c50-bbfd-b5cd46df8aa1}
       State: [1] Stable
       Last error: No error
    Writer name: 'Dhcp Jet Writer'
       Writer Id: {be9ac81e-3619-421f-920f-4c6fea9e93ad}
       Writer Instance Id: {63e08199-36f9-419b-a014-185a7c07aa39}
       State: [1] Stable
       Last error: No error
    Writer name: 'BITS Writer'
       Writer Id: {4969d978-be47-48b0-b100-f328f07ac1e0}
       Writer Instance Id: {8c0e5c18-65a3-42d3-bd77-051bb960c3f0}
       State: [1] Stable
       Last error: No error
    Writer name: 'Registry Writer'
       Writer Id: {afbab4a2-367d-4d15-a586-71dbb18f8485}
       Writer Instance Id: {ca46429e-b8ba-4ebb-95c4-2b1d4bf8b293}
       State: [1] Stable
       Last error: No error
    Writer name: 'WINS Jet Writer'
       Writer Id: {f08c1483-8407-4a26-8c26-6c267a629741}
       Writer Instance Id: {a41d4bc1-4c5e-4cbe-b5a5-e240802abd4b}
       State: [1] Stable
       Last error: No error
    Writer name: 'COM+ REGDB Writer'
       Writer Id: {542da469-d3e1-473c-9f4f-7847f01fc64f}
       Writer Instance Id: {6136948e-f819-46f7-885d-cf51d7d58f81}
       State: [1] Stable
       Last error: No error
    Writer name: 'WMI Writer'
       Writer Id: {a6ad56c2-b509-4e6c-bb19-49d8f43532f0}
       Writer Instance Id: {2589e581-7557-417a-b574-b7f8122cf9a6}
       State: [1] Stable
       Last error: No error
    Writer name: 'NTDS'
       Writer Id: {b2014c9e-8711-4c5c-a5a9-3cf384484757}
       Writer Instance Id: {b23bc0a3-8194-4156-a7ce-1f07b9bab864}
       State: [1] Stable
       Last error: No error
    H:\>vssadmin list providers
    vssadmin 1.1 - Volume Shadow Copy Service administrative command-line tool
    (C) Copyright 2001-2013 Microsoft Corp.
    Provider name: 'Microsoft File Share Shadow Copy provider'
       Provider type: Fileshare
       Provider Id: {89300202-3cec-4981-9171-19f59559e0f2}
       Version: 1.0.0.1
    Provider name: 'Microsoft Software Shadow Copy provider 1.0'
       Provider type: System
       Provider Id: {b5946137-7b9f-4925-af80-51abd60b20d5}
       Version: 1.0.0.7

    Found some more errors
    Log Name:      Application
    Source:        VSS
    Date:          3/13/2015 11:05:27 AM
    Event ID:      8193
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      Server2.newage.local
    Description:
    Volume Shadow Copy Service error: Unexpected error calling routine IVssAsrWriterBackup::GetDiskComponents.  hr = 0x80042302, A Volume Shadow Copy Service component encountered an unexpected error.
    Check the Application event log for more information.
    Operation:
       OnIdentify event
       Gathering Writer Data
    Context:
       Execution Context: ASR Writer
       Writer Class Id: {be000cbe-11fe-4426-9c58-531aa6355fc4}
       Writer Name: ASR Writer
       Writer Instance ID: {a10a986c-04d6-4967-94fe-e955e938a50f}
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="VSS" />
        <EventID Qualifiers="0">8193</EventID>
        <Level>2</Level>
        <Task>0</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2015-03-13T16:05:27.000000000Z" />
        <EventRecordID>9270</EventRecordID>
        <Channel>Application</Channel>
        <Computer>Server2.newage.local</Computer>
        <Security />
      </System>
      <EventData>
        <Data>IVssAsrWriterBackup::GetDiskComponents</Data>
        <Data>0x80042302, A Volume Shadow Copy Service component encountered an unexpected error.
    Check the Application event log for more information.
    </Data>
        <Data>
    Operation:
       OnIdentify event
       Gathering Writer Data
    Context:
       Execution Context: ASR Writer
       Writer Class Id: {be000cbe-11fe-4426-9c58-531aa6355fc4}
       Writer Name: ASR Writer
       Writer Instance ID: {a10a986c-04d6-4967-94fe-e955e938a50f}</Data>
        <Binary>2D20436F64653A20575254415352574330303030303234332D2043616C6C3A20575254415352574330303030303138332D205049443A202030303030333238302D205449443A202030303030353636302D20434D443A2020433A5C57696E646F77735C73797374656D33325C76737376632E6578652020202D20557365723A204E616D653A204E5420415554484F524954595C53595354454D2C205349443A532D312D352D313820</Binary>
      </EventData>
    </Event>
    Log Name:      Application
    Source:        VSS
    Date:          3/13/2015 11:05:34 AM
    Event ID:      8193
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      Server2.newage.local
    Description:
    Volume Shadow Copy Service error: Unexpected error calling routine IVssAsrWriterBackup::GetDiskComponents.  hr = 0x80042302, A Volume Shadow Copy Service component encountered an unexpected error.
    Check the Application event log for more information.
    Operation:
       OnIdentify event
       Gathering Writer Data
    Context:
       Execution Context: ASR Writer
       Writer Class Id: {be000cbe-11fe-4426-9c58-531aa6355fc4}
       Writer Name: ASR Writer
       Writer Instance ID: {a10a986c-04d6-4967-94fe-e955e938a50f}
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="VSS" />
        <EventID Qualifiers="0">8193</EventID>
        <Level>2</Level>
        <Task>0</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2015-03-13T16:05:34.000000000Z" />
        <EventRecordID>9271</EventRecordID>
        <Channel>Application</Channel>
        <Computer>Server2.newage.local</Computer>
        <Security />
      </System>
      <EventData>
        <Data>IVssAsrWriterBackup::GetDiskComponents</Data>
        <Data>0x80042302, A Volume Shadow Copy Service component encountered an unexpected error.
    Check the Application event log for more information.
    </Data>
        <Data>
    Operation:
       OnIdentify event
       Gathering Writer Data
    Context:
       Execution Context: ASR Writer
       Writer Class Id: {be000cbe-11fe-4426-9c58-531aa6355fc4}
       Writer Name: ASR Writer
       Writer Instance ID: {a10a986c-04d6-4967-94fe-e955e938a50f}</Data>
        <Binary>2D20436F64653A20575254415352574330303030303234332D2043616C6C3A20575254415352574330303030303138332D205049443A202030303030333238302D205449443A202030303030313130342D20434D443A2020433A5C57696E646F77735C73797374656D33325C76737376632E6578652020202D20557365723A204E616D653A204E5420415554484F524954595C53595354454D2C205349443A532D312D352D313820</Binary>
      </EventData>
    </Event>
    Log Name:      Application
    Source:        VSS
    Date:          3/13/2015 11:05:41 AM
    Event ID:      8193
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      Server2.newage.local
    Description:
    Volume Shadow Copy Service error: Unexpected error calling routine Check OnIdentifyError.  hr = 0x80042302, A Volume Shadow Copy Service component encountered an unexpected error.
    Check the Application event log for more information.
    Operation:
       PrepareForBackup event
    Context:
       Execution Context: ASR Writer
       Execution Context: Writer
       Writer Class Id: {be000cbe-11fe-4426-9c58-531aa6355fc4}
       Writer Name: ASR Writer
       Writer Instance ID: {a10a986c-04d6-4967-94fe-e955e938a50f}
    Error-specific details:
       ASR Writer: A Volume Shadow Copy Service component encountered an unexpected error. Check the Application event log for more information. (0x80042302)
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="VSS" />
        <EventID Qualifiers="0">8193</EventID>
        <Level>2</Level>
        <Task>0</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2015-03-13T16:05:41.000000000Z" />
        <EventRecordID>9272</EventRecordID>
        <Channel>Application</Channel>
        <Computer>Server2.newage.local</Computer>
        <Security />
      </System>
      <EventData>
        <Data>Check OnIdentifyError</Data>
        <Data>0x80042302, A Volume Shadow Copy Service component encountered an unexpected error.
    Check the Application event log for more information.
    </Data>
        <Data>
    Operation:
       PrepareForBackup event
    Context:
       Execution Context: ASR Writer
       Execution Context: Writer
       Writer Class Id: {be000cbe-11fe-4426-9c58-531aa6355fc4}
       Writer Name: ASR Writer
       Writer Instance ID: {a10a986c-04d6-4967-94fe-e955e938a50f}
    Error-specific details:
       ASR Writer: A Volume Shadow Copy Service component encountered an unexpected error. Check the Application event log for more information. (0x80042302)</Data>
        <Binary>2D20436F64653A20575254415352574330303030303430312D2043616C6C3A20575254415352574330303030303336362D205049443A202030303030333238302D205449443A202030303030353630342D20434D443A2020433A5C57696E646F77735C73797374656D33325C76737376632E6578652020202D20557365723A204E616D653A204E5420415554484F524954595C53595354454D2C205349443A532D312D352D313820</Binary>
      </EventData>
    </Event>
    Log Name:      Application
    Source:        VSS
    Date:          3/13/2015 11:05:41 AM
    Event ID:      12290
    Task Category: None
    Level:         Warning
    Keywords:      Classic
    User:          N/A
    Computer:      Server2.newage.local
    Description:
    Volume Shadow Copy Service warning: ASR writer Error 0x80042302.  hr = 0x00000000, The operation completed successfully.
    Operation:
       PrepareForBackup event
    Context:
       Execution Context: ASR Writer
       Execution Context: Writer
       Writer Class Id: {be000cbe-11fe-4426-9c58-531aa6355fc4}
       Writer Name: ASR Writer
       Writer Instance ID: {a10a986c-04d6-4967-94fe-e955e938a50f}
    Error-specific details:
       ASR Writer: A Volume Shadow Copy Service component encountered an unexpected error. Check the Application event log for more information. (0x80042302)
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="VSS" />
        <EventID Qualifiers="0">12290</EventID>
        <Level>3</Level>
        <Task>0</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2015-03-13T16:05:41.000000000Z" />
        <EventRecordID>9273</EventRecordID>
        <Channel>Application</Channel>
        <Computer>Server2.newage.local</Computer>
        <Security />
      </System>
      <EventData>
        <Data>ASR writer Error 0x80042302</Data>
        <Data>0x00000000, The operation completed successfully.
    </Data>
        <Data>
    Operation:
       PrepareForBackup event
    Context:
       Execution Context: ASR Writer
       Execution Context: Writer
       Writer Class Id: {be000cbe-11fe-4426-9c58-531aa6355fc4}
       Writer Name: ASR Writer
       Writer Instance ID: {a10a986c-04d6-4967-94fe-e955e938a50f}
    Error-specific details:
       ASR Writer: A Volume Shadow Copy Service component encountered an unexpected error. Check the Application event log for more information. (0x80042302)</Data>
        <Binary>2D20436F64653A20575254415352574330303030303530372D2043616C6C3A20575254415352574330303030303632372D205049443A202030303030333238302D205449443A202030303030353630342D20434D443A2020433A5C57696E646F77735C73797374656D33325C76737376632E6578652020202D20557365723A204E616D653A204E5420415554484F524954595C53595354454D2C205349443A532D312D352D313820</Binary>
      </EventData>
    </Event>
    Log Name:      Application
    Source:        SPP
    Date:          3/13/2015 11:05:41 AM
    Event ID:      16387
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      Server2.newage.local
    Description:
    Writer ASR Writer experienced some error during snapshot creation.  More info: A Volume Shadow Copy Service component encountered an unexpected error. Check the Application event log for more information. (0x80042302).
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="SPP" />
        <EventID Qualifiers="0">16387</EventID>
        <Level>2</Level>
        <Task>0</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2015-03-13T16:05:41.000000000Z" />
        <EventRecordID>9274</EventRecordID>
        <Channel>Application</Channel>
        <Computer>Server2.newage.local</Computer>
        <Security />
      </System>
      <EventData>
        <Data>ASR Writer</Data>
        <Data>A Volume Shadow Copy Service component encountered an unexpected error. Check the Application event log for more information. (0x80042302)</Data>
        <Data>The writer experienced a non-transient error.  If the backup process is retried, the error is likely to reoccur. (0x800423F4)</Data>
        <Data>A Volume Shadow Copy Service component encountered an unexpected error. Check the Application event log for more information. (0x80042302)</Data>
        <Binary>01000000B8120000991200000000000042BEB7C511CAC619E59C92030000000000000000</Binary>
      </EventData>
    </Event>

  • How do i monitor the health of my Raid array?

    First, I want to thank Harm, Bill, and all the countless others who continue to give great advice on this forum.  My question is how to I monitor the health of my raid array and how to determine which disk is acting up.   I am using a 3-disk soft raid 0 off my motherboard (gigabyte ud3p).  Seems to work pretty well but occasionally has a hiccup in certain programs.  I wonder if it is a sign of an impending problem or if it is just because it is a soft raid.  I've tried several HD diagnostics (Crystal Disk Info, Active@, HD Tune, etc.) but aside from temperature, they don't give any info about the impending death of my raid 0.  I have the SMART feature turned on in bios.
    To premtively address the critics about the raid 0.  I only do about one video a week and do a backup every night.  So i figured it (and when) it crashes, i'll just lose a days work. The motherboard is suppose to do a raid 5 but it performed really poorly.  My system is configured with additional drives (SSD boot, Raid 0 scratch, and final video) as recommended.  Any advice would be appreciated.
    michael

    The problem with almost all raid controllers is that they do not support SMART. So that is out. With software raids you are even more limited.
    With hardware raid controllers you have web based interfaces that show some basic information, like this:
    but software raids do not. There are two ways to determine possible problems, at least that I know of:
    1. Use drive cages with LED's for the individual drives to show activity and inspect them visually.
    2. Use old-fashioned manual labour to feel vibrations, temperatures and hear clicks on individual drives.
    With only 3 drives in the raid, the chances of guessing correctly are 33.3% to start with and they only increase with manual inspection. A far easier job than in the case of 6 or more disks.
    Sorry I can not offer better suggestions.

  • How do I force a Mac Pro Lion RAID 5 rebuild after replacing a failed drive?

    Hi,
    My Mac Pro RAID 5 (with Apple RAID controller card and RAID 5 volume with 3 hard disks) showed degraded RAID set message due to failed drive.  After I repalced the failed drive, I was unable to add it back to the RAID set.  So I tried to removed or deleted this RAID set so that I can rebuild the RAID set from scratch.  No matter what I did, I was unable to delete the RAID set using the RAID Utility.  Can anyone help?  Thanks.

    I have been posting in this forum several times yet I was not getting any help nor comment on my issue from anyone (except Grant above.  Thanks and appreciate your support).
    So I have to help myself by searching various ways to resolve the issue.  I accidentally came across below findings and it solved my problem.  So I thought I will post it here just to share with whoever may run into the same problem.
    When I was trying to try to change to another harddisk, I noticed that I made a mistake in mixing up the drives when I put them back.  That is for the last two drive bays(3 & 4), for some reason I put the disks backwards.  That is drive 3 in Bay 4 and drive 4 in Bay 3.  I did not realize that on the drive mount Apple actually labelled them as 1, 2, 3, and 4 respectively for Bay 1 through Bay 4.
    With the two disks installed in the wrong sequence and even though one of them is a replacement disk, Apple RAID controller card still boot up the RAID set but showing degraded RAID sets and everthing is normal except it would not allow you to make the replacement disk as a global spare.
    After I put the disks in the correct order, I was able to use RAID utility to make the repalcement disk as a spare and the system starting rebudiling the RAID set automatically (thought it took three days to complete).
    Now my system is back to normal working.  So the solution is to insure the disks are installed back to the Mac Pro in the same order (sequence including the replacement disk) when the RAID was set up.  This is such a basic matter and I don't know how I missed it.  Hopefully sharing this experience will help someone who may have similar problem.  At lease this is the first thing to check before going any further.

  • How do you get a serial number after computer crash rebuild for CS5.5 Design Premium?

    I do not have access to the old email service where the original email was sent with the serial number first issued. I need to get it again so I can finish the rebuild on the computer. Can someone please help?
    Thanks
    Clint

    if you registered with or purchased from adobe, check your acount using the same adobe id used to register/purchase - Adobe ID

  • HT4623 How do I return to iOS 6 after iOS 7 install has failed?

    I attempted to update my iPhone 4s last night via iTunes on my Mac.  I backed up my iPhone 4s via iTunes. iTunes prompted me that it needed to be updated which I did. Then I proceeded to update my iPhone and iTunes made another back up of the iPhone.  The download failed a few times but eventually completed.  Eventually the update was proceeding and then I got a message stating the update failed for a unknown reason.  Currently the iPhone is unusable and shows the iTune + iPhone or connect to iTunes picture and iTunes give this message ... "The iPhone "iPhone" could not be restored. An unknown error occurred (3014)."  I tried multiple scenarios from Apple Support Communities and nothing has worked.

    I used a another Mac with the previous version of iTunes to attempt a recovery and it seemed like it was working and then it gave me "The iPhone "iPhone" could not be restored. This device isn't eligible for the requested build."  When I look this up it points to a similar and potentially related issue with conneting to the gs.apple.com server.  Is there a diagnostic tool that can confirm this?
    Related threads are:
    http://support.apple.com/kb/TS4451?viewlocale=en_US&locale=en_US
    http://support.apple.com/kb/TS3694#error3014

  • Dv7--6b57nr attempting use recovery disks after virus. Recovery disks fail to load

    I am attempting to load the recovery disks for Windows 7 Home Premium.  Had a few virus's and the recovery disk installs fails.  Have checked the disk within the Bios.  The error is as follows:  The Recovery attempt has faild.  Select one of the following buttons: Save Log; Details; Retry.  I don't see any specific errors besides the Recovery attempt has failed.  What is the next step that Ineed to do.  I have the saved log file HP_SSRD_LOG.SRD.
    I have a Serial # of 2CE1480BIX and a product ID of AIT85UA#ABA. 
    I have attempted to reload after I blanked out the whole drive.  That was the only what to get rid of the viruses of the system.  I am a tech working for the owner Waymon.  Please assist me or tell me exactly what I need to do to get this problem resolved and get the system loaded.  Thanks.
    Gets to he HP Software Installation now on the five installation try.  It then reboots and tries to reload the system.   Here is the error {  The Recovery Attempt Failed.  Select on eof the Following Buttons:
    Save Log ;  Details ; Retry.
    Here is the file from the Details button.  CTOERROR.FLG.txt
    [12:53:08.53] Entering Checking OS Edition...
    [12:53:08.53] Check RStone.ini file to determine the requried edition.
    [12:53:08.58] Exiting Checking OS Edition...
    [12:53:08.60] Check if Upgrading Win 7 is required.  
    [12:53:08.61] Current Edition is [HomeBasic]...
    [12:53:08.63] Required [Starter]. Don't need to upgrade...
    [12:53:08.63] Required [Starter] ...
    [12:53:13.28] Required [Starter] Edition. But, OS is not [Starter]...
    [12:53:13.28] Upgrading OS edition might have some problem...
    Deployment Image Servicing and Management tool
    Version: 6.1.7600.16385
    Image Version: 6.1.7601.17514
    Current edition is:
    Current Edition : HomeBasic
    The operation completed successfully.
    Component: TDC Preinstall Diagnostic Tools for Windows 7 - TDC
    Error found: No OS Flag set on unit, please use EEPROM to set ~OS SKU~ value = 2
    [12:54:04.13] ------------------------------------------------------------------------------------------
    ***CTO Error condition has been dtected in [Factory Update] phase !! ***
    [12:54:04.15] Suggest to create PIN-log and send to TWN PDC NB-PreinPM for further analysis ...
    [12:54:04.15] ------------------------------------------------------------------------------------------
    [12:52:11.75] Start BBOffline.cmd...
    UPDrv=[C:]
    [12:52:11.77] Set UIA Error Code to 951
    [12:52:12.08] WinPE is 32bit.
    [12:52:12.08] Starts [FixUps].
    [12:52:12.09] ---------------------------------------------------------------------
    [12:52:12.09] FixUps.cmd...
    [12:52:12.09] create overall progress info...
    [12:52:13.72] FixUps.cmd completed...
    [12:52:13.72] ---------------------------------------------------------------------
    [12:52:13.72] Starts [Tweaks for SSRD].
    [12:52:13.75] ---------------------------------------------------------------------
    [12:52:13.75] SSRD Tweaks to change user default locale...
    [12:52:13.75] Copy C:\System.sav\Util\TDC\MCPP\FBIRES\FBIUSRES.DLL.
    [12:52:13.86] Run "Dism.exe /image:C:\ /Set-SKUIntlDefaults:en-US -image:C:".
    [12:52:21.38] ---------------------------------------------------------------------
    [12:52:21.38] Launch PININST.exe for Offline ...
    [12:52:33.37] Starts [Sleep 10 sec].
    [12:52:43.43] Starts [Create RStoneFUpdate.INI].
    [12:52:56.48] Starts [create 1GB Pagefile for offline].
     Volume in drive C has no label.
     Volume Serial Number is 9EEF-EDFF
     Directory of C:\system.sav\bbv
    11/23/2013  12:52 PM     1,073,741,824 pagefile.sys
                   1 File(s)  1,073,741,824 bytes
                   0 Dir(s)  44,736,716,800 bytes free
    [12:52:56.57] Brand detection.
    [12:52:56.87] ---------------------------------------------------------------------
    [12:53:43.17] Start SysID Check...
    [12:53:43.62] Start Option Code Checks...
    SKU_DEF_COUNTRY=[244]
    SKU_DEF_SYS_LOC=[en-US]
    Reset country in administrator...
    Reset country in Default user...
    Reset System localed
    Deployment Image Servicing and Management tool
    Version: 6.1.7600.16385
    Image Version: 6.1.7601.17514
    Reporting offline international settings.
    Default system UI language : en-US
    System locale : en-US
    Default time zone : Pacific Standard Time
    User locale for default user : en-US
    Location : United States (GEOID = 244)
    Active keyboard(s) : 0409:00000409
    Keyboard layered driver : PC/AT Enhanced Keyboard (101/102-Key)
    Installed language(s): en-US
      Type : Fully localized language.
    The operation completed successfully.
    Updated System Locale info..
    [12:53:59.16] Start PIN Tweaks...
    [12:53:59.20] ---------------------------------------------------------------------
    [12:53:59.20] PIN Tweaks to hide All for BurnBoot BBV and BBV2 on restored image...
    [12:53:59.20] ----------------------------------------
    [12:53:59.20] Tweaks for OOBE's Unattend.xml
    [12:53:59.20]  to pick up the proper file...
    [12:53:59.20] ----------------------------------------
    [12:53:59.20] rename unattend.org to unattend.or_
    [12:53:59.25] ----------------------------------------
    [12:53:59.25] without Light Sensor..
    [12:53:59.25] ----------------------------------------
    [12:53:59.27] This is Restored image by SSRD [SSRD.flg]...
    [12:53:59.28] ---------------------------------------------------------------------
    [12:53:59.31] Start MIR Tweaks...
    [12:53:59.34] ---------------------------------------------------------------------
    [12:53:59.34] [MIR Tweaks] ...
    [12:53:59.36] ---------------------------------------------------------------------
    [12:53:59.39] Start Factory Update(s)...
    [12:54:01.28] Start QFE Offline installation...
    [12:54:03.96] PININST_OFF: PASSED...
    [12:54:03.99] Type C:\System.sav\Logs\BBFindEr.log...
    [12:54:04.01] Type C:\System.sav\Logs\BBFindE0.log...
    ---------- C:\SYSTEM.SAV\LOGS\PININST_OFF.LOG
    Result=PASSED
    [12:54:04.04] Type C:\System.sav\Logs\BBFindEr.log...
    [12:54:04.05] Type C:\System.sav\Logs\BBFindE0.log...
    ---------- C:\SYSTEM.SAV\LOGS\BBFIND4QFE.LOG
    [12:54:04.05] Check FUList.log if there is duplicate Desc...
    No duplication.
    [12:54:04.13] No Duplicated Desc is found... PASSED.
    [12:54:04.13] There was no Factory Update...
    I also have to HP_SSRD_LOG.SRD file.  What Do I need to do now?  Thanks.

    Recovery Discs failure is frequent, and unfortunately has many causes. Some things to try that have worked in other cases.>>
    1-Enter BIOS and reset to Default settings. Usually it is F9 key,check bottom of screen to be sure. Next F10 to Safe & Exit. Run Recovery again.You can attempt it from the partition now instead of Discs if preferred by tapping away at the F11 key at start up.
    2-Scroll down on the page and get> Bootable CD ISO and> ImgBurn to burn the iso image to cd-a guide on using ImgBurn to write an ISO to a disc is Here. Once created, boot from it. Delete any hdd partitions, create one and format. Next try booting from Recovery Discs again.
    ******Clicking the Thumbs-Up button is a way to say -Thanks!.******
    **Click Accept as Solution on a Reply that solves your issue to help others**

  • HT201407 How to activate my i pad 2 after restoring

    how to activate my i pad 2 after restoring

    Full Error is
    "Activation Failed
    This iPad is not able to complete the activation process. Please press Home and start over. If the issue persists, please visit your nearest Apple Store or Authorized service provider for more information or replacement."
    The device has not been jail broken nor has my computer jail broken any devices. The device was working fine on wednesday and I did a restore and wipe, to switch from one user in the family to another. When I went to restore, I received this error. I have been through the restore and update process (says updating firmware, etc.) but at the end of the process I get the same message.
    My big concern is this is an iPad 2 I bought new years ago and I'll be upset if the Apple Store folks say, "sorry, hardware issue."
    Dan

  • Mac Pro RAID 5 not rebuilding after replacing a failed drive?

    I have a Raid 5 on a Mac Pro and one of the three drives failed. The RAID set was degraded so I replaced the drive and made it a global spare. At this point the Raid Utility is supposed to try and rebuild the RAID array but nothing happens. Any help?
    Thanks.

    It appears that the two drives (drive 2 and 4) that were part of the raid set JBODSet2 are not attached to any raid set now. How do I get the raid set back?
    Mac-Pro:~ john$ raidutil list driveinfo
    Drives  Raidset       Size      Flags
    Bay #1  JBODSet1      480.10GB   IsMemberOfRAIDSet:JBODSet1 IsReliable IsJBOD
    Bay #2  <none>          1.00TB   IsReliable IsNotAssigned IsRoaming
    Bay #3  <none>          1.00TB   IsSpare IsReliable
    Bay #4  <none>          1.00TB   IsReliable IsNotAssigned IsRoaming

  • How can I aktivate my Premiere CS6 after rebuild my computer?

    How can I aktivate my Premiere CS6 after rebuild my computer?
    I get a message, that  I have to deactivate my old lizense. My system has crashed and I installed it new. I installed adobe software also. But Premiere CS6 has a problem. What can I do?

    Adobe contact information
    http://www.adobe.com/support/contact
    In the US - Adobe General support 800-833-6687 M-F 5am-7pm Pacific
    In the US - Adobe Install Problems 800-642-3623
    In the US - Adobe Activation 866-772-3623 Open 24/7
    Adobe Activation note in #4 9-11-09 http://forums.adobe.com/thread/488108

  • My 3gs wont restore after ios 5 update. I have tried firmware restore and restore from backup, neither works. All I get is "iphone restore failed because backup session failed" Any ideas on how to make a successful restore with this ios 5 update?

    My 3gs wont restore after ios 5 update. I have tried firmware restore and restore from backup, neither works. All I get is "iphone restore failed because backup session failed" Any ideas on how to make a successful restore with this ios 5 update?

    I was having the same problem, I backed up my phone and then updated to iOS 5 and then it kept telling me it could not restore from my backup as it had failed.  After reading a bunch of forums and posts and trying everything, I did manage to get it to work.  I had tried the Time zone, creating a new computer user account, disabling anti-virus, etc.
    It took a combination of things, one of which was disabling the anti-virus completely and copying the contents of the backup folder to my desktop and then deleting everything in the backup folder.  Then I rebooted the PC, entirely disabled the anti-virus, copied the one backup I wanted to restore from the desktop to the backup folder and then trying to restore.  Low and behold the phone said restoring from backup and I am back in business, so when in doubt, trying combining some of the fixes together.

  • How to configure or remove LUN's?

    a set of three OVM servers as 1 manager and two servers using SAN multipathing
    SAN team assigned 3 new LUN's to my Oracle VM servers release 2.2.2
    I went through the bellow in the first server and every thing went fine and I got to view the new added disks in # ls -l /dev/disk/by-id and # ls -l /dev/mpath/
    # rescan-scsi-bus.sh _##the contents of this script is in the end of this page_
    # mkfs.ocfs2 -N 8 -T datafiles /dev/mapper/mpath## (to creating cluster file system)
    # /opt/ovs-agent-latest/utils/repos.py –n /dev/mapper/mpath## ( to add new multipath disk to storage pool)
    # /opt/ovs-agent-latest/utils/repos.py –l (confirmed adding the disk)
    then,, while doing the same to the other server and after running rescan-scsi-bus.sh script! I couldn't view the LUN's under# ls -l /dev/mpath/ but they were there in # ls -l /dev/disk/by-id as following
    lrwxrwxrwx 1 root root 10 Mar 24 13:41 scsi-360060e80054834000000483400009609 -> ../../sdgj
    lrwxrwxrwx 1 root root 10 Mar 24 13:41 scsi-360060e8005483400000048340000960a -> ../../sdgk
    lrwxrwxrwx 1 root root 10 Mar 24 13:41 scsi-360060e8005483400000048340000960b -> ../../sdgl
    Now am stuck in the middle as I couldn't go forward to do the same i did to the first server and also couldn't delete those newly added LUN's from the second server
    ===================================================================================================
    #cat rescan-scsi-bus.sh
    #!/bin/bash
    # Skript to rescan SCSI bus, using the
    # scsi add-single-device mechanism
    # (c) 1998--2008 Kurt Garloff <[email protected]>, GNU GPL v2 or later
    # (c) 2006--2008 Hannes Reinecke, GNU GPL v2 or later
    # $Id: rescan-scsi-bus.sh-1.29,v 1.1 2009/03/12 11:03:19 dhorak Exp $
    setcolor ()
    red="\e[0;31m"
    green="\e[0;32m"
    yellow="\e[0;33m"
    bold="\e[0;1m"
    norm="\e[0;0m"
    unsetcolor ()
    red=""; green=""
    yellow=""; norm=""
    # Return hosts. sysfs must be mounted
    findhosts_26 ()
    hosts=
    for hostdir in /sys/class/scsi_host/host*; do
    hostno=${hostdir#/sys/class/scsi_host/host}
    if [ -f $hostdir/isp_name ] ; then
    hostname="qla2xxx"
    elif [ -f $hostdir/lpfc_drvr_version ] ; then
    hostname="lpfc"
    else
    hostname=`cat $hostdir/proc_name`
    fi
    hosts="$hosts $hostno"
    echo "Host adapter $hostno ($hostname) found."
    done
    if [ -z "$hosts" ] ; then
    echo "No SCSI host adapters found in sysfs"
    exit 1;
    fi
    # Return hosts. /proc/scsi/HOSTADAPTER/? must exist
    findhosts ()
    hosts=
    for driverdir in /proc/scsi/*; do
    driver=${driverdir#/proc/scsi/}
    if test $driver = scsi -o $driver = sg -o $driver = dummy -o $driver = device_info; then continue; fi
    for hostdir in $driverdir/*; do
    name=${hostdir#/proc/scsi/*/}
    if test $name = add_map -o $name = map -o $name = mod_parm; then continue; fi
    num=$name
    driverinfo=$driver
    if test -r $hostdir/status; then
    num=$(printf '%d\n' `sed -n 's/SCSI host number://p' $hostdir/status`)
    driverinfo="$driver:$name"
    fi
    hosts="$hosts $num"
    echo "Host adapter $num ($driverinfo) found."
    done
    done
    printtype ()
    local type=$1
    case "$type" in
    0) echo "Direct-Access " ;;
    1) echo "Sequential-Access" ;;
    2) echo "Printer " ;;
    3) echo "Processor " ;;
    4) echo "WORM " ;;
    5) echo "CD-ROM " ;;
    6) echo "Scanner " ;;
    7) echo "Optical Device " ;;
    8) echo "Medium Changer " ;;
    9) echo "Communications " ;;
    10) echo "Unknown " ;;
    11) echo "Unknown " ;;
    12) echo "RAID " ;;
    13) echo "Enclosure " ;;
    14) echo "Direct-Access-RBC" ;;
    *) echo "Unknown " ;;
    esac
    # Get /proc/scsi/scsi info for device $host:$channel:$id:$lun
    # Optional parameter: Number of lines after first (default = 2),
    # result in SCSISTR, return code 1 means empty.
    procscsiscsi ()
    if test -z "$1"; then LN=2; else LN=$1; fi
    CHANNEL=`printf "%02i" $channel`
    ID=`printf "%02i" $id`
    LUN=`printf "%02i" $lun`
    if [ -d /sys/class/scsi_device ]; then
    SCSIPATH="/sys/class/scsi_device/${host}:${channel}:${id}:${lun}"
    if [ -d  "$SCSIPATH" ] ; then
    SCSISTR="Host: scsi${host} Channel: $CHANNEL Id: $ID Lun: $LUN"
    if [ "$LN" -gt 0 ] ; then
    IVEND=$(cat ${SCSIPATH}/device/vendor)
    IPROD=$(cat ${SCSIPATH}/device/model)
    IPREV=$(cat ${SCSIPATH}/device/rev)
    SCSIDEV=$(printf ' Vendor: %-08s Model: %-16s Rev: %-4s' "$IVEND" "$IPROD" "$IPREV")
    SCSISTR="$SCSISTR
    $SCSIDEV"
    fi
    if [ "$LN" -gt 1 ] ; then
    ILVL=$(cat ${SCSIPATH}/device/scsi_level)
    type=$(cat ${SCSIPATH}/device/type)
    ITYPE=$(printtype $type)
    SCSITMP=$(printf ' Type: %-16s ANSI SCSI revision: %02d' "$ITYPE" "$((ILVL - 1))")
    SCSISTR="$SCSISTR
    $SCSITMP"
    fi
    else
    return 1
    fi
    else
    grepstr="scsi$host Channel: $CHANNEL Id: $ID Lun: $LUN"
    SCSISTR=`cat /proc/scsi/scsi | grep -A$LN -e"$grepstr"`
    fi
    if test -z "$SCSISTR"; then return 1; else return 0; fi
    # Find sg device with 2.6 sysfs support
    sgdevice26 ()
    if test -e /sys/class/scsi_device/$host\:$channel\:$id\:$lun/device/generic; then
    SGDEV=`readlink /sys/class/scsi_device/$host\:$channel\:$id\:$lun/device/generic`
    SGDEV=`basename $SGDEV`
    else
    for SGDEV in /sys/class/scsi_generic/sg*; do
    DEV=`readlink $SGDEV/device`
    if test "${DEV##*/}" = "$host:$channel:$id:$lun"; then
    SGDEV=`basename $SGDEV`; return
    fi
    done
    SGDEV=""
    fi
    # Find sg device with 2.4 report-devs extensions
    sgdevice24 ()
    if procscsiscsi 3; then
    SGDEV=`echo "$SCSISTR" | grep 'Attached drivers:' | sed 's/^ Attached drivers: \(sg[0-9]\).*/\1/'`
    fi
    # Find sg device that belongs to SCSI device $host $channel $id $lun
    sgdevice ()
    SGDEV=
    if test -d /sys/class/scsi_device; then
    sgdevice26
    else
    DRV=`grep 'Attached drivers:' /proc/scsi/scsi 2>/dev/null`
    repdevstat=$((1-$?))
    if [ $repdevstat = 0 ]; then
    echo "scsi report-devs 1" >/proc/scsi/scsi
    DRV=`grep 'Attached drivers:' /proc/scsi/scsi 2>/dev/null`
    if [ $? = 1 ]; then return; fi
    fi
    if ! `echo $DRV | grep 'drivers: sg' >/dev/null`; then
    modprobe sg
    fi
    sgdevice24
    if [ $repdevstat = 0 ]; then
    echo "scsi report-devs 0" >/proc/scsi/scsi
    fi
    fi
    # Test if SCSI device is still responding to commands
    testonline ()
    : testonline
    if test ! -x /usr/bin/sg_turs; then return 0; fi
    sgdevice
    if test -z "$SGDEV"; then return 0; fi
    sg_turs /dev/$SGDEV >/dev/null 2>&1
    RC=$?
    # echo -e "\e[A\e[A\e[A${yellow}Test existence of $SGDEV = $RC ${norm} \n\n\n"
    if test $RC = 1; then return $RC; fi
    # OK, device online, compare INQUIRY string
    INQ=`sg_inq $sg_len_arg /dev/$SGDEV`
    IVEND=`echo "$INQ" | grep 'Vendor identification:' | sed 's/^[^:]*: \(.*\)$/\1/'`
    IPROD=`echo "$INQ" | grep 'Product identification:' | sed 's/^[^:]*: \(.*\)$/\1/'`
    IPREV=`echo "$INQ" | grep 'Product revision level:' | sed 's/^[^:]*: \(.*\)$/\1/'`
    STR=`printf " Vendor: %-08s Model: %-16s Rev: %-4s" "$IVEND" "$IPROD" "$IPREV"`
    IPTYPE=`echo "$INQ" | sed -n 's/.* Device_type=\([0-9]*\) .*/\1/p'`
    IPQUAL=`echo "$INQ" | sed -n 's/ PQual=\([0-9]\) Device.*/\1/p'`
    if [ "$IPQUAL" != 0 ] ; then
    echo -e "\e[A\e[A\e[A\e[A${red}$SGDEV changed: ${bold}\nLU not available (PQual $IPQUAL)${norm}\n\n\n"
    return 2
    fi
    TYPE=$(printtype $IPTYPE)
    procscsiscsi
    TMPSTR=`echo "$SCSISTR" | grep 'Vendor:'`
    if [ "$TMPSTR" != "$STR" ]; then
    echo -e "\e[A\e[A\e[A\e[A${red}$SGDEV changed: ${bold}\nfrom:${SCSISTR#* } \nto: $STR ${norm}\n\n\n"
    return 1
    fi
    TMPSTR=`echo "$SCSISTR" | sed -n 's/.*Type: *\(.*\) ANSI./\1/p'`
    if [ $TMPSTR != $TYPE ] ; then
    echo -e "\e[A\e[A\e[A\e[A${red}$SGDEV changed: ${bold}\nfrom:${TMPSTR} \nto: $TYPE ${norm}\n\n\n"
    return 1
    fi
    return $RC
    # Test if SCSI device $host $channen $id $lun exists
    # Outputs description from /proc/scsi/scsi, returns SCSISTR
    testexist ()
    : testexist
    SCSISTR=
    if procscsiscsi; then
    echo "$SCSISTR" | head -n1
    echo "$SCSISTR" | tail -n2 | pr -o4 -l1
    fi
    # Returns the list of existing channels per host
    chanlist ()
    local hcil
    local cil
    local chan
    local tmpchan
    for dev in /sys/class/scsi_device/${host}:* ; do
    [ -d $dev ] || continue;
    hcil=${dev##*/}
    cil=${hcil#*:}
    chan=${cil%%:*}
    for tmpchan in $channelsearch ; do
    if test "$chan" -eq $tmpchan ; then
    chan=
    fi
    done
    if test -n "$chan" ; then
    channelsearch="$channelsearch $chan"
    fi
    done
    # Returns the list of existing targets per host
    idlist ()
    local hcil
    local cil
    local il
    local target
    local tmpid
    for dev in /sys/class/scsi_device/${host}:${channel}:* ; do
    [ -d $dev ] || continue;
    hcil=${dev##*/}
    cil=${hcil#*:}
    il=${cil#*:}
    target=${il%%:*}
    for tmpid in $idsearch ; do
    if test "$target" -eq $tmpid ; then
    target=
    break
    fi
    done
    if test -n "$target" ; then
    idsearch="$idsearch $target"
    fi
    done
    # Returns the list of existing LUNs
    getluns ()
    if test ! -x /usr/bin/sg_luns; then return ""; fi
    sgdevice
    if test -z "$SGDEV"; then return ""; fi
    sg_luns -d /dev/$SGDEV | sed -n 's/.*lun=\(.*\)/\1/p'
    # Perform scan on a single lun
    dolunscan()
    SCSISTR=
    devnr="$host $channel $id $lun"
    echo "Scanning for device $devnr ..."
    printf "${yellow}OLD: $norm"
    testexist
    : f $remove s $SCSISTR
    if test "$remove" -a "$SCSISTR"; then
    # Device exists: Test whether it's still online
    # (testonline returns 1 if it's gone or has changed)
    testonline
    RC=$?
    if test $RC != 0 -o ! -z "$forceremove"; then
    echo -en "\r\e[A\e[A\e[A${red}REM: "
    echo "$SCSISTR" | head -n1
    echo -e "${norm}\e[B\e[B"
    if test -e /sys/class/scsi_device/${host}:${channel}:${id}:${lun}/device; then
    echo 1 > /sys/class/scsi_device/${host}:${channel}:${id}:${lun}/device/delete
    if test $RC -eq 1 -o $lun -eq 0 ; then
    # Try readding, should fail if device is gone
    echo "$channel $id $lun" > /sys/class/scsi_host/host${host}/scan
    fi
    else
    echo "scsi remove-single-device $devnr" > /proc/scsi/scsi
    if test $RC -eq 1 -o $lun -eq 0 ; then
    # Try readding, should fail if device is gone
    echo "scsi add-single-device $devnr" > /proc/scsi/scsi
    fi
    fi
    fi
    if test $RC = 0 -o "$forcerescan" ; then
    if test -e /sys/class/scsi_device/${host}:${channel}:${id}:${lun}/device; then
    echo 1 > /sys/class/scsi_device/${host}:${channel}:${id}:${lun}/device/rescan
    fi
    fi
    printf "\r\x1b[A\x1b[A\x1b[A${yellow}OLD: $norm"
    testexist
    if test -z "$SCSISTR"; then
    printf "\r${red}DEL: $norm\r\n\n"
    let rmvd+=1;
    return 1
    fi
    fi
    if test -z "$SCSISTR"; then
    # Device does not exist, try to add
    printf "\r${green}NEW: $norm"
    if test -e /sys/class/scsi_host/host${host}/scan; then
    echo "$channel $id $lun" > /sys/class/scsi_host/host${host}/scan 2> /dev/null
    else
    echo "scsi add-single-device $devnr" > /proc/scsi/scsi
    fi
    testexist
    if test -z "$SCSISTR"; then
    # Device not present
    printf "\r\x1b[A";
    # Optimization: if lun==0, stop here (only if in non-remove mode)
    if test $lun = 0 -a -z "$remove" -a $optscan = 1; then
    break;
    fi
    else
    let found+=1;
    fi
    fi
    # Perform report lun scan
    doreportlun()
    lun=
    SCSISTR=
    for dev in /sys/class/scsi_device/${host}:${channel}:${id}:*; do
    if [ -d "$dev" ]; then
    lun=${dev##*:}
    break
    else
    continue
    fi
    done
    #If not a single LUN is present then assign lun=0
    if [ -z $lun ]; then
    lun=0
    devnr="$host $channel $id $lun"
    echo "Scanning for device $devnr ..."
    printf "${yellow}OLD: $norm"
    testexist
    if test -z "$SCSISTR"; then
    # Device does not exist, try to add
    printf "\r${green}NEW: $norm"
    if test -e /sys/class/scsi_host/host${host}/scan; then
    echo "$channel $id $lun" > /sys/class/scsi_host/host${host}/scan 2> /dev/null
    else
    echo "scsi add-single-device $devnr" > /proc/scsi/scsi
    fi
    testexist
    if test -z "$SCSISTR"; then
    # Device not present
    printf "\r\x1b[A";
    lunsearch=
    return
    fi
    fi
    fi
    flag=0
    lun_search=" `getluns`"
    # Set flag=1 if all the LUNs are removed
    if [ "${#lun_search}" = "1" ]; then
    flag=1
    fi
    lunremove=
    # Check existing luns
    for dev in /sys/class/scsi_device/${host}:${channel}:${id}:*; do
    [ -d "$dev" ] || continue
    lun=${dev##*:}
    if [ "$flag" = "1" ]; then
    lunremove="$lunremove $lun"
    fi
    newsearch=
    oldsearch="$lun_search"
    for tmplun in $lun_search; do
    if test $tmplun -eq $lun ; then
    dolunscan
    else
    newsearch="$newsearch $tmplun"
    fi
    done
    if [ "${#oldsearch}" = "${#newsearch}" ] ; then
    # Stale lun
    lunremove="$lunremove $lun"
    fi
    lun_search="$newsearch"
    done
    # Add new ones and check stale ones
    for lun in $lun_search $lunremove; do
    dolunscan
    done
    # Perform search (scan $host)
    dosearch ()
    if test -z "$channelsearch" ; then
    chanlist
    fi
    for channel in $channelsearch; do
    if test -z "$idsearch" ; then
    idlist
    fi
    for id in $idsearch; do
    if test -z "$lunsearch" ; then
    doreportlun
    else
    for lun in $lunsearch; do
    dolunscan
    done
    fi
    done
    done
    # main
    if test @$1 = @--help -o @$1 = @-h -o @$1 = @-?; then
    echo "Usage: rescan-scsi-bus.sh [options] [host [host ...]]"
    echo "Options:"
    echo " -l activates scanning for LUNs 0-7 [default: 0]"
    echo " -L NUM activates scanning for LUNs 0--NUM [default: 0]"
    echo " -w scan for target device IDs 0 .. 15 [default: 0-7]"
    echo " -c enables scanning of channels 0 1 [default: 0]"
    echo " -r enables removing of devices [default: disabled]"
    echo " -i issue a FibreChannel LIP reset [default: disabled]"
    echo "--remove: same as -r"
    echo "--issue-lip: same as -i"
    echo "--forcerescan: Rescan existing devices"
    echo "--forceremove: Remove and readd every device (DANGEROUS)"
    echo "--nooptscan: don't stop looking for LUNs is 0 is not found"
    echo "--color: use coloured prefixes OLD/NEW/DEL"
    echo "--hosts=LIST: Scan only host(s) in LIST"
    echo "--channels=LIST: Scan only channel(s) in LIST"
    echo "--ids=LIST: Scan only target ID(s) in LIST"
    echo "--luns=LIST: Scan only lun(s) in LIST"
    echo " Host numbers may thus be specified either directly on cmd line (deprecated) or"
    echo " or with the --hosts=LIST parameter (recommended)."
    echo "LIST: A[-B][,C[-D]]... is a comma separated list of single values and ranges"
    echo " (No spaces allowed.)"
    exit 0
    fi
    expandlist ()
    list=$1
    result=""
    first=${list%%,*}
    rest=${list#*,}
    while test ! -z "$first"; do
    beg=${first%%-*};
    if test "$beg" = "$first"; then
    result="$result $beg";
    else
    end=${first#*-}
    result="$result `seq $beg $end`"
    fi
    test "$rest" = "$first" && rest=""
    first=${rest%%,*}
    rest=${rest#*,}
    done
    echo $result
    if test ! -d /sys/class/scsi_host/ -a ! -d /proc/scsi/; then
    echo "Error: SCSI subsystem not active"
    exit 1
    fi
    # Make sure sg is there
    modprobe sg >/dev/null 2>&1
    sg_version=$(sg_inq -V 2>&1 | cut -d " " -f 3)
    sg_version=${sg_version##0.}
    if [ "$sg_version" -lt 70 ] ; then
    sg_len_arg="-36"
    else
    sg_len_arg="--len=36"
    fi
    # defaults
    unsetcolor
    lunsearch=""
    idsearch=`seq 0 7`
    channelsearch=""
    remove=
    forceremove=
    optscan=1
    if test -d /sys/class/scsi_host; then
    findhosts_26
    else
    findhosts
    fi
    # Scan options
    opt="$1"
    while test ! -z "$opt" -a -z "${opt##-*}"; do
    opt=${opt#-}
    case "$opt" in
    l) lunsearch=`seq 0 7` ;;
    L) lunsearch=`seq 0 $2`; shift ;;
    w) idsearch=`seq 0 15` ;;
    c) channelsearch="0 1" ;;
    r) remove=1 ;;
    i) lipreset=1 ;;
    -remove) remove=1 ;;
    -forcerescan) remove=1; forcerescan=1 ;;
    -forceremove) remove=1; forceremove=1 ;;
    -hosts=*) arg=${opt#-hosts=}; hosts=`expandlist $arg` ;;
    -channels=*) arg=${opt#-channels=};channelsearch=`expandlist $arg` ;;
    -ids=*) arg=${opt#-ids=}; idsearch=`expandlist $arg` ;;
    -luns=*) arg=${opt#-luns=}; lunsearch=`expandlist $arg` ;;
    -color) setcolor ;;
    -nooptscan) optscan=0 ;;
    -issue-lip) lipreset=1 ;;
    *) echo "Unknown option -$opt !" ;;
    esac
    shift
    opt="$1"
    done
    # Hosts given ?
    if test "@$1" != "@"; then
    hosts=$*;
    fi
    echo "Scanning SCSI subsystem for new devices"
    test -z "$remove" || echo " and remove devices that have disappeared"
    declare -i found=0
    declare -i rmvd=0
    for host in $hosts; do
    echo -n "Scanning host $host "
    if test -e /sys/class/fc_host/host$host ; then
    if test -n "$lipreset" ; then
    echo 1 > /sys/class/fc_host/host$host/issue_lip 2> /dev/null;
    fi
    echo "- - -" > /sys/class/scsi_host/host$host/scan 2> /dev/null;
    channelsearch=""
    idsearch=""
    fi
    [ -n "$channelsearch" ] && echo -n "channels $channelsearch "
    echo -n "for "
    if [ -n "$idsearch" ] ; then
    echo -n " SCSI target IDs " $idsearch
    else
    echo -n " all SCSI target IDs"
    fi
    if [ -n "$lunsearch" ] ; then
    echo ", LUNs " $lunsearch
    else
    echo ", all LUNs"
    fi
    dosearch;
    done
    echo "$found new device(s) found. "
    echo "$rmvd device(s) removed. "
    ===================================================================================================
    Edited by: 923185 on Mar 25, 2012 7:54 AM

    If you cannot see the device then it is not attached or mapped by multipath.
    Are you using the same kernel on both servers?

  • How to confirm the alerts automatically in the internet mail?

    Hi,gurus:
         I wanna know how  I confirm the alerts automatically in the internet mail.Now we have to navigate to the alert inbox to confirm the alert,but can I do it in the internet mail? I have confirued the parameter in ALRTCATDEF->CONFIGURE->SETTING->INBOUND PROCESSING,but it didn't work.
    Thanks in advance.

    hi,
    I checked the library,and it says:
    Confirming Alerts by Internet Mail
    When an alert is sent by Internet mail, the Internet address of the alert user entered in alert configuration is entered as the Reply To address of the mail. An alert ID is inserted into the text of the mail. When the recipient answers the mail from the alert system, the alert is confirmed automatically. Inbound processing sends a status mail to the sender stating either that the alert has been confirmed successfully, or that an error has occurred. The alert ID must be included in the body of the reply mail.
    My question is: How to reply the mail?Where do I write the the alert ID?any ideas?

  • How to make the delivery cost changeable after cancellation of GR?

    Create a PO (with Delivery cost), then GR (101) , then cancel the GR (102), but the delivery cost still cannot be modified eventhough the GR has been cancelled - how to make the delivery cost changeable after cancellation of GR?

    Hi
    "You are not allowed to add new delivery costs in a purchase order once goods receipt has been carried out as these would then be proposed in the invoice verification. The related posting to the clearing account for goods receipt and invoice receipt would not then balance, if no further goods receipt took place.
    After the invoice has been received successfully, it is not possible to change the delivery costs in the order. This is because information necessary for problem-free operation is no longer available for the delivery costs that have already been posted for subsequent reversals or invoices, or the operation can no longer be done without errors.
    It is also not possible to change delivery costs for stock transfers with SD shipping after goods have been successfully issued, as this can lead to errors during cancellation."
    I think you have to delete the line item and create a new line item with revised delivery conditions..
    MRao

  • How can I turn off the laptop after restoring it to factory settings?

    Hello everyone
    I am selling my Portege R830-10Q so I want to restore it to factory settings (out-of-box state) AND THEN TURN IT OFF.
    I have successfully brought the laptop to factory settings by using the _TOSHIBA Recovery Wizard_ and choosing *Recovery of Factory Default Software (Recover to out-of-box state)*. However, at the end of the recovery process and after everything is re-installed I was not able to TURN OFF the laptop. I was only given the option of restarting it. After restating it, the Windows set-up process starts.
    I don't want to set-up Windows, i.e. language, keyboard, user account, etc. I want to leave the Windows set-up for the person who buys the laptop from me. How can I switch off the laptop after the system recovery without having to set up Windows?
    I'd really appreciate your help.
    Regards
    Pedro

    When recovery procedure is finished and you are asked for restart just press power button and switch it off. I think it only thing you can do.
    Anyway, why not to start Windows and go through setup option. New owner can change this basic settings anyway. As username put Admin and language and keyboard can be set as default.
    For instance, if you have German recovery image set everything to German. New owner can change it anyway.

Maybe you are looking for

  • How do I get rid of text in the browser fill area after site publication?

    I want to thank all ot the folks who have helped me here in the Adobe Community. I'm new at this thing and have done fairly well with the exception of a few problems between the monitor and the chair. I have published my site on the business catalyst

  • Setting the Font in Mail

    I'd like to set the font for outgoing mail to be Georgia. I'd like to have Mail format the message so when the recipient reads it, it is also formatted in Georgia. I would not like to do this for each message individually, I'd like to have this defau

  • Hooking up Kona2 to K-box to external

    Thanks in advance for any help, and bear with me because this one is new to me. Ok so Im running FCP HD And I need an external Monitor working for me. Im actually mainly working with SD, but I need this to work for both instances. I've got a kona2 ca

  • Re-installing Photoshop gets error 213:5

    My HD crashed last week. Replaced it yesterday. Re-downloaded Photoshop CS5 twice last night and twice this morning (2x each for 2 different links) and each time I get error message 213:5 -- I'm in HOUR SIX of trying to get back the software I paid f

  • Contract Release Strategy - field Requisitioner

    Hello, I will start to use the Contract release strategy and I need the field Requisitioner (EKPO-AFNAM), because this field is part of my PO release strategy. This field isn't available in the transactions ME31K and ME32K. Can you tell me, if it's p