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?
I'm trying to mount a second hard drive as a ext3 (rw_acl,user_xattr). I type the ff.:
# mkfs.ext3 -c /dev/sdb1(it seems to create a file system from this 2nd HD)
then type:
# mount -v /dev/sdb1 / type ext3 (it seems to mount it)
But when I check the ext3 systems with typing:
# mount -t ext3 (to check the list of ext3 devices, it gives me this) /dev/sda1 on / type ext3 (rw,acl,user_xattr) /dev/sda2 on /home type ext3 (rw,acl,user_xattr) /dev/sdb1 on / type ext3 (rw)
How can I make /dev/sdb1 on type ext3 as (rw,acl,user_xattr) as the others?
I have accidentally removed vmware virtual disk, my host operating system is RHEL5.2 with ext3 file system, i have used photorec, magicresue and foremost but still no luck to recover the vmdk file. i have seen in foremost configuration file that there are some predefined files (ex- doc, pdf, jpg, avi, zip, etc),
1. is there any way to add vmdk file extension on that configuration file?
2. if yes how can i do ?
3. by adding vmdk on configuration file, can i specifically use recover option for vmdk?
I was in the process of installing Ubuntu 11.10, but got stuck choosing which file system to use. ext3 and ext4; which is better for a personal desktop? If ext4 is better, will it work well on my old PC (bought 3 years ago), or perhaps ext4 is not actually compatible with an old hard disk?
I have an image of an ext3 file system done with dd. I know that the file system is corrupted but I want to try to recover some files. Whatever I dd it again to the original partition or assign the dd image to a loop device, that's what happens:
- dumpe2fs -h gives me a valid ext3 superblock.
- as I try to mount the device read only, it fails with a bad magic number error.
- executing dumpe2fs -h again gives bad magic number error.
- trying debugfs or fsck with backup superblocks fails the same way.
For me it seems that in spite of mounting the device as read-only, mount command do something wrong with the superblock as before the mount the superblock is correct and it's there.
My co-worker install CentOS with /var (ext3) is 1TB:
Code:
I do the following tasks to move sdb1 to VolGroup00:
After that I moved /var back to / folder and reboot but the system hangs at "Starting system logger". Uninstall and re-install sysklogd package don't make any change. What I don't understand is I can start syslogd from command line:
There were some files residing on my ext3 file system, using Ubuntu as my linux distribution. Yesterday I formatted the hard drive using a windows install CD, rewriting it with a new NTFS partition. I'm willing to restore my personal files deleted due to this format.
I've a new external usb drive that was shipped formatted fat32. I wanted to convert this to ext3; so I performed a mkfs.ext3. I then noticed that fdisk was still reporting the usb drive as fat32 (even after reboot), but mount was reporting ext3: so I fdisk'ed the drive and change the partition's system id to 83 (Linux)
ive just installed ubuntu and notice there are noises coming from my hard-drive like its defragmenting or optimizing but the light isnt coming on... i never noticed this activity in windows7? - when it defrags in windows 7 i can hear it and the light flashes but on this the lights not flashing but i can hear wot sounds like fast writing, really fast clicking
Looking on web it seems to be a problem with power management settings in ubuntu being incorrect... i refuse to believe its the manufacturers as its been fine in windows for past 2 years
How well is the ext4 new file system mounting compatibility with the older ext3 previous Linux installations ? I refer to Ubuntu 9.04 and the new Fedora 11 which have the option to install with the ext4 file format. Will it be better if I install with the older ext3, so that I will be able to mount all other Linux from each other in a multi-boot system ?
fscheck is quite annoying, since it usually occurs when I reboot my system performing administration tasks. do I actually need fscheck if Im using the ext3 file system? if not how would I extend the period between checks or just turn it off altogether?
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.
I used the ext3 format when I formatted my partition prior to installing Ubuntu10.10. I had accidentally deleted a file and began the process to get it back. It wasn't critical but helpful to recover the file. To make a long story short I ran into to some unexpected road blocks. I tried to use PhotoRec to get the job done but with no success.
I'm just looking down the road in the event I might have to recover something important.If it would be better going back to the Fat32 file system I would rather do it sooner than later. Just as a side note I am dual booting between linux and windows.
I am using Ubuntu since release 8.10, but it is first time when i can`t solve problem
when i tried to create new NTFS partition on unallocated disk space with Paragon Partition Manager (damn, that was stupid). Process was aborted with error (later i finally made it with Gparted without problems)
After reboot mine Ubuntu say:
Code: Errors were found while checking the disk drive for /
Press F to attempt to fix errors, I to ignore, S to skip mounting or M for manual recovery. I pressed "F" but that had help only for a boot and doesn`t really fix error :`(
Later i booted from liveCD and had checked partition (/dev/sdb1; file system - ext3) with gparted (result - aborted fixing process with error) Now i can`t even boot from that partition and even mount it from other linux system.
fsck reports 18905 non-contiguous files (20.9%) and 40 non-contiguous directories (0.0%) on an ext4 file system so I would really like to defragment it.
I need evaluate the ext3 file system performance; i need define:
- services provided - parameters and - the performance with different parameter values; for example, changin the value of the "data" parameter (journal, ordered, writeback).
I do not know what services ext3 provides. Well, i know intuitively that it provides services to read, write and erase files. But, there are anything more?. Where can i find the API?. Is the ext3 file system POSIX compliant?
I've recently installed Ubuntu 10.10 on a machine, unfortunately, the hard drive was ext3 partitioned. Is there a way of converting this partition to ext4 without having to re-format and hence reinstall the entire OS ?
I accidentally formatted a HDD when I meant to format a USB thumb drive. The HDD is a 250GB drive that had about 180GB of data in the EXT3 format. I was actually attempting to make a bootable USB thumb drive with TRK (Trinity Rescue Kit). Kind of funny/ironic to mess up a drive while trying to make a rescue disk. Anyway, as soon as I realized what had happened, I pulled the drive out of the computer to make sure I didn't do anything else stupid to it. I have been searching for some way to recover and haven't really found much. There are a lot of programs to get Windows data back, but I haven't seen anything specific on the EXT3 file system.
I have lost the data of my drive having file system ext3, please tell me the most reliable softwares for data recovery, please try to tell also GUI software.
Which file system uses Centos 5.6 by default, Ext3 or Ext4? I have installed on Ext3, it's upgrade from 5.5, but howto convert into Ext4 without damage or lost data?
I have been able to get most of the way through the process of changing from using ext4 back to using ext3, but something is not quite right so my system does not boot properly.
I have a system that was running Karmic Koala 9.10 as a server (no graphical environment). I had two drives using RAID1 with LVM on top, where the logical volumes of oldvg (old volume group) were using mostly ext4. /boot was not part of the RAID: it's on a separate physical drive and uses ext2.
I recently added two more drives and used RAID1 and LVM, and made all lv partitions (/, /usr, /var, /tmp, /opt, /home, /srv) ext3. I used rsync to duplicate the contents onto the logical volumes of newvg (new volume group). I was careful with rsync's option switches, and this part seems to be fine.
I also edited (the new) /etc/fstab and changed the UUIDs of the seven mount points to point to the logical volumes that are part of newvg instead of oldvg, and added new entries to (the new) /boot/grub/menu.lst to refer to newvg in addition to those that I left around to refer to oldvg.
This wasn't sufficient: rebooting here failed, but I went in with a rescue disk, and first updated /boot/grub/device.map to include the new physical drives. I then mounted all the new logical volumes, mounted boot also at its proper place, and entered a chroot of the new system as it should be mounted. Once there, (and after making a backup of /boot) I ran "update-initramfs -k all -c" to rebuild the initrd images that were stored on /boot. Finally, I also edited /etc/mtab so that the two entries that referred to oldvg now refer to newvg instead.
Now, the machine begins to boot from newvg, but the console text includes messages like:
And a bit later,
Now, at this shell if I type mount, I see:
I am actually confused as to why there are only entries for /root and /var in /etc/mtab, actually, instead of entries for all of the main mount points. I am thinking it must be part of the boot staging process, because there are entries for newvg-usr, newvg-tmp, etc. in /etc/fstab.
When I type any of pvdisplay, vgdisplay, or lvdisplay, I get
In fact, even if I run lvm, I get a similar error:
However, if I go back to the rescue cd, pvdisplay, vgdisplay, and lvdisplay do show that all of the partitions from both the old and new volume groups are available.