General :: Recovering 1Tb Ext3 With Fsck.ext3?

May 20, 2011

I Tarred and GZipped most of the data on one 1Tb partition and stuck the archives on a second 1Tb partition on a separate disk. I then proceeded to format the first partition with NTFS (from Linux.) The only problem is that I completely forgot that I had a CD drive and formatted sdc1 instead of sdd1! I began doing a full NTFS format and after a minute or two I cancelled it and decided to do a quick format. I then realized my mistake. I managed to find a copy of the superblock and began trying to recover the disk. fsck -t ext3 recognized the partition as NTFS but I luckily didn't have fsck.ntfs installed so it didn't touch it. I managed to get it working with fsck.ext3 (with -b,-B and -y) fsck.ext3 didn't mind that it was an NTFS partition.

Roughly how long will this take? It's running from Knoppix within a virtual machine to a USB hard drive which is 100% full. Days? Being that for a few minutes I attempted a full format am I going to end up with a bunch of corrupted archives? If I do end up with file corruption can anyone recommend a way of recovering the data / sorting it out? Is it likely to be just a few old files that are corrupt (It's my understanding that filesystems like to keep files in the same area on the disk to minimize the amount of head travel.) This might just be wishful thinking but as the filesystem fills up will ext3 put the newer files towards the end of the disk? If so then I'm hoping that a full NTFS format starts at the beginning of the disk.

View 6 Replies


ADVERTISEMENT

General :: Ubuntu/debian - How To - Fsck.ext3 /dev/hda1 - At The Next Reboot

Jan 11, 2010

I would like to do :

Code:

Code:

Warning: Partition 5 does not end on cylinder boundary.

How can this be possible at reboot (badblocks) ?

(I cannot gparted nor usb because nothing is working) it should fix itself linux (without usb live bootable)

View 2 Replies View Related

General :: Recovering Data From A Severely Damaged Ext3 Partition?

Feb 21, 2011

following problem. A friend phoned me in despair. Her Ubuntu didn't start any more - ASUS-Laptop switched on stops at a ramfs-prompt.
I started Puppy-Linux from DVD-Drive. Worked fine. But puppy can't mount her /dev/sda1 partition either. At least you can see that the partition is still there. Fsck stops with an error. May be the initial problem is a sort of bad hardware by which bad bytes were written to the hard drive. Hard drive and/or memory could be replaced but not the data.

View 7 Replies View Related

General :: Post Update: Fsck.ext3 : No Such File Or Directory While Trying To Open /dev/dm-2

Mar 18, 2010

After a massive update including grub (not the problem) I cannot mount and boot because of the dubject error message. /root (dm-0) and swap (dm-1) are ok its just /home (dm-2) that appears broken.

View 1 Replies View Related

General :: Recovering Data From Ext3 Partition With Hardware Errors - Recovery Required On Readonly Filesystem

Jan 10, 2010

I have an external 3.5" USB 250Gb HDD which is showing symptoms of hardware problems (repeated /var/log/messages errors of "reset high speed USB device using ehci_hcd"). This was originally plugged in to my NSLU2 running Debian Etch. I have just installed Ubuntu Desktop 9.10 to a spare Pentium-3M laptop and was hoping to copy the contents of this HDD to a fresh drive. However, I cannot mount it even read-only; mount -o ro /dev/sde3 /mnt/disk fails, and the /var/log/messages error is "recovery required on readonly filesystem", "write access unavailable, cannot proceed". I cannot understand why mounting a disk read-only should require write access. Following advice I googled elsewhere, I tried running mke2fs -n /dev/sde3 to try to list the alternative superblocks - but once again I got the error that the device was read-only. How can I go about accessing the data on this disk?

View 11 Replies View Related

Server :: Run Fsck.ext3 -y /dev/sdb1 And It Shows As Clean

Nov 18, 2010

I have a centOS 5 box with 3ware 8 port raid cards.I run fsck.ext3 -y /dev/sdb1 and it shows as clean.But after writing to the FS for about 2 minutes, it becomes read-only.When I umont -l /data, and run the fsck I get that another program is using the system an I should wait.If I reboot the server , the array comes back as clean.

View 2 Replies View Related

CentOS 5 Hardware :: Fsck Fails On Ext3 Filesystems?

Sep 15, 2010

I am attempting to run a fsck on a number of large ext3 filesystems. I am doing this proactively because I want to minimize reboot time and the filesystems are past the interval time of 6 months. When I run the command " fsck -f -y device" I get the following error on all of the filesystems-

fsck 1.39 (29-May-2006)
e2fsck 1.39 (29-May-2006)
fsck.ext3: Device or resource busy while trying to open /dev/mapper/mpath0p1

[code]....

View 2 Replies View Related

Hardware :: Recovering Ext3 Partition After Unsuccessful Resizing?

May 8, 2010

I've tried to resize my home partition using parted. Prior to it I had removed ext3 flags following some advices found on net. Resizing failed and I ended up with filesystem bigger than partition. Then I managed to enlarge the partition using fdisk but it didn't help. When I run fsck on it it prints:

Code:
fsck from util-linux-ng 2.16.2
e2fsck 1.41.9 (22-Aug-2009)

[code]....

View 4 Replies View Related

Debian :: Fsck.ext3: Unable To Resolve 'UUID=theUUID'

Jun 24, 2011

Upon booting my LVM wheezy setup, I get

fsck.ext3: Unable to resolve 'UUID=theUUID'
where "theUUID" (without the quotes) is the UUID

I believe this is caused by me trying to get lvm to use the external /boot because when I had unmounted the external /boot, it was creating a /boot in root. So, I booted a live cd and mounted the external /boot where /boot in the root volume is supposed to be. Basically, I think the problem is that I need to make my /boot (which is the only ext3 partition in the entire system and I want it that way) "relate itself" to the lvm root so that it boots into the system. As mentioned earlier, in the live CD, I made the external /boot mount itself in the root's /boot but I don't know how to tell the system to do this on its own while booting without my assistance. I chrooted from the live cd which involved a lot of tedious stuff but basically the important stuff I did were:

grub-install /dev/sdb
update-grub
update-initramfs -u

P.S.I get the issue in the Subject of this topic by telling tune2fs to mark the external /boot, lvm / and /home partitions as "dirty."

View 2 Replies View Related

CentOS 5 :: EXT3 Drives With Schedule Of Full Forced FSCK

Jul 23, 2010

I am hosting a few customer servers now, all of which are virtual machines running on a CENTOS 5.x host. Each Centos host has a couple of extra drives. When I formatted them ext3 they automatically had a schedule of a full forced fsck after 6 months. Do I really need to do that check regularly? It results in a fairly large outage since my disks are each 1TB and there are up to three extra drives on each server. I try to reboot these servers every 6 months but this part adds a large amount of time to a routine reboot.

View 5 Replies View Related

CentOS 5 :: How To Backup Files And To Use 'fsck.ext3 Rebuild-tree Using Livecd'

Dec 9, 2009

I have a serious problem in booting centos 5.4 x86 as shown in the attached picture.I tried to backup before using fsck command, but I could not make a backup of damaged lvm on hard drive.First I made a rescue centos at virtualbox, and installed centos 5.4 x86 on virtual hard disk.And I attatched damaged hard drive. S I can see this damaged hard drive's lvm as attached picture.Please let me know how to backup my files and to use "fsck.ext3 --rebuild-tree using livecd".

View 2 Replies View Related

Fedora :: Error - Fsck.ext3: No Such File Or Directory Durante L'apertura Di /dev/cciss/c0d1p11

Oct 21, 2009

I have a problem partitioning an Hard Disk Drive on a server, and I hope someone can help me with this. Here is the system configuration: Operating System Linux localhost.localdomain 2.6.30.8-64.fc11.x86_64 #1 SMP Fri Sep 25 04:43:32 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux

Hardware: RAID bus controller: Hewlett-Packard Company Smart Array G6 controllers (rev 01)

The system mounts one hard disk (120 Gb) with the OS, and four 1.5Tb Hard Disks mounted on RAID 10 for a total of ~3 Tb I need to create several partitions on this RAID drive, but I have some trouble doing it. I need a total of 10 partitions of different sizes:

[Code]...

View 3 Replies View Related

Red Hat / Fedora :: File Repair - Fsck.ext3: Unable To Resolve 'LABEL=/home' FAILED

Jul 27, 2010

while rebooting the system i had supposed to go to file repair system with the problem

fsck.ext3: Unable to resolve 'LABEL=/home' FAILED.

*** An error occurred during the file system check.
*** Dropping you to a shell; the system will reboot.
*** When you leave the shell.

Give root password for maintenance (or type Control-D) (repair file system)# how do i get the system reboot

View 1 Replies View Related

OpenSUSE Install :: Boot Failes With "fsck.ext3: Error Too Many Open Files"?

Apr 12, 2010

After upgrading from opensuse 11.1 to 11.2 I get the following error messages while booting the system caused by the initial filesystem check routines:

ERROR: Couldn't open /dev/null (Too many open files)
ext2fs_check_if_mount: Too many open files while determining whether ... is mounted.
fsck.ext3: Too many open files while trying to open ...

I found a new version of the e2fsprogs at the OBS package claiming to fix this problem. But installing this new version did not solve my problem.

Here some information about the affected system:
Operating System:openSUSE 11.2 (i586)
Installed e2fsprogs:e2fsprogs-1.41.11-4.1.i586
Number of LVs:35 (all ext3)

I can only boot if I comment out some of the filesystems in my /etc/fstab. It seems that the number of filesystems must be less or equal 32.

View 7 Replies View Related

General :: Difference Between LVM And Ext3

Aug 4, 2010

Difference between LVM and Ext3

View 4 Replies View Related

General :: Need To Defrag HDD In System? (ext3)

Feb 10, 2011

I recently moved around, deleted and just had a general day of cleaning up the file structure on my pc. HDD contains about 2 TB of data. Around 1 TB was relocated on the disc, and yet another TB was moved to external drive.

In windows this would likely means it was time for a defrag. Can't find any defrag tools in Xubuntu and that lead me to remember I read somewhere that there is no need to defrag when running Linux.

So is that correct? Is defrag only for the wondows world and something we never need to do in Linux?

If not is there a way to do a defrag from terminal?

View 5 Replies View Related

General :: Convert Ext3 To Ext4?

Mar 9, 2010

how to convert ext3 to ext4? I'd like to convert partitions which I use for virtual machines (vmware-server and virtualbox). I use Ubuntu 9.10 as vmware-server host and Gentoo as virtualbox host.

View 5 Replies View Related

General :: Convert Ext3 To Ext2?

Mar 28, 2011

I would like to convert my /tmp and /boot partitions from Ext3 to Ext2 on my Arch Linux setup. I don't see any use in having journaling for either partition. I want to make sure that I have the right steps lined up so could someone verify that this is correct (from a live cd):

Code:
#sudo tune2fs -O ^has_journal /dev/sda7
#sudo e2fsck /dev/sda7
#sudo tune2fs -O ^has_journal /dev/sda5
#sudo e2fsck /dev/sda5
I then edit /etc/fstab to reflect these changes (ext3 to ext2 for both lines)

Does it matter what order I do it in (/dev/sda7 is /tmp and /dev/sda5 is /boot).

View 3 Replies View Related

General :: Converting The Ntfs To Ext3?

May 13, 2011

converting the ntfs to ext3.

View 9 Replies View Related

General :: Remove Permissions From Ext3?

Oct 8, 2010

I use an external hard drive for storing lots of files I share with friends and family.

I know I can set 666, but I can only do this in contained files and directories, NOT on the actual disk root. This means people can't write to the disk root.

Also, setting 666 might cause some issues when someone else pastes files and applies some other permissions.

Is there some way to remove permissions completely from an ext3 filesystem? I mean, have the entire "permissions" layer removed? Otherwise, what can I do?

Changing fstab is out of the question, this is a shared EXTERNAL disk; people use it on their computers, I can't go around changing their fstab.
The same goes to mount parameters.

[edit] Ok, I said ext3, but it's actually ext4. I don't see any difference in this case anyway, but just in case.

View 12 Replies View Related

General :: Where Is Inode Table In Ext3

Mar 16, 2010

Where is the inode table located in ext3 file system ? How can I read the entries in it ?

View 4 Replies View Related

General :: How To Set Ext3 Partition Hidden Flag

Apr 15, 2010

I have a created an ext3 partition and when i tried to set is hidden flag, there seems no effect. how to set the hidden flag of an ext3 partition?

View 1 Replies View Related

General :: Should External Drives Be Converted To Ext3

Jul 29, 2010

I switched over from Windows to Linux. I have an external drive that has basically just media files on it. Are there any advantages to converting this to ext3, or should I just leave it as ntfs3?

View 2 Replies View Related

General :: Reading/writing Ext3 Partiton From XP?

May 9, 2010

I've used ext2ifs drivers to mount my ext3 partition in winxp, but I don't have write acces, it's mounted in a read-only mode, and i didn't check the rad-only box during the installation of the drivers.I've used help from the official site http://www.fs-driver.org/and this tutorial http://www.dedoimedo.com/computers/l...s-windows.html
It's a straithfoward proces so I dont understand what I did wrong.I'm using fresh xp install with (more or less) all the updates and ubuntu 10.04Also the partition is mounted at /home, so I dont know if that makes any diferance.

View 3 Replies View Related

General :: Recover Data From Ext3 Partition?

Dec 30, 2009

A HP Netserver LP2000r, with original SCSI controller and HP NetRaid-2M controller, 3x 36GB Ultra3 HDD in RAID5, Debian (sarge/etch), has crashed after 992 days without reboot. From all that I can see, a hardware failure, most likely with the memory. The HP Diagnostic tools cannot find any problem, but everytime I boot into Knoppix, I get between 2minutes and 2 hours of runtime, and then either a kernel oops or just a complete and sudden halt.

Well, the box has earned its money. However, there is some data on the drives that I need to recover (yes, I have beaten myself up properly about not backing up that data, don't even go there !). There are three partitions: sda1 is /, sda2 is swap and sda3 is a LVM volume with 3 logical volumes on it. As far as I can tell, the hardware defect must have been creeping in and has made a total mess of the inodes in all these partitions.

After booting into Knoppix, I can restore the volumes using pvscan, vgscan, lvscan, vgcfgrestore and vgchange. If I try and mount them: mayhem. So I try and check them, using fsck.ext3. All sorts of interesting nonsense, such as a completely empty inode 11 (the first inode) and then obviously from there on all else is pointless. I tried using debugfs, but the information on what to do with it is somewhat spurious.

P.S.: Tomorrow I will go and get myself a 16GB Flash Drive and then hopefully I will be able to dump the partitions one by one onto that drive and transfer the images onto a different computer for analysis and data recovery.

View 1 Replies View Related

General :: Recover Deleted Directory In EXT3?

Jul 19, 2011

recover deleted files using "debugfs" & "extundelete" by running:Code:sudo debugfs /dev/sda3
and find inode number of deleted file using "ls -d" command and then running:Code:sudo extundelete /dev/sda3 --restore-file <inode#>but when my desired file was in a deleted folder I can't find my desired file inode number using debugfs

View 1 Replies View Related

General :: /var On SD Card :: Ext2 .vs. Ext3 .vs. Jfs .vs. Jffs2?

Apr 22, 2011

We are running debian off of an SD card and want to know what's best for /var?

- Plenty of room on 2GB SD card, so do we, make /var as large as possible (everything else is read only) to reduce block overwrites, or do we make /var as small as possible, hopefully reducing the load 'pdflush' places on the 200 Mhz system?

That said, why not ext2? Is there damage that can happen in /var due to insta-crash or power loss that will prevent proper system function? We heard ext4 is more optimized, but ext4 on 2.6.29, not sure.

If we must use a journaled file system for /var, then which is lowest load on system, or "better": jfs, ext3, jffs2 ...

View 1 Replies View Related

General :: Mounting Ext3 Formatted Drive?

Feb 16, 2011

I am trying to install a harddisk, which is already formatted as ext3, into my Qnap NAS box. The web interface of the NAS box shows, that the harddrive has been detected, but I am not able to mount any of its partitions.This is the output from fdisk -l:

Code:
Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders

[code].....

View 10 Replies View Related

General :: View Bad Blocks On Mounted Ext3 Filesystem?

Mar 18, 2011

I've ran fsck -c on the (unmounted) partition in question a while ago. The process was unattended and results were not stored anywhere (except badblock inode). Now I'd like to get badblock information to know if there are any problems with the harddrive. Unfortunately, partition is used in the production system and can't be unmounted.

I see two ways to get what I want: Run badblocks in read-only mode. This will probably take a lot of time and cause unnecessary bruden on the system. Somehow extract information about badblocks from the filesystem iteself. How can I view known badblocks registered in mounted filesystem?

View 2 Replies View Related

General :: Can't Copy The Disk Image Over To Ext3 Partition

Jan 6, 2011

I recently installed Linux to run a few Linux based tools on a disk images I have, and I can't seem to copy the disk image over to my ext3 partition.

The particular distibution I'm using is BackTrack 4 r2, which is Ubuntu based. I can't seem to find specifically which version of Ubuntu is being used. The disk image is 108GB. It is currently located on a NTFS partition on a SATA hard drive connected directly to the computer. The ext3 partition is located on a second SATA hard drive connected to the same computer. It has 200GB total. I do not remember exactly how much free space it had but "df -h" showed a lot more than 108GB. The computer has 4GB of RAM and I gave it 8GB of swap space.

At this point it has been running for more than 12 hours. This is far longer than I would expect it to take had I been copying the file under Windows. How ever I do not have much experience with Linux, so if it's supose to take this long please let me know. I am planning on letting it run until I wake up tomorrow.

"cp -v" hasn't been very verbose at all. The only sign I have that indicates the computer is still trying to do something is the HDD light on my chasis that has stayed lit this whole time.

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved