Disk with bad sectors - how to get out the data?

I have a drive that is on its way in my lab at home. He got a few virtual machines on that I'd like back. The SMART State shows a few hundred bad sectors. I use ESXi 5.1 build 799733

VMS seem to run but when I try to copy them to another disc from the vSphere client, I get a generic error and it hangs on. VMkernel.log displayed I/O failure of questions and 'unexpected sense '.

I wonder if:

(1) there is a way to get ESXi try again to copy several times because I think that the copy may succeed after several attempts (given that the VMs system run OK but can not copy them).

(2) it is possible to run something similar to a chkdsk utility that can be run on the vmfs to see if the file system can recover bad blocks?

(3), a last resort is it possible to get ESXi to continue with the copy despite IO errors. Maybe then I can run chkdsk inside the BONE and it will heal.

(4) what are the tools (if any) can I use to clone the drive dying on a well known disc? DD work?

I agree with the suggestion to try gddrescue.
The problem THAT VM power off - start a Linux VM from a different data store and get the data store with bad blocks via vmfs-fuse and sshfs.
Then copy the outside through ddrescue flat.vmdk.

Sometimes it also helps to manually create a snapshot for the bad VM on another data store. Who sets the origin vmdk in read-only mode.
Once you have the snapshot you can clone then the empty new snapshot with the basedisk damaged via vmkfstools - i.

Tags: VMware

Similar Questions

  • How to get out the mode safe mode with msconfig.

    I'm working on my computer and need to start in safe mode. I ran the msconfig and reboot the laptop. I get to the login screen, but when I get my username and password it tells me that the user name and password is not correct. How to get out the mode safe mode with msconfig.

    When you run msconfig to get set to Safe Mode, you just activate/check the option/SafeBoot at startup. INI tab or did you do something else?

    There is some malware that if you use the/SafeBoot option, you will not be able to use your system again until you remove the switch/SafeBoot the boot.ini for you can boot normally.

    Maybe it's not your exact problem, but I will never suggest to anyone to use the option / SafeBoot never again - too risky when troubleshooting since you can always start new or will never connect again until you remove the switch/SafeBoot.

    Anywho, if that's what you have done, you can start in the XP Recovery Console and then either make a new boot.ini file containing the switch/SafeBoot or simply rename the boot.ini file, you have something like boot.ini.old if you don't have a boot.ini file (I know it seems like a weird idea).

    In a single partition configuration, XP is not even a file boot.ini to boot.  XP will complain if there is no boot.ini file, but will always start very well without one (non-believers - try it!).

    After you get booted up and logged in, you can rename boot.ini.old in boot.ini and run msconfig to remove the option/SafeBoot, and never use it again.

  • My watch clock: 2012,03,2012 at 20:10. How to get back the Date please.

    My watch clock: 2012,03,2012 at 20:10.  How to get back the Date please.

    http://www.ehow.com/how_2052285_change-time-date-Windows-XP.html

    http://support.Microsoft.com/kb/307938

    UTC/GMT is 20:12 on Friday, February 24, 2012

  • Vista initilalize usb disk... How can I backup the data?

    My usb cable was disconnected during moving the files from a [URL = http://www.seagate.com/www/en-gb/products/external/expansion/expansion_desktop/] external expansion of 3 TB Seagate USB Drive. [Url] to my drive is internal. Now Vista sees is no longer the USB in the Explorer. I went in the Adim tools/disk management & demand if I want to 'initialze disc' which gives two options "use the following disk partition style" MBR or GPT. At this point, I chose to leave the application I have I'm not sure what the difference is. Either option would allow me to access the data on the disk? If this is not the case, how can I retrieve the data already stored on the disk?

    Hello

    Refer to this link and run the troubleshooter and check:

    http://Windows.Microsoft.com/en-us/Windows-Vista/tips-for-solving-problems-with-USB-devices

  • How to get out the year following the date

    Hi all

    I'm couldn't get out of the year to date.
    in my table it has been stored in varchar format on January 11, 2005
    If I want to display the year of the column, then
    I tried with year (to_date (' ' jan 11 2005 ', ' mm dd yyyy ' "))
    but I get an error then, how should I go out the year of the date_column

    thnks

    Hello

    Use RIGHT(DATE_COLUMN,4)

    Thank you
    Saichand.v

  • How to get out the white on black high contrast?

    How to get white on black high contrast for my Firefox screen?

    This has happened

    Each time Firefox opened

    Is yesterday. I closed and then later opened Firefox and got the high-contrast display.

    See also;
    Website colors are not
    Web sites look bad or display differently they should

  • How to get out the address book?

    When I choose a contact, I can return to the editField interface and as SUCH get set to the editField,

    but now if I didn't chosse contact, I want to return to the editField interface, it shows Nullpointer Exception.

    so, how can I get out of address book?

    showAddressBook my code:

    public void showAddressBook() {}
    try {}
    Contact list BlackBerryContactList = (BlackBerryContactList) BlackBerryPIM.getInstance () .openPIMList (BlackBerryPIM.CONTACT_LIST, BlackBerryPIM.READ_WRITE);
    Contact BlackBerryContact = (BlackBerryContact) contactList.choose (null, BlackBerryContactList.AddressTypes.EMAIL, true);
      
    Portable chain = "";
    int numValues = 0;
    numValues = contact.countValues (BlackBerryContact.TEL);
      
    for (int i = 0; i)< numvalues;="" i++)="">
    If (contact.getAttributes (BlackBerryContact.TEL, i) == BlackBerryContact.ATTR_MOBILE) {}
    Cell = contact.getString(BlackBerryContact.TEL, i);
    break;
    }
    }
             
    editField.setText (mobileNumber);
    } catch (PIMException ex) {}
    ex.printStackTrace ();
    }
    }

    If the user decides to not choose a contact, you get null as a return value. your code should check this.

  • showing a date of entry of the Recordset, how to fill out the dates does not appear?

    I've been several different directions on it, but it can work.

    I'm trying to list a date range as Nov 1-8 November, that is to say Nov1, 2, Nov3, etc., under each date show a COUNTY recordset for this date and if there is no record for this date, indicates 0.

    I have this sql

    mysql_select_db($database_connbubba, $connbubba);
    $query_rs_count = "SELECT yard_sales.yardsale_date,DATE_FORMAT(yard_sales.yardsale_date, '%b %d') AS theDate,COUNT(*) FROM yard_sales WHERE yard_sales.yardsale_date>=CURDATE() GROUP BY yard_sales.yardsale_date";
    $query_limit_rs_count = sprintf("%s LIMIT %d, %d", $query_rs_count, $startRow_rs_count, $maxRows_rs_count);
    $rs_count = mysql_query($query_limit_rs_count, $connbubba) or die(mysql_error());
    $row_rs_count = mysql_fetch_assoc($rs_count);
    


    user publishes their yard sales information in the db and the yardsale_date column is date YYYY-MM-DD

    with this configuration, so I have a table with 2 lines (rs_count.theDate and rs_count. COUNT) and the table is repeated horizontally.

    so the result is

    2 Nov6 Nov8

    1 yard Sale 2 Yard Sale 1 Yard Sale

    How can I get

    Nov2                 Nov3                   Nov4                 Nov5                   Nov6                      Nov7                  Nov8

    1 yard Sale 0 Yard Sales 0 Yard Sales 0 Yard sale Yard Sales 0 Yard Sale 1 Yard Sale 2

    Thanks for your help,

    Jim balthrop

    You cannot display the data that do not exist, so you must first create another calendar table which includes all the possible dates. You can then join this table to your main table. Pull on the dates of the calendar table and count the number of sales in your main table. To group the dates table.

  • How to fill out the Date and time in the OPS page CO

    Hi all

    How to generate the date current system (without using "select sysdate from dual"), in the controller OAF (processRequest) to an OAMessageDateFieldBean page?
    When I use the following code, the month is always displayed in January alone.
    In his display as a page OFA: January 26, 2009 15:46:30
    Using System.out.println: 2009-05-26 15:46:30.0

    Kindkly help me in this regard.

    Code
    OAApplicationModule am = pageContext.getApplicationModule (webBean);
    SimpleDateFormat f = new SimpleDateFormat ("yyyy-mm-dd hh: mm :"); ")
    String dateString = am.getOADBTransaction () .getCurrentDBDate () m:System.NET.SocketAddress.ToString ();

    java.sql.Date sqlDate = new Date (f.parse (dateString) .getTime ());

    DateField OAMessageDateFieldBean =
    (OAMessageDateFieldBean) webBean.findIndexedChildRecursive ("currentDate");
    dateField.setValue (pageContext, sqlDate);

    System.out.println (am.getOADBTransaction () .getCurrentDBDate (). ToString());

    Kind regards
    Joe

    Hey Joe,

    Change the line of code...

    Of

    SimpleDateFormat f = new SimpleDateFormat ("yyyy-mm-dd hh: mm :"); ")

    TO

    SimpleDateFormat f = new SimpleDateFormat ("yyyy-MM-DD hh: mm :"); ")

    It will work...

    Thank you
    Anoop

  • AF:table with Pagination. How to get to the specific page?

    Hi all!

    I use jDev 12.1.3

    I have the following case, based on the Employees of HR schema table.

    In a stubborn workflow, I have 2 pages.

    The 1era page has a read-only table with the employees. The peculiarity is that the instance of the opinion of the employees is tuned with Page Ranging (lazy employees is a huge table).

    Af: table has autoHeightRows = "15" scrollPolicy = 'page' and the iterator has RangeSize = 15.

    By clicking on a button, the user goes to the second page, where the selected record should be changed (with the help of the SetCurrentRowWithKey method). Then, the user wants to go back to the first page.

    The question starts here.

    Assume that the user is on the page with the table and wants to change an employee who is on the page of the 3rd (paging) of the table. After the change of registration, the user wants to return back to the page 'table', but not on the first page (of the paging), but 3rd page.

    So, how I put the current page and the return line to the initial selection of the user?

    I ' tried scrollToRangePage() but nothing seems to happen.

    Thank you very much

    ~ Apostolos

    You can do it if you save the page the row is turned on, or the beginning of the beach page. Her edit you the line and after you have finished editing, you set the rear range.

    To set a table on a specific page, you use a RangeChangeEvent where you specify the table, oldstart, oldend, newstat index values and newend.

    Before you begin to modify or end edit, you can calculate the values of the iterator. Something like

    {} public void onGotoPage (ActionEvent actionEvent)

    BindingContainer bindingContainer is BindingContext.getCurrent () .getCurrentBindingsEntry ();.

    get the number of page to goto

    AttributeBinding attr = bindingContainer.getControlBinding("gotopage1") (AttributeBinding);

    Entire NewPage = (Integer) attr.getInputValue ();

    If (newPage == null) {}

    return;

    }

    first page starts at index 0 so subtract 1 from the number of page

    -newPage;

    DCIteratorBinding iter = bindingContainer.get("EmployeesView1Iterator") (DCIteratorBinding);

    calculate the old and new rage for the RangeChangeEvent

    range int = iter.getRangeSize (); Note both the table and we take the RangeSize of the iterator page size

    int oldStart = iter.getRangeStart ();

    int oldEnd = oldStart + Beach;

    Newstat int newPage = * rank;

    int newEnd = Newstat + range;

    Find the table

    UIViewRoot iViewRoot is FacesContext.getCurrentInstance () .getViewRoot ();.

    UIComponent table = iViewRoot.findComponent("t1");

    create the event and fire

    Event RangeChangeEvent = new RangeChangeEvent (table, oldStart, oldEnd, Newstat, newEnd);

    table. Broadcast (Event);

    Update table

    AdfFacesContext.getCurrentInstance () .addPartialTarget (table);

    }

    I've marked the essential parts "BOLD".

    Timo

  • How to get out the sections as separate Web pages user guide?

    I have a guide of heavy use (MS Word file) which has several sections and subsections (e.g., 1.2, 1.2.3 etc.). When I pulled out using Webhelp, Responsive HTML5 or any other SSL, the guide is published under a long Web page. I can use the table of contents to access certain sections, but I can of course scroll upwards or downwards for other sections. Is there a way to isolate and each section as well as a separate page, while keeping the table of contents complete?

    It would be extremely tedious to split the Word file, then import them individually into Robohelp...

    I am very new to Robohelp, so any help is very appreciated! Thank you!

    I moved this post to the RoboHelp for Word forum, existing links will continue to work. RoboHelp for Word is a separate product that no longer ships with RoboHelp.

    The document can be divided according to the styles then maybe you can set styles to give the breaks you want. On my site, see Importing and creating a binding.

    See www.grainge.org for creating tips and RoboHelp

    @petergrainge

  • How to get out the show process

    in Vshield when you do a show process or show log how you quit at a command prompt?

    to exit the show process and show log, just press q.

    Manager > show process (enter)

    you will be displayed with console process, just press q to exit.

  • How to get out the widget from a remote php file

    I want to leave the remote one froma widget php file, I use the onExit

    function trapForApplicationExit()
      {
          blackberry.app.event.onExit(handleExit);
      }
    
      function handleExit()
      {
             var answer = confirm("Leave this application?");
             if (answer)
               blackberry.app.exit();
      }
    

    who needs to add the function blackberry.app.event in my config.xml file, the question is how can I add this feature to the remote files on the server?

    In your config.xml file where you have in your external domain name whitelist, you will also want to add the feature as an element element nested.

    For example:

    http://www.mydomain.com" subdomains="true">
      
    
    

    This will allow the API run in the external domain.

  • in Lightroom how to get out the mobile app

    Hi I have CC and in my Lr it shows I am in mobile Lr how to start and I don't know how I got it and I can't

    Return to the page of Lr.

    Hi Geoff,

    Thanks for responding, and when I went to send you the screen that I clicked it and it grew up there correctly.

    Thank you for helping me such a simple thing, the only thing I did not click on.

    Thank you

  • How to get out the camera after stop streaming to FMS

    When stop streaming, I close the NetStream, close NetConnection, clear video and remove all listoner of the event to the camera. After these actions, still used in the device. What is the problem?

    Thank you.

    Hi, you drop the connection to the web camera by publishing two vid.attachCamera (null); or vid.attachVideo (null); command.

Maybe you are looking for