LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-26-2012, 07:58 PM   #1
dearcat
LQ Newbie
 
Registered: Feb 2012
Location: Maine
Posts: 17

Rep: Reputation: Disabled
Question How do I derfag Linux


How do I defrag Linux?
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 02-26-2012, 08:03 PM   #2
Javier_
LQ Newbie
 
Registered: Feb 2012
Location: San Bernardino
Distribution: Puppy Linux, Fedora,
Posts: 10

Rep: Reputation: Disabled
There is no need to defrag linux.
 
Old 02-26-2012, 08:08 PM   #3
ceh383
Member
 
Registered: May 2003
Location: The Left coast, USA
Distribution: Slack_64 14.2
Posts: 226

Rep: Reputation: 29
Not sure how to, but, typically not necessary.
Look HERE...
 
Old 02-27-2012, 02:01 PM   #4
dearcat
LQ Newbie
 
Registered: Feb 2012
Location: Maine
Posts: 17

Original Poster
Rep: Reputation: Disabled
Question Defrag Linux

Someone said you do not haveto defrag Linux. There were allkindsof charts etc. I do not understand any of them. I am used to working in Windows so Linux is a complete mystery. I have been told I do not have to defrag or delete cookies in Linux. I have Ubuntu powered by linux and Firefox. I am really confused. Thanks for any help.


dearcat
 
Old 02-27-2012, 02:08 PM   #5
Rasta420
Member
 
Registered: Feb 2012
Distribution: Slackware 64 13.37
Posts: 41

Rep: Reputation: 10
do you understand how file fragmentation occurs under windows?

http://files.diskeeper.com/pdf/HowFi...nWindowsXP.pdf

That link will give you an idea of why it occurs in Windows, this explains why it is not needed in Linux...

http://geekblog.oneandoneis2.org/ind..._defragmenting

Rasta420
 
3 members found this post helpful.
Old 02-27-2012, 02:24 PM   #6
dearcat
LQ Newbie
 
Registered: Feb 2012
Location: Maine
Posts: 17

Original Poster
Rep: Reputation: Disabled
Defrag Linux

Thanks . No, I do not understand how it works in Windows, but I accept the fact I do not have to defrag Linux.Lotto learn
 
Old 02-27-2012, 02:27 PM   #7
Rasta420
Member
 
Registered: Feb 2012
Distribution: Slackware 64 13.37
Posts: 41

Rep: Reputation: 10
The links will detail in very easy to understand terms, it will pay you back immensely to understand the "why" not just accept the fact.


That is how whole cultures and nations of people are subjugated by "accepting" and not know or learning...

Rage Against The Machine - No Shelter

Rasta420
 
2 members found this post helpful.
Old 02-27-2012, 02:39 PM   #8
dearcat
LQ Newbie
 
Registered: Feb 2012
Location: Maine
Posts: 17

Original Poster
Rep: Reputation: Disabled
Smile Social Issues

Thanks Rasta420. At my age I do not care to understand machines. I do not,however,accept other matters. As print news reporter formore than 50 yrs. I throughly inform myself of all facts and always ask why and why not. I also get my answers. In fact, I have come out of retirement to fight a battle for Maine senior and disabled citizens. We are winning.
 
Old 02-27-2012, 02:45 PM   #9
Rasta420
Member
 
Registered: Feb 2012
Distribution: Slackware 64 13.37
Posts: 41

Rep: Reputation: 10
Awesome!

Thank you for your contributions to Maine seniors and disabled citizens.

Rasta420
 
Old 02-27-2012, 05:33 PM   #10
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
FYI: you do still need to manage cookies; that's a platform independent issue.
 
1 members found this post helpful.
Old 02-27-2012, 07:13 PM   #11
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,659
Blog Entries: 4

Rep: Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940
Actually, Dearcat, even Windows filesystems generally don't need to be defragmented anymore. The FAT32 file system (which, give it a break, was designed for floppy disks...) did; its successor, NTFS, does not.

Furthermore, the sheer size of hard drives today makes the filesystem's job much easier: there is almost always a plethora of contiguous disk space to be had. Drives today are both fast and smart, with their own on-board capabilities over and above whatever the disk controller can do. It simply isn't the issue that it once was: not for Linux, not for OS/X, and not even for Windows.
 
1 members found this post helpful.
Old 02-27-2012, 08:32 PM   #12
dearcat
LQ Newbie
 
Registered: Feb 2012
Location: Maine
Posts: 17

Original Poster
Rep: Reputation: Disabled
Question chrism20

I can not figure out how to manage cookies in Linux or Firefox.
 
Old 02-28-2012, 12:02 AM   #13
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Cookies are a browser feature; nothing to do with OS. Internet Explorer, FF, Opera etc all have to deal with cookies. Its one way that websites 'remember' you, amongst other things.
You just need to go through the menus in your browser until you see it eg on this machine (MS XP + FF v10) its Tools->options->privacy.
On the IE8 its basically the same: tools-> Internet Options->privacy
You can google the version of FF you have in front of you, or just look through the menus.
 
Old 02-28-2012, 07:45 AM   #14
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,420

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
Check this thread: http://forums.fedoraforum.org/showthread.php?t=232773, here is some discussion about defragmentation on fedora.

A common question from new Linux users is "How do you defrag your hard drive?" The short answer is that you probably don’t have to. The file system on Linux and other UNIX (and UNIX-like) operating systems is organized and stored more efficiently than the one on a Windows PC. On Windows, PC users will not notice a performance dropoff until fragmentation hits 20 percent or more, which is rare; on a multi-user, multi-tasking, multi-threaded operating system like Linux, the fragmentation of files on the hard disk is usually under 1 percent.

There are a few tools available that will allow you to defrag a Linux hard drive or partition. “EX2 File System for Windows” will let you defrag a Linux Ext2 volumes structure on a dual-boot system (a system partitioned to run both Linux and Windows). Defragmentation of the Linux partition or drive is done from directly within the Windows environment.

There is one native solution to defragging a Linux partition or boot drive from directly within Linux. The “Linux File-System Defragmenter” runs only in the command-line environment. The application can be downloaded directly from the SourceForge software repository. To use The Linux File-System Defragmenter, download and expand the tarball and type “make” in the command-line terminal. Use of the utility can be implemented with the command:
Code:
# defragfs /mnt/hda1
Specification of "-f" will also force defragmentation.

Ext3/4 also generates blank spaces around each file. Where it differs significantly from NTFS is that it’ll only fragment when it’s impossible to keep the file as one single fragment that(usually) only happens when the disk becomes too full.

But as per my further knowledge there is no need of any defragmentation on Linux.

Last edited by Satyaveer Arya; 02-28-2012 at 07:53 AM.
 
1 members found this post helpful.
Old 02-28-2012, 11:45 AM   #15
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,140

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
As an example of Linux filing system durability, my /home partition has been in use for 7 years and my non-contiguous files count (not exactly the same as fragmentation) is only about 10%. (I hope that doesn't turn out to be a case of pride before a fall!)

As one retiree to another, when you get to our age, you get a sense of priorities as to what you need to know. Good luck with your campaigning.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration