»
 

Go Back   ResellerRatings Store Ratings > ResellerRatings Forums > Tech Support

Reply
 
LinkBack Thread Tools Display Modes
Old 12-27-2001, 07:43 PM   #1 (permalink)
Registered User
 
wyvrn's Avatar
 
Join Date: Oct 2001
Posts: 2,300
wyvrn is on a distinguished road
Send a message via AIM to wyvrn
Noob question for the Linux experts

Do you scandisk and defrag in Linux? Is it needed, why or why not?

wyvrn is offline   Reply With Quote
Old 12-27-2001, 08:01 PM   #2 (permalink)
Registered User
 
Praetorian's Avatar
 
Join Date: Oct 2001
Location: Yuma, AZ
Posts: 2,484
Praetorian is on a distinguished road
Send a message via ICQ to Praetorian Send a message via AIM to Praetorian Send a message via Yahoo to Praetorian
Good question. I'm not sure. I dont see any tools in here for that sort of stuff. I'm in Mandrake 8.1.
Praetorian is offline   Reply With Quote
Old 12-27-2001, 08:04 PM   #3 (permalink)
Registered User
 
JacobM5727's Avatar
 
Join Date: Oct 2001
Location: Englewood, CO
Posts: 2,144
JacobM5727 is on a distinguished road
Send a message via ICQ to JacobM5727 Send a message via AIM to JacobM5727 Send a message via Yahoo to JacobM5727
i am no expert, and do not know about scandisk
but in linux you do not need to defrag.. saw it in a thread somewhere arund here...

something about linux just managing files better

edit: found it
http://www.techimo.com/forum/showthr...&threadid=5183
__________________
--Jacob--

Last edited by JacobM5727; 12-27-2001 at 08:06 PM.
JacobM5727 is offline   Reply With Quote
Old 12-27-2001, 08:13 PM   #4 (permalink)
Registered User
 
Germ's Avatar
 
Join Date: Oct 2001
Location: Lat:36.5N, Lon:95.5W
Posts: 1,223
Germ is on a distinguished road
Send a message via AIM to Germ Send a message via Yahoo to Germ
Linux isn't prone to file fragmentation because it will find the best place on the disk to place the file rather than spreading it around in little chunks like Windows. I think there were a couple of defrag utilities for ext1, but with ext2 and the journaling file systems it's not necessary.

Linux also has a utility similar to scandisk called fsck. It runs automatically at boot after the fs is mounted a certain number of times and any time the file system is not unmounted properly.

Germ
__________________
How do you set this laser printer to stun??
Germ is offline   Reply With Quote
Old 12-28-2001, 04:50 AM   #5 (permalink)
Registered User
 
lynchmob's Avatar
 
Join Date: Oct 2001
Location: Mid-Atlantic
Posts: 1,361
lynchmob is on a distinguished road
Ok,I'm not the Linux expert here,but,I think it works like this(and if I'm wrong,please say so):

Unlike windows, which puts files in the 1st available space it finds,Linux first makes space for the file and then assigns it an inode(index node)so the file is always linked to that inode.

On my linux system(s) fsck will run after every twenty reboots.It will then report the # of non-contiguous blocks.
lynch
__________________
Seldom right,but never in doubt...
lynchmob is offline   Reply With Quote
Old 12-28-2001, 06:48 AM   #6 (permalink)
Registered User
 
wyvrn's Avatar
 
Join Date: Oct 2001
Posts: 2,300
wyvrn is on a distinguished road
Send a message via AIM to wyvrn
Wow you post a question here and people actually answer it

Ok so Linux uses superior file placement, do we ever think Bill will implement that in Winhosed?

Can you manually run fsck if you are paranoid like me?
wyvrn is offline   Reply With Quote
Old 12-28-2001, 06:53 AM   #7 (permalink)
Registered User
 
otheos's Avatar
 
Join Date: Oct 2001
Location: Cardiff, Wales UK
Posts: 1,368
otheos is on a distinguished road
You can, but you don't need to at all. If you do however make sure your disk is not mounted or at least mounted read only, otherwise you will definitely loose your data.

fsck is more like scandisk, so dont expect any speed improvements. You can always set the interval between fsck's using tune2fs. see the man page.
otheos is offline   Reply With Quote
Old 12-28-2001, 07:24 AM   #8 (permalink)
Registered User
 
wyvrn's Avatar
 
Join Date: Oct 2001
Posts: 2,300
wyvrn is on a distinguished road
Send a message via AIM to wyvrn
Lose my data, eek not going to do that then. Where do I find this man page, and are women allowed?
wyvrn is offline   Reply With Quote
Old 12-28-2001, 07:28 AM   #9 (permalink)
Registered User
 
otheos's Avatar
 
Join Date: Oct 2001
Location: Cardiff, Wales UK
Posts: 1,368
otheos is on a distinguished road
from cli type:

man tune2fs

or xman and browse

or from kde Help select Unix Man pages
otheos is offline   Reply With Quote
Old 12-28-2001, 07:36 AM   #10 (permalink)
Registered User
 
wyvrn's Avatar
 
Join Date: Oct 2001
Posts: 2,300
wyvrn is on a distinguished road
Send a message via AIM to wyvrn
Otheos,

you are a scholar and a gentleman. If you are ever in Dallas drop by and I'll buy you a beer
wyvrn is offline   Reply With Quote
Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Most Active Discussions

Recent Discussions

All times are GMT -6. The time now is 12:58 AM.