Fedora :: How To Defrag Ext4
Oct 27, 2009fsck 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.
View 7 Repliesfsck 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.
View 7 RepliesCan someone tell me the best way to go about peforming an offline defrag of ext4? Considerations:Needs to be safe (i.e.: not wanting to bork up my music files 8))I have seen ref. to e4defrag. Everything seems to point to it still being buggy.I have a large ext4 drive with 2/3 empty that gets lots add / remove.would like ti be able to see the amount of fragmentation.would like to make file continous and then condensed to start of partition ( that would make read times faster right?)
View 4 Replies View RelatedI need to figure out how to arrange for the fastest-possible read-access of a large or huge memory-mapped file. I'm writing high-speed real-time object-chasing software for a NASA telescope (on earth). This software must detect images of fast moving objects (across arbitrary fields of fixed stars), estimate what direction and speed the object image is traveling (based on the length and direction of a streak on the detection image), then chase after the object while capturing new 4Kx4K pixel images every 2~5 seconds, quickly matching its speed and trajectory, then continue to track and capture images until the object vanishes (below horizon, into earth shadow, etc).
I have created two star "catalogs". Both contain the same 1+ billion stars (and other objects), but one is a "master catalog" that contains all known information about each object (128 bytes per object == 143GB) while the other is a "nightly build" that only contains the information necessary to perform the real-time process (32 bytes per object == 36GB) with object positions precisely updated for precession and proper-motion each night. Almost always the information in the "nightly build" catalog will be sufficient for the high-speed (real-time) processes.
[Code]...
Does Fedora 14 online-defrag?
View 6 Replies View RelatedI 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?
if there is really no need to defrag disks when we use any linux distros.
View 4 Replies View RelatedHow to defrag a FAT32 USB-stick in Ubuntu?
When my parents got a new 16:9-television I found, it has a USB-slot to display photos. So I bought a new 2 GB USB-stick for them and copied over some photos. Well it works quite well, if you organize the photos in folders (because a flat list is simply unmaintainable).
I really spent some time to work this out on my laptop. But the next day I showed it to my parents on their TV, the photos came in seemingly random order. Taking a second look the order is not really random, but shuffled once for all time. The television does no sorting at all and shows the photos in the order, the files were added to the directories.
As I understand from the documentation of the TV, defragmentation can not only rewrite files so their contents are in a neat sequence, but also reorganize folders and especially sort the entries. There is just one problem: My last WinXP-PC was already recycled, though I still have the installation-CD.
Now I definitely don't want to install WinXP everytime over Ubuntu, just to do some defragmentation now and then. Moreover I don't want a dual-boot, as it would tempt me, to abandon Ubuntu and switch back to WinXP.
On the other hand, I don't want to bother my friends with this little problem, as far as admitting, there are things I simply cannot do with Ubuntu won't help me persuade them, that Ubuntu is a veritable replacement.
Finally the TV and the stick are at my parents home which is quite a distance away. I imagine bringing more photos on my laptop *TO* them, but not taking the stick with me every-time, just to "repair" it on some WinXP-PC somewhere far away, thereby effectively taking all the other photos away *FROM* them.
Getting more specific:
1. Are there any defragmentation / reorganization / reparation tools to maintain FAT32 under Ubuntu?
2. Has anybody ripped Scandisk+Defrag from WinXP and got it running with wine? Is this save in the way, that it will not damage the FAT32 filesystem?
3. I've installed WinXP in VirtualBox from Sun (not the OSE-version). But so far I could not access any USB device. The menu-entry in virtualbox is simply grayed out.
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
[url]
I got a problem booting ubuntu 10.4 RC but i solved it by replacing root partirion uuid in grub boot menu then I disapled totally uuid passing to linux from /etc/default/grub . but something else i noticed why grub choosed insmod=ext2 why not ext4 specially I use now ext4 .I tried by editing the grub boot menu replacing "insmod=ext2" by "insmod=ext4" it booted and the three lines error during booting that i used to see them science ubuntu 9.10 totally disappeared . really I dont understand can anybody explane for me.and if what i did was right ,can anybody tell me how to make grub always and permenantly detect ext4 as ext4 not as ext2.
View 6 Replies View RelatedI had 5.4 machine. Upgraded to 5.5 today via yum upgrade. All went fine. Rebooted. Wanted to convert root partition to ext4 (I have three partitions: /boot, / and swap). All of them on software RAID 1 (root is /dev/md2). I did the following for converting
yum install e4fsprogs
tune2fs -O extents,uninit_bg,dir_index /dev/md2
nano /etc/fstab # I indicated here that my /dev/md2 is of ext4
[code]....
Does Ubuntu have any tool similar to Windows defrag or disk cleanup that cleans up your hard disk and clears up some space?
View 4 Replies View RelatedI got a Fat32 Extern Hard Drive and I would like to do a defrag and a scandisk on it with fsck? Can any one tell me what is the command to do it? I could not find it on google,
View 2 Replies View RelatedI am experiencing problems with an ext4 file system.
My setup: I have a server with a RAID 0 drive array for the OS. I have a promise vtrak running RAID 6 on twelve drives. The server is using the vtrak virtual drive for things like /home, /var/ftp/pub and the like. I formatted the vtrak drive using 'mkfs.ext4 -v -m 1 -E stride=16,stripe-width=160 /dev/sda'
My problem: At first, the vtrak drive seemed to work fine. I was primarily copying things to the drive migrating data from another server. After many GBs of data that seemingly successfully were done being transferred, I started a scp from a remote host to transfer even more data. The remote host ended up being rebooted before the scp was completed. After that, I was 'ls'ing around to see what was successful and was getting EXT4-fs errors. I then unmounted the vtrak drive and ran an 'fsck -y /dev/sda' which took over 3 hours to run. I then remounted it and 'ls'ed around and one of the areas caused the system to again throw EXT4-fs errors. I then booted the system and ran memtest through one complete pass and it found no memory problems. I tried again fsck'd the drive and again found problems while 'ls'ing.
Since the data is not yet critical, I could reformat the drive and start again; however, I am really questioning what went wrong and am worried that the reformat approach will just result in the same outcome.
What is the best way for me to fix the drive?
Is ext4 a stable solution for a file server?
Did I setup the ext4 options (stride, stripe-width) properly?
Is it possible to mount ext4 fedroa filesystem from Debian? Debian kernel 2.6.31
View 6 Replies View RelatedI go to bed and my computer is fine and working. I come home from work, no signs of a power outage, and my computer has errors regarding a corrupt disk. Drops to Cmd prompt. My problem is that I want to do the proper recovery on it, and my googling doesn't seem to help. All I see is stuff about how FAST fsck is, but no one wants to talk about how to use it. Besides, I better check with people before I mess everything up.
I have the FC12 install disk I used loaded up now, at the cmd prompt. I have my system mounted, an EXT4 LVM. Do I unmount and then run fsdk.ext4 -fp /dev/mapper/vg_mysys-lv_home ? (lv_home is the one reported as corrupt during boot)
Is there guide for converting ext3 to ext4 on Fedora? I use Fedora 12 which is regularly updated. How safe is procedure for data, I have only one ext3 partition on disk which has one ntfs and that ext3 partition (and also one small swap partition).
View 5 Replies View RelatedI'm currently using Ubuntu, but just ordered a new SSD (64GB) & plan to install Fedora on it- but just have a few questions...
- What is Fedora's position on MONO & MoonLight?
- I will be leaving /home on my 600+ BGB HDD, but root, /usr & swap will be on my SSD- will there be any potential issues?
- What format should I use (Ext3, Ext4, XFS...) for my SSD?
- Any recommendation of rpm repo's I should add?
- Will FGLRX work with FC13 or FC12
I am new to Fedora, and I noticed when I opened my home folder that I only had 54GB. My HD is 120, and when I used the disk utility, I noticed that 64GB are in ext4! What?! This was not a problem in Ubuntu, so why has it happened now? Is there anyway I can decrease the size of ext4 and give some of it to Fedora?
View 4 Replies View RelatedI have recently been helping my brother set up his computer with a fresh install of Fedora 11. Unfortunately things have not been going all that well. After having some problems with Fedora 11, such as it not liking his monitor and disabling Plymouth's graphical boot (I actually like to see what my systems doing!) things finally seemed to be going into place. Unfortunately the next day we were no longer able to log into his account. After hours of tweaking I finally found out it was that for some reason GNOME stopped liking his account.
This is where things went from bad to worse. I tired removing his own account and giving him a new one, unwittingly taking out his home directory in the process, all 80 gigabytes of it. And just as promised ext4 was extremely quick about it. What can I do to recover it? We have done similar things on NTFS on Windows XP, so I see no reason why a next-gen file-system like ext4 can't do it.
There is explore2fs, but it does not support ext4 filesystem.
View 1 Replies View RelatedI have 250Gb, 500Gb and 1Tb drives concatenated together as one volume group (span) with a logical volume (spanvol). Under kernel 2.6.31.5-127.fc12.x86_64 it mounts totally fine. However, under 2.6.31.6-145.fc12.x86_64, I get this:-
[root@undertaker ~]# mount -t ext4 /dev/mapper/span-spanvol /home
mount: wrong fs type, bad option, bad superblock on /dev/mapper/span-spanvol,
missing codepage or helper program, or other error
[code]....
Thinking of a re-install to remove LV and use Ext4 only. [Root is too large] Can I back up Home from the LV and move it to an external drive. If so will I be able to reinstall and Custom partition so I can use Ext4 and then copy the Home files back to my new Home partition. I have only a small knowledge of LV systems so just want to be carefull.
View 1 Replies View RelatedI am currently running x86_64 F14. I am replacing the HDD(s) with one SSD and one HDD. What I want to do is a fresh install but pull all of the packages over from current install. I am planning on backing up /home and all of that so I can just rsync it. One of the issues though is that I currently use LVM. LVM does not support TRIM yet for the SSD. So I was just going to use ext4 and an extended partition for all of my filesystems. Can I just make a kickstart file that will have all of my current installed packages in it and pass that to the install? Seems like I remember that from my RHCE class. Sadly I don't use kickstart enough to remember.
View 1 Replies View RelatedCurrently I have a four partition setup: One ext4 /boot partition for Fedora, one LVM partition, one ext4 partition (which has Ubuntu), and one swap partition. What I would like to do is shrink down the ext4 partition which has Ubuntu on it and increase the size of my LVM parition (and increase the Volume Group, filesystem, etc. within the LVM). However, I've been searching on Google and the only solutions I find is to make the free/unpartitioned space and then create a new LVM partition and stretch the VG over the two LVM partitions. However, I already have 4 partitions, so I can't make the fifth one.
Is there any possible way I can increase the size of the underlying LVM partition itself?
Does anyone know if there's a way to create an ext4 image on top of a vfat volume? I know how to create a disk image file and mount it on the loopback device, but a vfat volume allows a max file size of 4 GB so is there a way to make a spanning disk image?For example you'd have disk1.img through disk3.img where each one is 4 GB, but when mounted via loopback it would appear as one complete 12 GB ext4 volume. Is this possible?
View 3 Replies View RelatedI'm trying to set up my Fedora 15 installation to automatically mount (with all privileges needed for read/write access w/o a password prompt) an ext4 partition on the same HDD. Below is the output of sudo fdisk -l.
Code:
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors
Units = sectors of 1 * 512 = 512 bytes
[code]....
Partition table entries are not in disk order I'm trying to automount /dev/sda8, I believe. I'll check that when I've rebooted to by Ubuntu partition, 'cause that's where I know how to do it. I tried to use pysdm, since that's what I used to do the same thing in Ubuntu, but it wasn't found by the Fedora package manager.
i hv 3 os installed ...windows7,ubuntu9.10 and redhat5.3can ne1 tell me how to mount ext4 partition from redhat....because after installing redhat ubuntu is not booting....or can ne1 tell me how can i boot ubuntu by editing grub.config
View 7 Replies View RelatedI have second disk connected internally, and for matted to ext4, though it shows up, I cannot past to it or copy from it, it is full mounted!
View 4 Replies View RelatedI have a 7GB unallocated space and I want to expand/increase the size of the preinstalled fedora 13 ext4 size from the unallocated space any ideas?**Using gparted live is not working is just displating the whole sda drive.
View 4 Replies View Relatedwill it be possible to convert existing filesystem to new ext4 while upgrading from Fedora 10?
View 1 Replies View Related