[Fubar] Oh boy, did mkfs.ext4 on an already installed to partition

Long story quickly, I did mkfs.ext4 on an already ext4 partition.  I was kinda casual about it because I made a backup before I did this, but now it turns up my backup is bad (not sure how that happened) and will only extract about half the files before erroring out.  Not a huge deal as I did a full backup five days ago, but a few things back would be nice.  I've looked around and haven't been able to find anything.  Has anyone come across a way to be able to reconstruct the files that are on there?
Last edited by Gen2ly (2010-04-01 06:49:07)

Gen2ly wrote:but now it turns up my backup is bad (not sure how that happened) and will only extract about half the files before erroring out.
Do you know this because you were trying to restore to the partition in question? Or is that partition still clean (freshly mkfs'd)?
If the latter, then yeah, I've in the past fully recovered from a mistaken reformat. I don't remember any more what utility I used (nor whether it was a Mac or a Linux utility), but as to possibility, this is certainly possible. Once you start writing to the partition in question though, I think in practical terms you can forget it. Individual files that haven't been written to will still be recoverable, but when I've had to do *that* in the past everything I could get back came back flat (no dir structure, I think even filenames were lost). So though there was a lot of raw data recovered, it was practically too hard to sift through it, I just gave up. If at all possible, you want to recover the old filesystem.

Similar Messages

  • Unable to mkfs.ext4 - in use by system

    Hi,
    I created 3 logical partitions on my laptop using cfdisk and booted the arch dual installer using a usb drive. I then try to
    mkfs.ext4 /dev/sda6
    which is my / partition and I get the following message
    /dev/sda6 is apparently in use by the system; will not make a filesystem here!
    Since I booted via USB I don't see how this could be true. Any help would be great! Also I did search but couldn't find anything. This is going to be a dual boot system with windows 7.
    Update: I created partitions with both cfdisk and fdisk and it made no difference. Still unable to mkfs.ext4 and even mkswap
    Thanks!
    Last edited by sinisterz (2012-09-25 00:10:46)

    Did you make sure the partition was NOT mounted before running the command? Also you could try using GParted (various Live CDs available) for creating partitions and formatting.
    Last edited by anonymous_user (2012-09-25 00:22:24)

  • Unable to create filesystem (mkfs.ext4) on large 2TB GPT virtual disk using Linux VM.

    I am unable to create a file system on a large (> 2TB disk) virtual disk for a Linux VM.  I can create the disk, attach it to the VM, partition it with "parted", but I cannot run mkfs.ext4.  Details below.
    Hyper-V 2012 Core (w/ all Windows/Microsoft updates as of 4/19).
    CentOS 6.4 VM w/ 4 virtual processors, 4GB RAM, and 3 dynamic drives: 
    /dev/sda  100GB IDE dynamic vhdx
    /dev/sdb  75GB IDE dynamic vhdx
    /dev/sdc  10TB SCSI dynamic vhdx
    Using parted, created 500GB partition on the 10TB drive (/dev/sdc1). 
    (parted) select /dev/sdc
    Using /dev/sdc
    (parted) print
    Model: Msft Virtual Disk (scsi)
    Disk /dev/sdc: 11.0TB
    Sector size (logical/physical): 512B/4096B
    Partition Table: gpt
    Number  Start   End    Size   File system  Name                Flags
     1      1049kB  500GB  500GB               production_archive
    then run: mkfs.ext4 /dev/sdc1
    repeating error on console from mkfs.ext4:
    INFO: task mkfs.ext4:2581 blocked for more than 120 seconds
    "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
    Runaway error in var/log/messages until my /var system filled up - 25G worth of it:
    -rw-------. 1 root root 25085329408 Apr 19 23:15 messages
    Apr 19 17:39:28 nfs2 kernel: sd 4:0:0:0: [sdc] Sense Key : No Sense [current]
    Apr 19 17:39:28 nfs2 kernel: sd 4:0:0:0: [sdc] Add. Sense: No additional sense information
    Apr 19 17:39:28 nfs2 kernel: hv_storvsc vmbus_0_13: cmd 0x93 scsi status 0x2 srb status 0x6
    Same problem happens when running "mkfs.ext4 -E lazy_itable_init=1 /dev/sdc1"

    Hi,
    Thank you for your post.
    I am trying to involve someone familiar with this topic to further look at this issue.
    Lawrence
    TechNet Community Support

  • I am using an Mac PPC version 10.5.8 and I am trying to download the correct version of Flash Player.  I did once but I had to install a "Clean Install" of my computer and when finished I had put back the new Flash Player I just installed well every time

    I am using an Mac PPC version 10.5.8 and I am trying to download the correct version of Flash Player.  I did once but I had to install a "Clean Install" of my computer and when finished I had put back the new Flash Player I just installed well every time I try install the new player it is place in my Trash Folder and I can not get Player to work.  I did everything I was to install it correctly but it still does not install it correctly.  Can some help me.  Bob

    Some MacBook Pro versions cannot be upgraded past 10.6.8; others are maxed out at 10.7.5. newer models can go all the way to 10.10. So it is important to know exactly what version you have--there may be close to 40 variants produced since the MB made its debut in 2006.
    You can safely give us a snapshot of your model and its current config that will allow us to deternmmine your model and its upgrade potential, plus show it you have any software that may impede any upgrades. Please download and install this free utility:
    http://www.etresoft.com/etrecheck
    It is secure and written by one of our most valued members to allow users to show details of their computer's configuration in Apple Support Communities without revealing any sensitive personal data.
    Run the program and click the "Copy report to clipboard" button when it displays the results. Then return here and paste the report into a response to your initial post. It can often show if any harmful files/programs are dragging down your performance.
    Remember that, on leaving OS10.6.8, you lose the ability to run older softare written for older PowerPC Macs (yours in Intel-based). Programs such as Office 2004 will no longer work (min of Office 2008 needed to work on newer OS versions), and AppleWorks will stop working completely

  • When I try to install icloud on my laptop running windows 7 home premieum I get message saying the windows installer package wont complete as a program run as part of setup did not finish as expected   the install then rolls back   I have tried  rein

    when I try to install icloud on my laptop running windows 7 home premieum I get message saying the windows installer package wont complete as a program run as part of setup did not finish as expected   the install then rolls back   I have tried  reinstall   deleting files signing on with another account etc  nothing works   I have read this is an apple programing problem  if so is there a fix  I need iclouds  thanks

    This other discussion may help: Re: how do I install icloud

  • I did not realize Ilife was already on the new mac, and installed I life from a disk. Now Iphoto has a  circle with a slash, when trying to open is says (you can open iPhoto because is may be damaged or incomplete. ?

    I did not realize Iife was already on the new mac, and installed I life from a disk. Now Iphoto has a  circle with a slash, when trying to open is says (you can open iPhoto because is may be damaged or incomplete. ?

    This sounds different than with my IOS devices, since I am able to see the photos even with a connection to the Internet.
    Do you mean without a connection to the internet? With a connection it's logical you would be able to see the PS.
    The following is from iCloud: Photo Stream FAQ
    Can photos be saved or downloaded from a shared photo stream?
    Yes. Once photos are shared, anyone who can view the shared photo stream can download and keep the photos permanently.
    On a device using iOS 6 or later, you can save photos to the Camera Roll. On a Mac, using iPhoto 9.4 or Aperture 3.4, you can save photos from the shared stream to your local Photo Library or any other location on your Mac. On a Windows PC, you can copy photos from a shared photo stream to any folder. On the web, photos can be downloaded directly to your computer from the detail view of each photo.
    This tells me that the image files are not on the HD unless the subscriber chooses to download them.

  • I descarguei these new versions adobe creative Cloud, y uninstalled for removing the trash, why did not interest me, then appearing me sigue to update something that I have not already installed, how do I solve this problem?

    I descarguei these new versions adobe creative Cloud, y uninstalled for removing the trash, why did not interest me, then appearing me sigue to update something that I have not already installed, how do I solve this problem?

    Link for Download & Install & Setup & Activation problems may help
    -Online Chat http://www.adobe.com/support/download-install/supportinfo/

  • Setup did not find any hard disks installed in your computer

    OK, I spent about 30 minutes looking for a solution to this and haven't found anything. I'm too lazy to keep looking, and I need to get back to work...
    Setup info:
    -Mac Pro (Early 2008)
    -Dual 3.2Ghz processors
    -32GB RAM
    -RAID Card with four 1TB drives attached (RAID 5 with two volumes: one Mac OS X 10.5.3 and one Mac OS X Server 10.5.3)
    -320GB SATA drive that originally came with the unit in hard drive bay 1, now installed in the 2nd optical drive bay and connected to the 5th internal SATA port. It's partitioned with BootCamp: 32.88GB for Mac OS X 10.5.3 (installed and running, used to create the BootCamp partition) and 264.71GB available for Windows.
    Windows install disc:
    Took my Windows XP SP1 install disc and used nLite to slipstream SP2 and SP3 and burn a new install disc.
    When I boot into the Windows install disc, everything goes fine, until it actually gets to the part where I should be selecting my hard drive (Hit Enter to Install Windows) for installation. Instead , when I hit enter, I get the message that "+Setup did not find any hard disks installed in your computer. blah, blah, blah, hit F3 to restart.+"
    I'm assuming this is a SATA issue and that I need to get a SATA driver slipstreamed into my install disc so that the Windows installer will see the SATA drive.
    Any suggestions on how to proceed?

    Everything I've read says that that won't work because I have the RAID card.
    Sounds like I'm out of luck, if BootCamp can't be installed on a SATA drive not connected to one of the original 4 bays.
    Also, I'm concerned about taking the RAID drives out (I'd have to take all 4 out or it corrupts the RAID setup when I stick the one back in) then putting them back in and having everything return to an All Good status.
    Message was edited by: chadcole26

  • I lost an iPad which did not have iCloud or Mobilme installed. Is it possible to find it?

    I lost an iPad that did not have iCloud or Mobilme installed. Can it be found?

    If you had "Find My iPhone" enabled in Settings > iCloud then you may be able to locate it. If not, you cannot locate it.

  • Installed windows update, appears to have been June 16 2011 at 3:00.13 am now can't get on line I did a restore to previous of install and all worked oK

    This started with windows 7 update June 16 2011
    installed windows update, appears to have been June 16 2011 at 3:00.13 am now can't get on line I did a restore to previous of install and all worked oK But This morn I restarted my computer and update reinstalled and I don't have a restore point that will help (my bad)

    These are the updates that were installed
    Security Update for Windows 7 for x64-based Systems (KB2476490)
    Installation date: ‎6/‎16/‎2011 11:31 PM
    Security Update for Windows 7 for x64-based Systems (KB2544893)
    Windows Malicious Software Removal Tool x64 - June 2011 (KB890830)
    Security Update for Windows 7 for x64-based Systems (KB2535512)
    Security Update for Windows 7 for x64-based Systems (KB2503665)
    Security Update for Internet Explorer 8 for Windows 7 for x64-based Systems (KB2544521)
    Security Update for Windows 7 for x64-based Systems (KB2536276)
    Security Update for Windows 7 for x64-based Systems (KB2525694)
    Cumulative Security Update for Internet Explorer 8 for Windows 7 for x64-based Systems (KB2530548)
    Security Update for .NET Framework 3.5.1 on Windows 7 and Windows Server 2008 R2 for x64-based Systems (KB2518867)
    Update for Windows 7 for x64-based Systems (KB2488113)
    Security Update for Windows 7 for x64-based Systems (KB2536275)
    Security Update for Microsoft .NET Framework 4 on Windows XP, Windows Server 2003, Windows Vista, Windows 7, Windows Server 2008, Windows Server 2008 R2 for x64-based Systems (KB2518870)
    Security Update for Windows 7 for x64-based Systems (KB2476490)
    Security Update for Microsoft .NET Framework 4 on Windows XP, Windows Server 2003, Windows Vista, Windows 7, Windows Server 2008, Windows Server 2008 R2 for x64-based Systems (KB2478663)
    Security Update for .NET Framework 3.5.1 on Windows 7 and Windows Server 2008 R2 for x64-based Systems (KB2478661)
    Security Update for Windows 7 for x64-based Systems (KB2544893)
    Installation date: ‎6/‎16/‎2011 3:00 AM

  • Unable to create filesystem (mkfs.ext4) 2TB CentOS 6.5 VM

    All, We have been having trouble creating disk volumes larger than 2TB on CentOS machines in our lab environment that consists of Hyper-V 2012 R2.
    Today we came a step closer with the help of
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/bc1ee7e7-dcaf-455b-baec-01e6128ddd28/action?threadDisplayName=unable-to-create-filesystem-mkfsext4-on-large-gt-2tb-gpt-virtual-disk-using-linux-vm - which suggests mkfs with the '-K' option.
    This has created a mountable logical volume, however it only registers as 2TB, rather than the actual size of 4TB. I notice the article is over a year old. Has there been any fixes?
    The alternative would be multiple 2TB drives..

    As part of the product team that does Linux on Hyper-V, we've recently spent some time investigating this problem.  It occurs because Linux issues a SCSI "WRITE_SAME(16)" command, which is not implemented by Hyper-V.  WRITE_SAME(16) is optional
    in the SCSI spec, so it's OK that Hyper-V doesn't implement it, but the problem is that Hyper-V doesn't return the correct error code and sense info to indicate that it's unimplemented.  With the correct error code from Hyper-V, Linux would use alternate
    SCSI commands and everything would work.
    We're looking into possible fixes.  Hopefully in the next couple of weeks we can have an update on what to expect.
    We believe Ubuntu 14.04 actually works correctly on Hyper-V due to a complicated set of other reasons.  RHEL 7.0 does not work, and the other file system types don't typically avoid the problem either.
    Michael Kelley, Lead Program Manager, Open Source Technology Center

  • I messed with my firefox tabs that are in the top L corner and now I have no bar or no way to delete my history or print boy did I screw up

    I was messing with my clear history button and it wasnt working right and some how pushed a button something about a full page and now all my firefox stuff is all gone and I have to put my pointer close to the top to just get to my home button and favorites but leave it to me of course to come up with a problem that hasnt been asked even though i not a newbie i sure feel that way sometimes like NOW!!!!!

    OH COREL THANK YOU SO MUCH YOUR SUCH A SWEETHEART IT WORKED AND IM HAVING A GOOD DAY AND THE RAIN HAS GONE AWAY AND THE SUN IS SHINNING!!!!!!

  • Trying to upgrade from snow leopard to lion. Father already purchased Lion online a few months ago but did not use upgrade (did not know cmp was already running on lion). How can I use his upgrade on my computer without having to buy another Lion upgrade?

    Hi,
    Basically my computer is running on Snow Leopard. My father bought the Lion upgrade to install on his computer, however, it ended up being that his newly purchased lap top already came running with Lion -- thus, he never ended up using the Lion upgrade he purchased. Now, I would like to use the Lion upgrade he purchased but did not use to upgrade my computer to Snow Leopard. The information he gave me for this was the Web Order Number, Part Number, and Content Code for the Lion upgrade. How do I redeem/use his upgrade to update my computer to Lion without having to purchase another copy of the Lion software from the App store? Is that possible?
    Thank you so much!!!

    Unless he controls your machine (same household), you can't. At $30 USD, pop for your own copy.

  • Why did this fix my adobe Air install problem?

    I had Air installed which I needed to run this porgram You Select it which needs adobe flash and Air to run.. The other day the program would not open up.
    I tried a number of things could not get it to work. Deleted the program, and tried installing Air again, and Flash. Flash would install fine but not Air.
    I searched the WEB and found a forum which said if You install Firefox web browser and run it while you install Air it will work.. I did and got Air and my Program installed fine.
    I have no clue why that worked but it did.

    was it shutting down when it was plugged in?

  • I can't get firefox to remember my passwords and open the site automacially, It did it at first when I installed firefox but now it won't and I have remember passwords checked in the tool

    I just reinstalled firefox on my computer and the password feature to remember then worked for all my sites for a couple days and now firefox does not remember my username or password and I have remember password checked in the tool section. What can I do to correct this. Does it have anything to do with me having the setting to not remember any history?

    Did you look at this? Should be helpful :)
    http://support.mozilla.com/en-US/kb/Username%20and%20password%20not%20remembered#os=win&browser=fx4

Maybe you are looking for