Disk Utility: Differences between "Zero Out Data" and "7-Pass Erase"?

I'm wondering if anyone knows if there's a significant difference between the "Zero Out Data" erase option in Disk Utility (specifically Disk Utility 10.5.5), and the "7-Pass Erase" and "35-Pass Erase" options in same software.
Here's why I'm asking: I have a co-worker with an iMac G5 20" 1.8GHz with 160GB internal hard drive. As a result of the power supply overheating a week ago due to dust, some hard drive problems resulted. I'm trying to assess whether these are 'soft' formatting problems that can be recovered from, or 'hard' problems requiring replacement of the hard drive and/or power supply.
Following the failure, I removed the dust and restored the iMac to servicable form. The power supply seems to be OK now. The next thing was to attempt to recover as much data as possible from the 160GB, as the last full backup was a week old. Carbon Copy Cloner, shell copy via 'sudo cp -p -R -v', Finder copy, and DiskWarrior recovery all met with problems. TechTool Pro identified a huge swatch of unreadable sectors during repeated surface scans. Unfortunately, these unreadable sectors were located midway in the OSX boot partition (an 80GB partition), and not in the other 80GB partition devoted to lower priority video data.
When I was satisfied I had backed up the data to the best of my abilities, I next set out to reformat the drive and see if the bad sectors could be eliminated or remapped out of existence. I did a "Zero Out Data" erasure in Disk Utility (with no errors during the erase), but TechTool Pro showed the bad sectors persisted in equal strength at the same location. I next executed a sixteen hour "7-Pass Erase" (again no errors, and confirming that it takes about an hour per 10GB). The next day when I ran TechTool pro, all of the sector errors had disappeared. I'm a bit perplexed as to why the "7-Pass Erase" seems to have recovered the use of the drive. Is it possible that there are simply thousands of bad sectors now remapped that I'm not seeing? [If so, how do I check for this?] TechTool Pro has not reported any S.M.A.R.T. issues to date on the drive. What am I to make of that?
There are some related threads I've checked into, but I'm not sure how to properly assess my situation based on this information:
<http://discussions.apple.com/thread.jspa?threadID=232007>
<http://discussions.apple.com/thread.jspa?threadID=138559>
<http://discussions.apple.com/thread.jspa?threadID=118455>
Since the iMac has three weeks left on it's one year warranty, and I've already moved the user to another machine temporarily, I'm thinking that the smart thing to so is to send it in to Apple to have them look at the power supply and hard drive. That way, when it returns, even if there is still a lingering hardware problem, at least it will be covered under warranty for another 90 days.
Any thoughts?
iMac G5 20" 1.8GHz   Mac OS X (10.4.6)   1.25GB RAM, 160GB hard disk, SuperDrive

HI, Bret.
The only differences between "Zero Out Data", "7-Pass Erase", and "35-Pass Erase" are the number of times a binary zero is written to every bit on the disk. "Zero Out Data" writes a binary zero once, whereas the 7- and 35-Pass options write a zero seven and 35 times, respectively.
Technically, one pass with Zero Out Data should be sufficient to map bad sectors out of service, a process also known as sparing. If a bad sector is encountered, it is both marked as "in use" in the directory's allocation table and added to the directory's "bad blocks file."
My understanding is that the Surface Scan of Tech Tool Pro should identify bad sectors every time it is run unless the bad sectors have been locked out by the drive controller of the ATA drive itself. This is because Surface Scan checks the entire surface of the disk.
What may have happened is that running "Zero Out Data" spared the bad blocks from a directory standpoint, but did not result in the drive's controller locking out those sectors for reasons detailed in the "Surface Scan" section of the Tech Tool Pro manual. However, the 7-Pass Erase may have resulted in the drive's controller locking out the bad sectors and why Surface Scan did not pick them up after such.
Given the problems you described, I concur with your plan to have Apple check the affected computer. You might also want to consider purchasing an AppleCare Protection Plan for that Mac: I recommend and buy these for all my Macs.
For some additional information on bad sectors, see the "Bad Sectors" section of my "Resolving Disk, Permission, and Cache Corruption" FAQ.
Good luck!
Dr. Smoke
Author: Troubleshooting Mac® OS X
Note: The information provided in the link(s) above is freely available. However, because I own The X Lab™, a commercial Web site to which some of these links point, the Apple Discussions Terms of Use require I include the following disclosure statement with this post:
I may receive some form of compensation, financial or otherwise, from my recommendation or link.

Similar Messages

  • Difference between a starting date and time and ending date and time

    Hi All,
    I need to bring out the difference between a starting data and time and ending date and time. Difference should be in time I mean it should be in hours or minus or seconds.
    I am sure there must be a Function module for this, Has anyone of you been in search of this kind of FM, Kindly suggest me. It is urgent.
    Thanks
    Mahen

    Hi,
    Check this out.
    data : date1 type dats ,   " System data type for Date (sy-datum)
           date2 type dats,
           time1 type tims,      " System data type for time (sy-timlo)
           time2 type tims,
           days  type i,
           scd   type i,
           t_mt  type i.
    days = date1 - date2. " Diference in days.
    Scd  = time1 - time2. " diference in seconds.
    t_mt =  ( days * 24 * 60 ) + ( scd / 60 ).
    total diference in minute
    <b>Reward Points & Mark Helpful Answers</b>

  • Difference between P.O.date and P.O.created date

    Hi,
      Could you tell me difference between purchaseing doucment date and purchase order creaed date.
        Because some time in my org. po created after GR means in past date. So there is difference between
        po date and po created date. where this po created date is maintained in purchase order
               Thanks and Regards
                      Anil

    Dear Anil,
    Please check table EKKO with ta SE11.
    Created Date => EKKO-AEDAT
    Date on which the record was created
    Document date => EKKO-BEDAT
    Date on which the purchasing document was created
    EKKO-AEDAT = Date on which the record was created
    and also "Created By" also recorded automatically
    by system.
    Document date or EKKO-BEDAT normally default as
    today when you create the PO via ME21N. This field
    appear at top right of the screen. However this date
    can be change to any date that required.
    Thanks
    Loke Foong

  • Difference between " system.out.print( ) " and " system.out.println( ) "?

    Hi frnds, i m a beginner in JAVA today only started with the complete refrence....can you help me and tell the the Difference between " system.out.print( ) " and " system.out.println( ) "?

    Rashid2753 wrote:
    hi,Yes. But it's a good idea for new Java programmers to become accustomed to using helpful resources like the API Javadocs because it's much faster then waiting for replies everytime you have a question. For experienced developers the API Javadocs are an indispensible resource.

  • Difference between System.out.println() and out.println()

    Hi,
    In JSP we want to write the JNLP file contents to a ouput stream using "out.printl()".
    The content of the JNLP file i am having in a String.
    The "System.out.println()" is printing the correct JNLP file contents but "out.println()" writing wrong contents which are taken from Server JNLP file.
    How to solve this problem?
    Please guide me in this.
    Thanks and Regards:
    Dheeraj

    Where is the "System.out.println()" running from? I don't think your problem has anything to do with the difference between System.out.println and out.println. Both methods print what is passed to them. It sounds like you are printing two different files because you are running in two different environments.
    JSPs run on a server and only have access to files on the server or on a network the server is on. If you are trying to print a file on a user's system, JSP can't do it.

  • Difference between using new Date() and new Date(System.currentTimeMillis()

    Hi All,
    I have seen many open source api's where they are updating dates with the following code
    new Date(System.currentTimeMillis())
    when i print the new Date() it prints the same
    what is the difference between using new Date() and new Date(System.currentTimeMillis()) ??
    Thanks,
    J.Kathir

    when i print the new Date() it prints the same
    It does because of backward compatability. This constructor exists in version 1.3.1 but not in newer versions.Really ? Please point me to where you read that.
    API doc 1.5 : new Date() (still there, not even deprecated)
    A quick look at the code for this constructor:    /**
         * Allocates a <code>Date</code> object and initializes it so that
         * it represents the time at which it was allocated, measured to the
         * nearest millisecond.
         * @see     java.lang.System#currentTimeMillis()
        public Date() {
            this(System.currentTimeMillis());
        }

  • Difference between Invoice created date and billing date.

    Hi Gurus,
    I opened the Billing Document in display mode(T.Code:VF03).In header data I found two tabs one is Created On and another one is Billing Date. Here in the billing document the both dates were different.
    Please let me know the difference between Created On date and Billing Date.
    your afforts are highly appriciated.
    JYothi.

    Dear Jyothisd,
    Invoice created date : Invoice created date is nothing but the date on which you have created the invoice.
    Billingdate:Billing date is the date on which you suppose to do the billing for respective customer. Tease billing dates will be proposed to invoice from sales order if it is order related  or else actual goods issue date is proposed to billing document as a Billing date if particular billing document is delivery related.
    If you want you can change the Actual billing date the result is invoice created date.
    Please revert if you want any further clarifications
    Thanks&Regards

  • Difference between "change auth data " and "expert mode" in pfcg

    Gurus ,
    i need to know , what is the difference between
    "change  authorization data "
    and
    "expert mode for profile generation" in PFCG .
    and what is the significance of the three options that we get when we choose expert mode ?

    Hi Susin,
    To change the authorization data for the transactions assigned to the role, choose Change Authorization Data or Expert Mode for Profile Generation.
    If you are generating the profile for the first time, there is no difference between the two modes.
    When you change a role, you must regenerate the authorization profile. In this case, the status of the profile generation is displayed red or yellow at the top of the Authorizations tab page.
    If the status display is red, you must perform an authorization data comparison, since the menu was changed since the last profile generation or no authorization data exists.
    If the display is yellow, the authorization data for the role was changed and saved after the last generation. The generated profile is no longer current. You need to regenerate it.
    The significance of the three options that we get when we choose expert mode is as follows:
    Choose one of the options to maintain the authorization values (in normal mode, the correct option is automatically set):
    1> Delete and recreate profile and authorizations
    All authorizations are recreated. Values which had previously been maintained, changed or entered manually are lost. Only the maintained values for organizational levels remain.
    2> Edit old status
    The last saved authorization data for the role is displayed. This is not useful, if transactions in the role menu have been changed.
    3> Read old status and compare with new data
    If you change transactions in the role menu, this option is the preconfigured. The profile generator compares the existing authorization data with the authorization default values for the menu transactions. If new authorizations are added during this process, they receive the status New. Authorizations that already existed receive the status Old.
    Note the following during the comparison:
    Values for organizational levels that are no longer required are deleted, all others are retained. If new organizational levels are added, you need to maintain them.
    The standard authorization for the object S_TCODE is always automatically filled with the current transactions from the role menu. It cannot be copied or manually changed, only deactivated.
    Thanks,
    Saby..

  • What is difference between tha master data and tranction data

    Hi, Gurus
    this is  sudhakar
    i want to no what is the difference between the transaction data and master data  give with examples .
    Thanks
    sudhakar

    Hi,
    The most important data classes are master data, transaction data, organizational data and system
    data.
    Master data is data that is rarely modified. An example of master data is the data of an address file, for
    example the name, address and telephone number.
    Transaction data is data that is frequently modified. An example is the material stock of a warehouse,
    which can change after each purchase order.
    Organizational data is data that is defined during customizing when the system is installed and that is
    rarely modified thereafter. The country keys are an example.
    System data is data that the R/3 System itself needs. The program sources are an example
    for more info go through..
    [http://help.sap.com/saphelp_nw70/helpdata/]
    regards,
    NR

  • Difference between Activating Master Data and Attribute Change Run

    Hi
    Is there any difference between Atribute change run and Activating Master data functionaaly???
    if wha it is???
    can any one explain clearly?
    Thanks
    Chinna

    When u load master data and its attribute to ur data target and if u change any data or attributes of ur master data,in order to update new data to ur data target attribute change run is performed.
    When u create a characteristic and if u keep it as master data and activated..it is master data activation
    Activating Master Data
    When you update master data from an SAP system the master data is imported in an inactive state. You must activate the new master data so that it can be accessed and used for reporting purposes.
    For more information, see Versioning Master Data.
    Choose the path InfoObject Tree Context Menu of Corresponding Characteristic Activate Master Data.
    Upon Activation there are two scenarios to choose from:
    The Corresponding Master Data Is Already Being Used in Aggregates in the InfoCube:
    If you are already using the available master data in aggregates in InfoCubes, you cannot activate the master data individually. In this case, proceed as follows:
    1. In the main menu, choose the path Tools Hierarchy/Attribute Change.
    2. Proceed as described in System Response upon Changes to Data: Aggregate.
    The system now automatically restructures and activates the master data and its aggregates.
    Please note that this process can take several hours if the volume of data is relatively high. Therefore, you should simultaneously activate all of the characteristics that are affected by changes to their master data, at regular intervals.
    The Corresponding Master Data Is Not Used in Aggregates:
    Choose the path InfoObject Tree ® Context Menu of Corresponding Characteristic Activate.
    The system now automatically activates the master data so that it can be used directly in reporting.
    If there is any change r newly added records in master data..then that particular data will not b avialable for the reporting unless u do activate master data...
    if u r using aggregates and then there is any change in master data ...then that particular master data change wil not b available for the reporting unless u do arrtibute change run for that info object.(T-code RSATTR)
    Master data attributes and hierachies are used in cube aggregates also. So to do update the latest master data attributes values in the aggregtes attribute change run need to be performed.So Attribute change run also updates the master data attributes in aggregates which is not apart of master data activation.
    Text loads do not need attribute change run. Attributes, hierarchies and aggregates need attribute/hierarchy change runs. If you do not have aggregates, just activating the master data is same as attribute change run.

  • What is the difference between System.out.println() and System.out.print()?

    Hi everyone,
    I am only a new comer and know very little about Java. I will appreciate a lot if anyone teaches me what the difference between two method println and print is? Thank you so much.

    The PrintStream class defines a number of print() methods that ... print
    things. System.out is a commonly used PrintStream.
    The difference between the print(...) and println(...) methods is that the
    second one prints a new line at the end. What it actually prints varies
    from system to system: sometimes it will output a '\n' sometimes not.
    There is a system property called line.separator that determines
    how a new line is output.

  • Difference between earliest master data and master data change bonus

    Hi,
          Can anyone tell me what is the exact difference between earliest master data change and master data change bonus? Whenver any infotype is changed, why are the dates updated in both the fields? Is  it not enough if only Earliest master data change field is updated? I was thinking that Earliest master data change bonus field is updated when IT267 is created, but even if i change the time data both the fields are getting updated. Please advise?
    Thanks

    Hi,
    Earliest master dat change date is date beyond which no master data change can be put in for employee in infotype.
    It is used to restrict any master data entry beyond certain date as restriction for employees that client has set and is moreover controlled at control record level but ocassionally used at employee level whenever payment was hold for long time and so on.
    Master data change bonus date is date which gets automatically filled in whenever there is any master data change.
    This date cannot be past earliest master data change date and will throw error if tried for employee to input.
    Thanks,
    Ameet

  • Difference between using history data and do not

    hi,
    I'm Tran, I come from VietNam.
    I've just learned LabView, I dont know the difference between using history data ( propety note of waveform chart ) and do not.
    please help me. And give me an example in labview or give me some document of this problem!!
    Tran
    thanks!!!

    aloalo wrote:
    I dont know the difference between using history data ( propety note of waveform chart ) and do not.
    Your question isn't clear, but I would like to say that, I've many times used this particular property node for clear the data (graph) from the chart.
    I am not allergic to Kudos, in fact I love Kudos.
     Make your LabVIEW experience more CONVENIENT.
    Attachments:
    Example - Using HISTORY PN [LV 80].vi ‏16 KB

  • Query to find the difference between the last date and the second to the last date

    Hi all,
    Hope all is well.
    I am working on the following problem because I am trying to improve my MS SQL skills. But I am stuck at the moment and I wonder if you could provide some assistance please. Here is the issue:
    Table 1: Dividends
    divId
    ExDate
    RecordDate
    PayDate
    Amount
    Yield
    symId
    1
    2013-02-19
    2013-02-21
    2013-03-14
    0.23
    0.00000
    3930
    2
    2012-11-13
    2012-11-15
    2012-12-13
    0.23
    0.00849
    3930
    3
    2012-08-14
    2012-08-16
    2012-09-13
    0.20
    0.00664
    3930
    4
    2012-05-15
    2012-05-17
    2012-06-14
    0.20
    0.00662
    3930
    5
    2012-02-14
    2012-02-16
    2012-03-08
    0.20
    0.00661
    3930
    6
    2011-11-15
    2011-11-17
    2011-12-08
    0.20
    0.00748
    3930
    7
    2011-08-16
    2011-08-18
    2011-09-08
    0.16
    0.00631
    3930
    8
    2011-05-17
    2011-05-19
    2011-06-09
    0.16
    0.00653
    3930
    9
    2011-02-15
    2011-02-17
    2011-03-10
    0.16
    0.00594
    3930
    10
    2010-11-16
    2010-11-18
    2010-12-09
    0.16
    0.00620
    3930
    11
    2010-08-17
    2010-08-19
    2010-09-09
    0.13
    0.00526
    3930
    12
    2010-05-18
    2010-05-20
    2010-06-10
    0.13
    0.00455
    3930
    13
    2010-02-16
    2010-02-18
    2010-03-11
    0.13
    0.00459
    3930
    Table 2: Tickers
    symId
    Symbol
    Name
    Sector
    Industry
    1
    A
    Agilent Technologies Inc.
    Technology
    Scientific & Technical Instruments
    2
    AA
    Alcoa, Inc.
    Basic Materials
    Aluminum
    3
    AACC
    Asset Acceptance Capital Corp.
    Financial
    Credit Services
    4
    AADR
    WCM/BNY Mellon Focused Growth ADR ETF
    Financial
    Exchange Traded Fund
    5
    AAIT
    iShares MSCI AC Asia Information Tech
    Financial
    Exchange Traded Fund
    6
    AAME
    Atlantic American Corp.
    Financial
    Life Insurance
    7
    AAN
    Aaron's, Inc.
    Services
    Rental & Leasing Services
    8
    AAON
    AAON Inc.
    Industrial Goods
    General Building Materials
    9
    AAP
    Advance Auto Parts Inc.
    Services
    Auto Parts Stores
    10
    AAPL
    Apple Inc.
    Technology
    Personal Computers
    11
    AAT
    American Assets Trust, Inc.
    Financial
    REIT - Office
    12
    AAU
    Almaden Minerals Ltd.
    Basic Materials
    Industrial Metals & Minerals
    I am trying to check the last date (i.e. max date) and also check the penultimate date (i.e. the second to the last date).  And then find the difference between the two (i.e. last date minus penultimate
    date).
    I would like to do that for each of the companies listed in Table 2: Tickers.  I am able to do it for just one company (MSFT) using the queries below:
    SELECT
    [First] = MIN(ExDate),
    [Last] = MAX(ExDate),
    [Diff] = DATEDIFF(DAY, MIN(ExDate), MAX(ExDate))
    FROM (
    SELECT TOP 2 Dividends.ExDate
    FROM Dividends, Tickers
    WHERE Dividends.symId=Tickers.symId
    AND Tickers.Symbol='MSFT'
    ORDER BY ExDate DESC
    ) AS X
    Outputs the following result:
    First
    Last
    Diff
    2012-11-13
    2013-02-19
    98
    But what I would like instead is to be able to output something like this:
    Symbol
    First
    Last
    Diff
    MSFT
    2012-11-13
    2013-02-19
    98
    AAN
    2012-11-13
    2012-12-14
    1
    X
    2012-11-13
    2012-12-14
    1
    Can anyone please let me know what do I need to add on my query in order to achieve the desired output?
    Any help would be greatly appreciated.
    Thanks in advance. 

    Could you try this?
    create table Ticker (SymbolId int identity primary key, Symbol varchar(4))
    insert into Ticker (Symbol) values ('MSFT'), ('ORCL'), ('GOOG')
    create table Dividend (DividendId int identity, SymbolId int constraint FK_Dividend foreign key references Ticker(SymbolId), ExDate datetime, Amount decimal(18,4))
    insert into Dividend (SymbolId, ExDate, Amount) values
    (1, '2012-10-1', 10),
    (1, '2012-10-3', 1),
    (1, '2012-10-7', 7),
    (1, '2012-10-12', 2),
    (1, '2012-10-23', 8),
    (1, '2012-10-30', 5),
    (2, '2012-10-1', 10),
    (2, '2012-10-6', 1),
    (2, '2012-10-29', 7),
    (3, '2012-10-1', 22),
    (3, '2012-10-3', 21),
    (3, '2012-10-7', 3),
    (3, '2012-10-12', 9)
    WITH cte
    AS (SELECT t.Symbol,
    d.ExDate,
    d.Amount,
    ROW_NUMBER()
    OVER (
    partition BY Symbol
    ORDER BY ExDate DESC) AS rownum
    FROM Ticker AS t
    INNER JOIN Dividend AS d
    ON t.SymbolId = d.SymbolId),
    ctedate
    AS (SELECT Symbol,
    [1] AS maxdate,
    [2] AS penultimatedate
    FROM cte
    PIVOT( MIN(ExDate)
    FOR RowNum IN ([1],
    [2]) ) AS pvtquery),
    cteamount
    AS (SELECT Symbol,
    [1] AS maxdateamount,
    [2] AS penultimatedateamount
    FROM cte
    PIVOT( MIN(Amount)
    FOR RowNum IN ([1],
    [2]) ) AS pvtquery)
    SELECT d.Symbol,
    MIN(MaxDate) AS maxdate,
    MIN(penultimatedate) AS penultimatedate,
    DATEDIFF(d, MIN(penultimatedate), MIN(MaxDate)) AS numberofdays,
    MIN(MaxDateAmount) AS maxdateamount,
    MIN(penultimatedateAmount) AS penultimatedateamount,
    MIN(MaxDateAmount) - MIN(penultimatedateAmount) AS delta
    FROM ctedate AS d
    INNER JOIN cteamount AS a
    ON d.Symbol = a.symbol
    GROUP BY d.Symbol
    ORDER BY d.Symbol
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers.
    Thanks!
    Aalam | Blog (http://aalamrangi.wordpress.com)

  • Question about zeroing out data...

    I'm currently zeroing out my Time Capsule's hard drive and starting fresh with backing up. I started doing a 7 pass method the other day, but figured it was overkill and bad on the hard drive, so I stopped it a quarter of the way through pass 2. Does this mean that at least the one full pass was done successfully? Also, to make sure that everything is truly zeroed out, I started a one-time zero out erase. So, does this mean, then, that my TC truly has been zeroed out twice for starting over on my backups?
    And, while we're on the subject, I did some research on zeroing out data. Most people are in agreement that doing one pass is good enough. Apple recommends twice for a fully secure wipe. While researching this, I found that some claim that zeroing out a hard drive during a 7 pass and 35 pass method significantly decreases the lifespan of a hard drive. Is this myth busted or confirmed? Also, is zeroing out data only once already harmful to an HD's lifespan?

    William Boyd, Jr. wrote:
    apple_kmj wrote:
    I'm currently zeroing out my Time Capsule's hard drive and starting fresh with backing up.
    I'll leave to others the answering of your questions, but I have one of my own: What are you hoping to accomplish by zeroing out your Time Capsule's drive? I would only consider that useful if I were planning to sell or otherwise dispose of a Time Capsule.
    I heard that it's the best way to go if you have a lot of data synced and you don't want to individually pick out data to delete. Also, backups were taking a while, and I noticed that my Time Machine had nothing on it even though my Time Capsule showed as having almost 80 GB of data backed up. So, just to eliminate any potential problems, I zeroed out data and started over again.

Maybe you are looking for

  • If I change my iPhone phone number can I use the same iTunes backup?

    If I change my iPhone phone number can I use the same iTunes backup? Keeping iPhone 4, just want to change number and keep settings and all that.  Is it possible?

  • Performance before and after

    I would like to run the following command to increase efficieny of the database. However I would like to know how to determine if these commands really make a difference to database performance. analyse schema dbms...gather index statistics table Is

  • Linux-3.10.10 fails silently when booting with UEFI

    This problem has occured for me on several occasions in the past (with 3.10.2 and 3.10.8) but that has been with kernels in [testing]. With 3.10.10 dropping to [core], this is the first time this has happened for me with an official release. Though t

  • My iPod mini's display is blank

    I KNOW that the contrast is as high as it goes, but the display is totally blank. If I keep pushing the buttons I can make it play, but can't read anything. Just this morning when I plugged it into the computer, the battery thing came on very strong,

  • Ipad disable question please help

    I am having an annoying problem. I am from Vietnam but currently staying in Australia.  My girlfriend bought an iPad 4 in Vietnam from a mobile phone retail store (not sure if it is official retail or not) and she had never used any smartphone or eve