Recovery of files from a damaged disk

Mid 2008 MacBook: All the disk utilities and fsck -fy indicate an error in the disk and stop working. I can boot to a linux OS and see the contents of the drive but the documents folder is locked, saying I'm not the owner. At this point i just want a few of the files. How can i unlock the files or access/copy them. Can i reset permissions with the install disk?

Use the sudo command in Linux.
(100786)

Similar Messages

  • Deleting the old Archive Log Files from the Hard Disk

    Hello All,
    I want to delete the old archive files of Oracle. These files are very old and consuming very huge disk space.
    Is there any way by which I can delete these files from the Hard Disk?
    Can I directly delete them using the Operating System Command?
    Will it cause any dilfference to the normal functioning of my Database?
    If I need to delete these files, do I need to bring the database down?
    Please guide me.
    I need to do this activity to make some space free on the Hard Disk.
    Thanks in advance.
    Himanshu

    Hi.
    Keep archived logs from time of last backup and forward to currenct time on disk together with the backup itself. And keep older archived logs together with older warm/cold backupfiles on tape as long as there is enough capasity or following your recovery strategy. This way you might be able to roll forward a recovery without restoring these files from tape which often the faster.
    Older archived logs can be deleted manually, with scheduled OS script or automatically with RMAN.
    Good luck
    rgds
    Kjell Ove

  • How can I remove files from the startup disk

    I am getting a screen when I am trying to quit saying   the "MAC OS X startup disk has no more space available for application memory"  by closing the windows and removing files from the startup disk will help.
    How do I do this?

    That error message is misleading. Your problem is excessive swapping of data between physical memory and virtual memory.
    That can happen for two reasons:
    You have a long-running process with a memory leak (i.e., a bug), or
    You don't have enough memory installed for your usage pattern.
    Tracking down a memory leak can be difficult, and it may come down to a process of elimination.
    In the Activity Monitor application, select All Processes from the menu in the toolbar, if not already selected. Click the heading of the  Real Mem column in the process table twice to sort the table with the highest value at the top. If you don't see that column, select
    View ▹ Columns ▹ Real Memory
    from the menu bar.
    If one process (excluding "kernel_task") is using much more memory than all the others, that could be an indication of a leak. A better indication would be a process that continually grabs more and more real memory over time without ever releasing it. Here is an example of how it's done.
    The process named "Safari Web Content" renders web pages for Safari and other applications. It uses a lot of memory and may leak if certain Safari extensions or third-party web plugins are installed. Consider it a prime suspect.
    If you don't have an obvious memory leak, your options are to install more memory (if possible) or to run fewer programs simultaneously.
    The next suggestion is only for users familiar with the shell. For a more precise, but potentially misleading, test, run the following command: 
    sudo leaks -nocontext -nostacks process | grep total
    where process is the name of a process you suspect of leaking memory. Almost every process will leak some memory; the question is how much, and especially how much the leak increases with time. I can’t be more specific. See the leaks(1) man page and the Apple developer documentation for details.

  • How to get the absolute path of a file from the local disk given the file n

    how to get the absolute path of a file from the local disk given the file name

    // will look for the file at the current working directory
    // this is wherever you start the Java application (cound be C: and your
    // application is located in C:/myapp, but the working dir is C:/
    File file = new File("README.txt"); 
    if (file != null && file.exists())
        String absolutePath = file.getAbsolutePath();

  • Problems with indexing files from my hard disk

    Hi everybody,
    I'm a newbie to oracle and i'm trying to index files from my hard disk with oracle text. After i created a simple text file (path: 'c:\tmp\test.txt') and filled it with a short text, i executed the following lines without an error message:
    grant connect, resource, ctxapp to myuser;
    create table myuser.testtab(id number primary key, text BFILE);
    create or replace directory test_dir as 'c:\tmp';
    grant read on directory test_dir to myuser;
    insert into myuser.testtab (id, text) values (1, BFILENAME('test_dir','test.txt'));
    create index myuser.idx_test on myuser.testtab(text) indextype is ctxsys.context;
    the record in the table testtab is stored, but the index table is empty. After i tried to get information about the bfile with java i got an SQLException with the Error-Code ORA-22285 after executing the following lines:
    BFILE file = null;
    try{
    rset = stmt.executeQuery("select text from testtab where id = 1");
    if (rset.next()) {
    file = ((OracleResultSet) rset).getBFILE(1);
    System.out.println("Result from fileExists: " + file.fileExists()); //This is the line where the exception is thrown
    } catch (Exception e){
    e.printStackTrace();
    I would be obliged for any information to this problem.
    Thanks in advance,
    Chris J.
    PS: i'm using Oracle 11.2g on Windows 7

    I got your problem. Drop all the directory,table and index. Log in as "myuser" and do all the things. See the demo below. Don't use myuser.object name When executing the commands from "myuser".
    SQL> conn sys@xe as sysdba
    Enter password: ******
    Connected.
    SQL> create table hr.testtab(id number primary key, text BFILE);
    Table created.
    SQL> create or replace directory test_dir as 'c:\';
    Directory created.
    SQL> grant read on directory test_dir to hr;
    Grant succeeded.
    SQL> insert into hr.testtab (id, text) values (1, BFILENAME('test_dir','test.txt'));
    1 row created.
    SQL> ed
    Wrote file afiedt.buf
      1* create index hr.idx_test on hr.testtab(text) indextype is ctxsys.cont
    SQL> /
    Index created.
    SQL> select * from ctxsys.CTX_INDEX_ERRORS;
    ERR_INDEX_OWNER                ERR_INDEX_NAME                 ERR_TIMES
    ERR_TEXTKEY
    ERR_TEXT
    HR                             IDX_TEST                       31-AUG-10
    AAAEjaAABAAAKsKAAA
    DRG-50857: oracle error in drstldef
    ORA-22285: non-existent directory or file for FILEEXISTS operation
    SQL> conn hr@xe
    Enter password: **
    Connected.
    SQL> select * from CTX_USER_INDEX_ERRORS;
    ERR_INDEX_NAME                 ERR_TIMES ERR_TEXTKEY
    ERR_TEXT
    IDX_TEST                       31-AUG-10 AAAEjaAABAAAKsKAAA
    DRG-50857: oracle error in drstldef
    ORA-22285: non-existent directory or file for FILEEXISTS operation
    SQL> conn sys@xe as sysdba
    Enter password: ******
    Connected.
    SQL> drop directory test_dir;
    Directory dropped.
    SQL> conn hr@xe
    Enter password: **
    Connected.
    SQL> create or replace directory test_dir as 'c:\';
    Directory created.
    SQL> drop table testtab;
    Table dropped.
    SQL> create table testtab(id number primary key, text BFILE);
    Table created.
    SQL> set serverout on
    SQL> DECLARE
      2   v_file BFILE := BFILENAME ('TEST_DIR', 'test.txt');
      3   BEGIN
      4   IF DBMS_LOB.FILEEXISTS (v_file) = 1 THEN
      5  DBMS_OUTPUT.PUT_LINE ('File exists.');
      6   ELSIF DBMS_LOB.FILEEXISTS (v_file) = 0 THEN
      7  DBMS_OUTPUT.PUT_LINE ('File does not exist');
      8  ELSE
      9   DBMS_OUTPUT.PUT_LINE ('Unable to test existence');
    10   END IF;
    11   END;
    12  /
    File exists.
    SQL> insert into testtab values (1,BFILENAME ('TEST_DIR', 'test.txt'));
    1 row created.
    SQL> create index idx_test on testtab(text) indextype is ctxsys.context;
    Index created.
    SQL> select * from CTX_USER_INDEX_ERRORS;
    no rows selected

  • Remove files from your startup disk

    I'm trying to transfer all of my existing CD's onto my iTunes. I've transfered about 4500 songs so far (18.53 GB) and now when I try to import more, I get an error message that says "the disk I am trying to dowload to is full, please remove some files from your startup disk or empty trash."
    I've emptied my trash, but still get the message. Is it just because I had downloaded too many songs/videos? Is there anything I can remove besides the songs?
    Any help would be greatly appreciated.

    You can safely delete items you don't use from the /Library/Printers/ and /Library/Packages/ folders, and more space can be freed by running Monolingual to delete foreign languages. Deleting architectures with Monolingual shouldn't be done on an Intel Mac unless you know exactly what you're doing.
    (22819)

  • Having trouble transferring large files from SSD startup disk to newly installed internal HDD

    Have just installed an additional 2TB Samsung HDD in place of my optical drive on my late-2011 MacBook Pro.
    Specs:
    MacBook Pro 15inch late-2011
      Model Name: MacBook Pro
      Model Identifier: MacBookPro8,2
      Processor Name: Intel Core i7
      Processor Speed: 2.4 GHz
      Number of Processors: 1
      Total Number of Cores: 4
      L2 Cache (per Core): 256 KB
      L3 Cache: 6 MB
      Memory: 8 GB
      Boot ROM Version: MBP81.0047.B27
    Hard Drives:
      Startup = 120GB SSD
      New HDD = 2TB SATA Samsung M9T
    OS: Yosemite 10.10.1 (14B25)
    Issue:
    Installed my new 2TB SATA drive and it appeared OK in Finder. I was able to navigate to it and create new folders and move small files into it (under 100MB maybe)
    Really want to move my iPhoto library onto the 2TB disk to free up space for Apps on my SSD, but when I try to copy/move it over it only does the first few MB then freezes and appears to timeout as the new HDD disappears from Finder and ejects itself. I'm surprised that the eject stuff shows for an internal HDD but that's a side issue.
    Have read about similar issues in other OS versions, especially around external HDD and have tried the following already:
    *  Looked at power management of the hard disks to stop them going to sleep
    *  Have told Spotlight not to index the new HDD to prevent the indexing task causing issues
    *  Both SSD and new HDD are formatted using MAC OS/X Extended (not FAT)
    *  Have tried fixing permissions on both disks as I believe there can be issues in Yosemite
    I'm still having a problem  despite trying the above. Struggling!
    Any help much appreciated.

    Open Disk Utility. By selecting one of the two entries for the HDD please determine how it is formatted and what partition map it is using. I suspect you did not partition or erase this drive before use. If that's true, then do this:
    Drive Partition and Format
    1. Open Disk Utility in your Utilities folder.
    2. After DU loads select your hard drive (this is the entry with the mfgr.'s ID and size) from the left side list. Click on the Partition tab in the DU main window.
    3. Under the Volume Scheme heading set the number of partitions from the drop down menu to one. Click on the Options button, set the partition scheme to GUID then click on the OK button. Set the format type to Mac OS Extended (Journaled.) Click on the Apply button and wait until the process has completed.
    Now you can try your file transfers again. However, before you do I recommend you clone your SSD to the HDD so the latter could be used as your boot drive should it be needed. That will also create an Home folder on the HDD with the files you wish to move to it. You can then simply remove those files from the SSD to free up the space.
    Clone Yosemite, Mavericks, Lion/Mountain Lion using Restore Option of Disk Utility
    Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
         1. Select Disk Utility from the main menu then press the Continue
             button.
         2. Select the destination volume from the left side list.
         3. Click on the Restore tab in the DU main window.
         4. Select the destination volume from the left side list and drag it
             to the Destination entry field.
         5. Select the source volume from the left side list and drag it to
             the Source entry field.
         6. Double-check you got it right, then click on the Restore button.
    Destination means the new HDD. Source means the SSD startup volume.

  • Retrieving certain files from previous backup disks

    My computer crashed and I ran the Recovery Disks that I created when I first bought it.  This reinstalled Windows 7 to it's factory settings.  I like what I have now but I would like to recover my documents, photos and music from my backup. 
    I have over 90 disks of backup and the first few seem to have the same files on them.
    How do I find my documents, photos and music from the backup disks?  How do I install only those files from the backup?  I don't want the whole backup because I don't want all the stuff that was on the computer before.
    Thank you! 

    Hi christmaslyric,
    How do you create the backup disks?
    Do you select the option Let Windows Choose or Let me choose?
    I have tested in my environment, and I can restore the specific folder like document and music from the backup in my computer.
    Due to the lack of the environment like yours, I suggest you to try to restore these folder from the backup disk and let us know the result.
    Best regards,
    Fangzhou CHEN
    Fangzhou CHEN
    TechNet Community Support

  • Not able to delete file from external hard disk

    I connected my external hard disk to my macbook pro. But am not able to delete any file since it says the file cannot be deleted when I move it to trash. Could you let me know how to delete a file from the external hard disk?

    How is your HDD formatted? NTFS? FAT?
    Did you write files with rights? When you strike +I on any file, you can see its rights; if you're read-only, you may change your file's rights.

  • Unable to delete files from my startup disk; can move to trash and delete them there, but cannot delete from startup disk?

    I constantly get a warning message that my startup disk is full and I need to remove/back up files from it.  I have already backed up the files from my "All Documents" folder, which is on the left side of the menu in my startup disk.  The problem is, I cannot delete those same files from the "All Documents" folder on my startup disk.  It will let me move them to the trash, which I can empty, but they still do not delete from the "All Documents" folder.  Does anyone know why?

    Drag the files you want to delete (this applies to applications too) from their current location to the Trashcan icon in the dock. The trash will appear full. Hold down the control key and click on the Trashcan and select "Empty Trash" from the pop-up menu.
    Alternatives to the control-click method: double-click on the Trashcan and click the "Empty" button in the upper right corner of the window that comes up; right-click on the Trashcan (only works if you have right-click enabled); press shift-command-delete; select "Emtpy trash..." from the Finder menu.

  • How to delete files from start up disk

    Please help. After my macbook air is on for 2-5 mins, it comes up with I need to delete files from my start up disk. I went into start up disk and the only thing in there is the OS X system. So, then a small box appears. and tells me my memory is full and that I need to force quit applications. Sometimes the only application that is on it is finder. At this point the macbook air then freezes and I have to turn it off holding the button down. When I go to turn it back on it will often not turn back on. This laptop is only 11months old and running the new OS X system (mountain Lion) that just came out.

    Use Grandperspective to visually map all files:
    http://www.macupdate.com/app/mac/19515/grandperspective
    Also check this page about clearing drop box cache on your Mac:
    https://www.dropbox.com/help/328/en

  • Can´t copy files from my backup-disk (usb)

    Hi
    I´ve a strange experience with my external USB-Drive. I formated it with Mac OS Extended (Journaled), copied my files onto it and everything worked fine. Now I tried to move some files from this disk back to another, but it does not work. I can´t move any files, even not on the same disk (for example into another folder).
    First thing I took care is the Informationfield, but all rights were as they sould be on "read and write".
    Strange is: I can read these files (for example I can play a file in Quicktime), and make a copy in the same directory, but I can´t move or copy them into another folder or onto another disk.
    Anyone knows about this problem and how to solve it???
    Thanks a lot

    Bless you Malcolm. I had been assuming my disks needed repairing and was very dejected when the problems persisted after repair. I learned a lesson - to be more disciplined in naming my files - short and sweet!
    Thanks to you I can now copy weeks of hard work to master back up.

  • How do I restore files from External Harddrive - Disk warrior cannot rebuild

    Hi Guys
    I have a External Hard drive that I can see via Disk Ulitity and shows in finder - but I cannot see the actual files and directories, hence not being able to copy them to a new external hard drive
    When I connect the External Harddrive to my Macbook I'm getting the message
    "OS X can't repair the disk "Untitled"
    You can still open or copy files on the disk, but you can’t save changes to files on the disk. Back up the disk and reformat it as soon as you can."
    Disk Utility says I have free space so it is recognising the files.   I have Time Machine backups on this external harddrive "Untitled" that I need to critical use.
    Basically how do I get the files off this external harddrive before it fully stops working? I have tried rebuilding the disk with Disk Warrior but this does not work.
    Thank you anyone! I hope someone can help!

    Well, I would skip the Firewire since it isn't essential. Connect the backup drive to your new Retina when it arrives, but before you turn it on for the first time. When you then turn it on you will begin in the Setup Assistant where you will have an opportunity to restore your files from a backup drive or another computer. Select the appropriate option. You can then restore (migrate) your Home folder, third-party applications and support files, and system preferences. Once that is completed when the computer restarts you will be all set up in your old Home folder.
    Note that you will be transferring files over a USB connection. Depending upon how much data you are transferring this may take a very long time, so be patient. A USB drive's typical transfer rate is about 12 GBs/hour.

  • Cannot copy files from external hard disks

    This is happening often enough to be really painful:
    I insert a hard disk. I browse the files on it. I open a new window of Finder and drag some files from the external hard disk into my own machine (OSX Leopard 10.5.5). It croaks, telling me some "permissions" are wrong (Error -36).
    Browsing Google and Macosxhints and all of that, the suggestions indicate that I should "repair permissions", "repair disk", and reboot. All done. Still doesnt work.
    What now? I never had this problem with Windows. What's with this permissions drivel on OSX and how can I fix it once and for all? I only use my machine to browse on Firefox/Safari, talk with Skype, edit with Coda/Transmit, and then Office documents. Which of these tools changes these mysterious permissions so that I have to keep "repairing" again and again???
    Thanks for any pointers or advice!

    I am on shaky ground here because I am totally ignorant about about Windoze and MS-DOS. What I can tell you, though, is that the Unix underpinning of Mac OS X is heavily reliant on the concept of "ownership" which, apart from other factors, has security implications. FAT32 has absolutely no concept of file ownership. (That's why Microsoft encourages everyone to use NTFS instead - mainly for the security implications).
    You need advice - Sorry! - from someone more knowledgeable than me as to how to change both the format (to Mac OS Extended, Journaled) and the Partition Scheme (to GUID) *+while preserving your data+*. I presume that you would need to find a temporary home for that data, after which altering the drive's structures would take only a moment - but as to how to then correctly replace the data onto that drive I would prefer not to say. I would guess that simply transferring the data back onto the drive now with a 'Mac-appropriate' structure would suffice - but PLEASE do not entrust your data to my 'guess'.
    Wait patiently for someone who knows how to advise you to respond in this thread, or post again with a possibly more descriptive/pertinent title.
    Sorry not to have been of any help.
    Andreas

  • No permission to access files from previous hard disk

    I've just changed to a new hard disk and could not open files saved from old hard disk. Message given when i tried to open those files is that i do not have permission. What can be the problem and what is a possible solution?

    If you do a Get Info on the volume, try the "ignore ownership on this volume" item at the bottom. You will have to authenticate by ckicking on the "padlock" before you can change the option.

Maybe you are looking for

  • How to create a database table at runtime

    Hai all, i have a table control having the field names as rows, when i select the rows (not all) i want to create a database table( not internal table ) in the background and for that table table maintainence generator also (in abap don;t tell in OOP

  • Configuring user specified alerts using solution manager

    We are having SolutionManager 4.0 with sp 12. We configurred alerts for different production systems which are in the landscape.Right Now We have special requirent for our R/3 Producton system. We need to setup alert for monitoring of avg response ti

  • Using ftp to Scan to iMac

    I have a networked Dell printer with a scanner. Before I switched to my new iMac with Leopard, I used "SMB to scan to computer," with the result being that the docs just scaned to a folder on my HDD. But now with the iMac and Leopard all I get is "Lo

  • Client Proxy - asynchronous

    HI Guys,      While doing ABAP report as a client proxy. CALL METHOD PRXY->EXECUTE_ASYNCHRONOUS EXPORTING OUTPUT = FS_EMPLOYEE_MT. COMMIT WORK I am getting following error message. I have done XI data structures and activated in SPROXY in ECC.  Pleas

  • Indesign CS6   File Open Fail

    I just upgraded to Mountain Lion OSX 10.8  about 2 weeks ago and was running Indesign CS5.5 fine before the update. Started to get program crashing issues before I even updated the OS, then after, I upgraded to CS6 and now am getting crashes everytim