Software :: Best Way To Go About Performing Offline Defrag Of Ext4?
Aug 3, 2010
Can 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
ADVERTISEMENT
Oct 27, 2009
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.
View 7 Replies
View Related
Sep 30, 2010
I 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]...
View 8 Replies
View Related
Nov 5, 2010
Does Fedora 14 online-defrag?
View 6 Replies
View Related
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
Sep 19, 2010
if there is really no need to defrag disks when we use any linux distros.
View 4 Replies
View Related
Apr 24, 2010
How 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.
View 8 Replies
View Related
Jan 11, 2011
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]
View 1 Replies
View Related
Apr 23, 2010
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 Related
May 19, 2010
I 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]....
View 4 Replies
View Related
Jul 8, 2011
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 Related
Feb 24, 2010
I 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 Related
Aug 5, 2009
I get the following error on 'yum update'. I have tried 'yum clean all' and also:
rm -f /var/lib/rpm/__db*
rpm --rebuilddb
# yum update
Loaded plugins: fastestmirror, protectbase
Determining fastest mirrors
* base: mirror.sov.uk.goscomb.net
* updates: mirror.sov.uk.goscomb.net
[Code]....
View 2 Replies
View Related
Jul 20, 2010
I went to remove FreeNX from my Ubuntu Lucid machine so I opened the terminal and typed: "sudo aptitude purge freenx" The command worked but when I used the command "locate nx" I got a list of FreeNX associated files (as well as nxserver files). Is it possible to completely remove a program from my system? I thought "sudo aptitude purge" would do it but apparently not. My only concern is that in the future if I decide to install something related to this program it will interfere and cause problems.
View 5 Replies
View Related
May 12, 2011
I have a Radeon HD 5830 card and it just doesn't seem to be working to it's full potential. I've tried TF2 and SC2 through the latest stable release of Wine, but the frame rates are horrible.
Also, when I run fgl_glxgears, I only get 800fps. (If I reboot the computer and run fgl_glxgears as soon as I log in, I get at least 3000fps for a few seconds. Then it's back to 800)
I've tried reinstalling the driver several times.
Why is the performance so low?
Here's my setup:
XFX Radeon 5830
Ubuntu 11.04 (fresh install and updated)
11.5 ATI driver from AMD's site. Here is fglrxinfo output:
[Code].....
View 9 Replies
View Related
Jan 25, 2010
I have a script that moves files from one directory to another, based on the numeric date of the file name (i.e., 20091212 would go to the December directory). Now, since this script will be ran at the beginning of the following month (December's files to be tarred and gzipped will be performed the first day of January, and January's in February, etc.), it appears to me that the script will be tricky when it comes time to do the December files in January.
Here's part of the script:
Code:
# Define working directory and target directory.
DIR=/var/log
target=$DIR/month
hostname='uname -n' .....
I can't seem to figure out a way to carry the output of the date command to the next command, and the year for the December files will always be wrong.
View 2 Replies
View Related
Sep 8, 2010
During the upgrade process, all the files appeared to install correctly and the computer rebooted as expected. It then showed the openSUSE splash screen but eventually that went dark and there was no display. Rebooting again did not help. Hitting Ctrl+Alt+F1 results in a corrupted display. I'm guessing this is an issue with the video driver? Not sure how to troubleshoot when I can't even get a terminal window open!
HP Pavilion dv6500 laptop with an nVidia GeForce 8400M GS.
View 9 Replies
View Related
Mar 14, 2011
When I try something like
php -i | less
Less is not responding to hotkeys, but prints them like pressing "q" results in statusline
:q
PageDown
:^[[6~
Pressing ENTER like "executes" the keycode and less perfoems the action. Piping trivial small stuff work however... OS: Fedora 14
View 1 Replies
View Related
Jul 26, 2011
We have an application which allows user to perform Drag and Drop operations. The problem we are facing now is the application crash. System works fine for some time and allows user to perform many drag drops successfully. But after running for some time and user perform a drag and drop the system crashes.Following stack trace we are getting while system crashes.
XtDispatchEvent [Event.c]
RemoveAllPMgr [libXm.so.3]
XtCallCallbackList [Callback.c]
[code]....
View 1 Replies
View Related
Jan 24, 2010
I'm running Karmic on an Acer Aspire AO751h and very aware of the issues regarding the GMA500 ans psb drivers, and after reading all the forums I've finally accomplished to make it work just fine. Last week it performed an update via the update manager and since then I haven't been able to restore/run any of the compiz settings and found out that the problem is that it doesn't let me turn on my visual effects under the appearance settings. When I attempt to set them as normal or extra, it starts "searching for available drivers" then the screen blinks several times, goes black, hides every window and just shows me my desktop background and then come back again and displays "Desktop effects could not be enabled". As I mentioned before, Compiz was running fine and I had no issues with the visual effects prior to the last update perfomed a week ago. Can you help me please?? If you need further information I'll be more than glad to provide them tou you, this is driving me nuts!
View 2 Replies
View Related
Jun 15, 2010
WHat would cause an applette to stop working after performing an upgrade? there is one applette that would allow me to access a site that just stoped workign when i upgraded the distrubution
View 9 Replies
View Related
Oct 30, 2010
I am running Ubuntu 8.04 and evolution as mail client this is the error i receive in evolution on send & recive.I can receive mail but not send.Error while performing operation.
Welcome response error: Operation now in progress.
View 6 Replies
View Related
Nov 9, 2010
I have installed Wine on my Fedora 14 and got Security alert.SELinux has prevented wine from performing an unsafe memory operation.SELinux denied an operation requested by wine-preloader, a program used to run Windows applications under Linux. This program is known to use an unsafe operation on system memory but so are a number of malware/exploit programs which masquerade as wine. If you were attempting to run a Windows program your only choices are to allow this operation and reduce your system security against such malware or to refrain from running Windows applications under Linux. If you were not attempting to run a Windows application this indicates you are likely being attacked by some for of malware or program trying to exploit your system for nefarious purposes. My concern is if i hide this attempt, it will not stop wine to from trying to do it, only hide security alerts. This alert is occurred already nearly 5000 times in last 30 min and counting. Wine server is using 10% CPU on this, so only to hide alerts is not a solution, isn't it?
View 5 Replies
View Related
Jan 20, 2011
We all know linux kernel base layer is made up of structures, in which every object of kernel is well defined. Structure members correspond to object properties required to define object behavior.
For example if we take case of File system.It composed of four objects , superblock objects, inode objects, file objects and dentry object.Each having well defined structure which is being operated by system call handler and by system call service routine in the kernel mode.
Now my question is even in kernel mode we do not have some mechanism by which we can get access to pointer of these structures.We have some macro.
If I want to manipulate structure on my on way, or performing some more operation defined by me.For example after the crash of Hard Disk Drive, having ext2/3 file system, If i want to know all the inode pointers, and block details.
Can I have some way out to do desired operation ??
mechanism to operate on these base label structures, even in kernel mode ..
View 5 Replies
View Related
May 1, 2010
I ticked the box for this when I installed Lucid, but how can I verify that it's actually performing the encryption/decryption?
View 4 Replies
View Related
Oct 20, 2010
I am running Ubuntu Linux 10.04.1 on an AMD 64-bit system. The server is primarily used for Windows file sharing via Samba in a small local network. I use webmin and putty to administer the system. I have two 1.4 TB drives for storage and one 500 GB drive with 18 GB mounted for root.I performed a large cut & paste operation (25.8 GB of files) using the File Manager in Webmin to move a certain folder into another folder within /media/Work. The operation failed and I am now getting a "root filesystem full" error, and am stumped.
View 8 Replies
View Related
Apr 5, 2011
I want to automate my tasks of administrator using shell scripts like changing owner of a file which usually only the super user which requires password can change i want to do this thing using shell script how to do?
View 4 Replies
View Related
May 29, 2010
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?
View 9 Replies
View Related
Mar 11, 2010
The graphical install goes fine all the way up until it finishes the "Performing Installation" process. Then the screen goes blank. Tried each display option for the install, and finally the text option got me through to completion.So now I've gotten to the command line, and when i try to startkde, i get the message "$DISPLAY is not set or cannot connect to the X server."I'm not well versed in linux yet, so a lot of these messages don't yet mean much to me. In the course of messing around with this I'm getting the feeling that it's Intel Graphics Media Accelerator 950 that's causing the problem here.
View 6 Replies
View Related
Oct 24, 2010
I have 2 hard drives on mu box 1st one is 500.0 MB ext4 Volume where I have my syste FC 13 and a 2nd one where I put my database files as follows 78.1 GB ext4 Volume usage = filesystem, format ext4
ih file browser, I can see an icon for a 80GB hard drive but whenever I double click I get the following
Quote:
Error mounting volume: An error occured while performing an operation on data Partition 1 of ATA Maxtor <: <the operation failed
clicking details
Quote:
Error mounting: mount exited with exit code 1: helper failed with:
mount: wrong fs type, bad option, bad superblock on /dev/sda1,
missing codepage or helper program, or other error
when I type
Quote:
dmesg | tail
I get
Quote:
# dmesg | tail
[drm] nouveau 0000:01:00.0: Allocating FIFO number 3
[drm] nouveau 0000:01:00.0: nouveau_channel_alloc: initialised FIFO 3
[drm] nouveau 0000:01:00.0: Allocating FIFO number 4
What is very strange is that mysql works fine.In disk utility, it indicates that disk is healthy, but when I click check file system i get
File system check on "data" (Partition 1 of ATA MAXTOR STM380215A) completed File system is NOT clean
View 14 Replies
View Related