Sponsored Content
Special Forums Hardware Filesystems, Disks and Memory Why we don't need to defrag UNIX FS? Post 302451167 by amro1 on Monday 6th of September 2010 01:38:05 AM
Old 09-06-2010
Here...

Dear Corona688, you confuse binary tree algorithm for file seeking with an actual allocation i-nodes on physical drive. The gaps that left after removal of files and filled with parts of other files cause the fragmentation. When file open for reading, it goes through the chain and as parts of the file allocated in the areas that are not compactly located, the drive has to performs extra spins in order for perpendicularly moving heads to be on-time for reading/writing in the area. Along with disks' interleaving functionality it makes drive access very slow. That is exactly what fragmentation is. "shake" is one of many options available, again it is not universal and it is not capable of performing defragnetation on all kinds of file system used in UNIX land. "dump"-"restore" is a standard universal way of dealing with the problem, for enterprise level systems, at least for last 20 years.
This User Gave Thanks to amro1 For This Post:
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

defrag

is there a command to degragment or clean the disk drives on an HP SCO Unix maching? (6 Replies)
Discussion started by: rnpeters
6 Replies

2. UNIX for Dummies Questions & Answers

I want to cheaply build my own Linux/Unix PC, but don't know where to start

I want to cheaply build my own PC that will run the latest versions of Linspire, Fedora Core, FreeBSD and Solaris, but I don't know where to start. This PC doesn't have to be particulary fast. It's video performance need not be top notch, however, sound quality and sound performance must rock!... (4 Replies)
Discussion started by: Mr. Nice Guy
4 Replies

3. UNIX for Dummies Questions & Answers

which unix?? <donīt know where to post>

Iīm struggling to find a system I like and thatīs not to overwhelming.. Iīve been using Ubuntu/Linux and itīs allright except that itīs pretty buggy and boots extremely slow. Iīm in need of a system that offers good programming features, simple or no x server, fast to boot and STABLE. Donīt care... (2 Replies)
Discussion started by: riwaTNT
2 Replies

4. UNIX for Dummies Questions & Answers

I don't want to go to jail. so I want to start using unix

I use Mac OSX and have been given all of my video editing software... illegally. I don't want to use it anymore and heard that Unix was the way to go. So that is why I am here. What video editing software is out there for Unix. I think I have Unix. Do I? I am sorry and if all anyone can... (0 Replies)
Discussion started by: moz1979
0 Replies

5. Programming

Why I don't have CC1 in my Unix?

gcc works find in my Unix. But when I want to use cc1, system reports: "bash: cc1: command not found". Any clue? Thank you! (2 Replies)
Discussion started by: meili100
2 Replies

6. Shell Programming and Scripting

don't know how to implentment as unix sh script

for each file if file name like xx* for each line in a file if substring(3,6) found in another txt file output to file-a( filename = orginal file + _a) else output to file-b( filename = orginal file + _a) end Next Line (4 Replies)
Discussion started by: ttivanwan@yahoo
4 Replies

7. UNIX for Advanced & Expert Users

don't understand the unix script

if {"$my_ext_type" = MAIN]; then cd $v_sc_dir Filex.SH $v_so_dir\/$v_fr_file Can somebody tell me what does this suggest. I am pretty new to unix and I am getting confused. What i understood from here is If we have a file extension name as MAIN which we have then we change the directory to... (1 Reply)
Discussion started by: pochaman
1 Replies

8. UNIX for Dummies Questions & Answers

Change unix permission when I don't own the file

Hi, A file is transferred from a Windows server(say username : user1) to Unix server via ftp. In unix, the permission of the file for a user, say user2 will be "-rw-r-----". Since the user1 is the owner of the file, user2 is not able to change the file permission using chmod. Is there... (5 Replies)
Discussion started by: merin
5 Replies
NTFSFIX(8)						      System Manager's Manual							NTFSFIX(8)

NAME
ntfsfix - fix common errors and force Windows to check NTFS SYNOPSIS
ntfsfix [options] device DESCRIPTION
ntfsfix is a utility that fixes some common NTFS problems. ntfsfix is NOT a Linux version of chkdsk. It only repairs some fundamental NTFS inconsistencies, resets the NTFS journal file and schedules an NTFS consistency check for the first boot into Windows. You may run ntfsfix on an NTFS volume if you think it was damaged by Windows or some other way and it can't be mounted. OPTIONS
Below is a summary of all the options that ntfsfix accepts. Nearly all options have two equivalent names. The short name is preceded by - and the long name is preceded by --. Any single letter options, that don't take an argument, can be combined into a single command, e.g. -fv is equivalent to -f -v. Long named options can be abbreviated to any unique prefix of their name. -h, --help Show a list of options with a brief description of each one. -V, --version Show the version number, copyright and license BUGS
There are no known problems with ntfsfix. If you find a bug please send an email describing the problem to the development team: linux-ntfs-dev@lists.sourceforge.net AUTHORS
ntfsfix was written by Anton Altaparmakov, with contributions from Szabolcs Szakacsits. AVAILABILITY
ntfsfix is part of the ntfsprogs package and is available from: http://www.linux-ntfs.org/content/view/19/37 The manual pages are available online at: http://man.linux-ntfs.org/ SEE ALSO
mkntfs(8), ntfsprogs(8) ntfsprogs 1.13.1 January 2006 NTFSFIX(8)
All times are GMT -4. The time now is 07:25 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy