Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Hardware
| | |-+  Defrag?
« previous next »
  • Print
Pages: [1]

Author Topic: Defrag?  (Read 4957 times)

Offline whatchamacallit

  • Member
  • *
  • Posts: 92
    • My Homepage
Defrag?
« on: March 13, 2007, 06:04:59 PM »
Hi,

I'm wondering: Is it necessary - or would it bring any benefits at all - to defragment or re-format the hard disk of my iriver H310? The reason I'm wondering is that, on Windows PCs, it is necessary once in a while because Windows just is a bit of a junkheap ;-)
By now, I've moved files to and from the iriver so many times that, had I done the same amount of messing on my Windows harddisk, it would be high time to defragment it.
I don't know the filesystem that is on the harddrive, so I wouldn't know. As I can connect the iriver to my PC and it is recognized as just another USB drive, it would be easy to defragment it using my Windows OS - but is it recommendable?
Thanks!
Regards,

whatchamacallit
Logged
Hi-Tech is a wonderful thing - imagine how boring life would be without the hours you spend trying to fix all the little problems you wouldn't be having without it...

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Defrag?
« Reply #1 on: March 13, 2007, 06:14:23 PM »
It's probably not necessary, but I imagine it could in theory improve slightly your battery life (don't quote me on this, I'm half guessing).

Your H3xx is FAT32 so fragmentation can occur if you copy files to and from it a lot, depending on a variety of factors, so at least having your defragmenter scan the disk and tell you how fragmented it is could give you a little information.

Be aware, defragmenting can involve a lot of writes to the disk if fragmentation is heavy.
Logged

Offline bk

  • Member
  • *
  • Posts: 266
Re: Defrag?
« Reply #2 on: March 13, 2007, 07:01:30 PM »
There was one instance of an H1xx user here that (without dircache) complained that his/her player took literally 5-10 minutes to generate a root playlist. They reported that defragmenting the harddrive dramatically improved the playlist generation speed.

That said, I've never bothered defragmenting any of my players, mainly because there isn't any reliable FAT defrag utility available in Linux.
Logged

Offline pabouk

  • Member
  • *
  • Posts: 387
Re: Defrag?
« Reply #3 on: March 14, 2007, 01:22:37 PM »
The problem with defragmenting is the same like on any other harddrive with FAT32. It could give you speed gain but as Llorean said it is practical to check the actual fragmentation first.

Quote from: bk on March 13, 2007, 07:01:30 PM
That said, I've never bothered defragmenting any of my players, mainly because there isn't any reliable FAT defrag utility available in Linux.
Of course there are defragmentation utilities in virtually any Linux installation:
Code: [Select]
tar cf /tmp/tempH120 /mount/H120
rm -r /mount/H120
cd /mount/H120
tar xf /tmp/tempH120
rm /tmp/tempH120
Logged

Offline ryran

  • Member
  • *
  • Posts: 379
    • b19 photography
Re: Defrag?
« Reply #4 on: March 14, 2007, 03:45:35 PM »
Don't know how big the h310's hard drive is or how fast your usb connection is, but if you scan it and it is pretty fragmented, you'd probably be better off wiping it and re-copying everything over in one go than letting windows' defrag util play with it for eons.
Logged

Offline larry_llama

  • Member
  • *
  • Posts: 83
Re: Defrag?
« Reply #5 on: March 14, 2007, 04:27:57 PM »
Quote from: ryran on March 14, 2007, 03:45:35 PM
Don't know how big the h310's hard drive is or how fast your usb connection is, but if you scan it and it is pretty fragmented, you'd probably be better off wiping it and re-copying everything over in one go than letting windows' defrag util play with it for eons.

Agreed... if the drive is badly fragmented, this method would probably do less to shorten the drive life (fewer read/write cycles)
Logged

Offline bk

  • Member
  • *
  • Posts: 266
Re: Defrag?
« Reply #6 on: March 14, 2007, 08:14:37 PM »
Quote
Code: [Select]
tar cf /tmp/tempH120 /mount/H120
rm -r /mount/H120
cd /mount/H120
tar xf /tmp/tempH120
rm /tmp/tempH120

Hm. Yeah, I should've thought of that. But even realizing I could I probably still won't bother. :)
Logged

Offline Multiplex

  • Member
  • *
  • Posts: 440
Re: Defrag?
« Reply #7 on: March 15, 2007, 09:26:07 AM »
Quote from: bk on March 14, 2007, 08:14:37 PM
Code: [Select]
tar cf /tmp/tempH120 /mount/H120
rm -r /mount/H120
cd /mount/H120
tar xf /tmp/tempH120
rm /tmp/tempH120

Surely this will only work if the Linux FAT driver automatically Defrags the free space list (maybe it does and I'm embarrasing myself) - Windows doesn't

Getting dangerously far from Rockbox though ...
Logged

Offline Mikerman

  • Artist
  • Member
  • *
  • Posts: 721
Re: Defrag?
« Reply #8 on: March 16, 2007, 11:05:31 AM »
Some users at Misticriver have recommended, instead of defragging, deleting the files on the player (after having copied them to a backup disk) and then simply copying them back.  
Logged

Offline Sambolina3

  • Member
  • *
  • Posts: 61
  • They say I'm a genius.
Re: Defrag?
« Reply #9 on: March 18, 2007, 11:02:33 AM »
I never defrag my 30 gb 5th gen ipod, mainly because I end up reformating it on a regular basis bacause  I somehow mess it up ;D.
Logged
I say // tomato
You say /*tomah-toe*/

Offline caskey_91

  • Member
  • *
  • Posts: 42
Re: Defrag?
« Reply #10 on: March 18, 2007, 07:54:45 PM »
Would it be safe to de frag my 30 gig ipod video (5th generation) It does have alot of fragmented files in it due to me always putting in ne w videos and such along with rockbox stuff. I just want to make sure it won't be damaged in any way at all.
Logged

Offline NPswimdude500

  • Artist
  • Member
  • *
  • Posts: 180
  • SWIM!
Re: Defrag?
« Reply #11 on: March 18, 2007, 09:36:06 PM »
Quote from: caskey_91 on March 18, 2007, 07:54:45 PM
Would it be safe to de frag my 30 gig ipod video (5th generation) It does have alot of fragmented files in it due to me always putting in ne w videos and such along with rockbox stuff. I just want to make sure it won't be damaged in any way at all.
No, it won't be damaged. It really depends on the amount of fragmentation. Generally if it's less than 10%, you're okay but if it's more than that I usually defrag it. At the moment I'm defragging my PC (not the one I'm posting on) which is 67% fragmented.

That's the other thing - when it's defragging, don't use it. Plug it in as well - defragging can take a while....
Logged
iHP-130 Owner

"Some say I'm paranoid, I say I'm careful how I choose my friends. I been ta ICU once, I ain't goin' again"

Offline whatchamacallit

  • Member
  • *
  • Posts: 92
    • My Homepage
Re: Defrag?
« Reply #12 on: March 22, 2007, 04:49:25 PM »
Hi all,

thank you very much for all the tips! So, I guess I'll try. I don't have any Defragger under Linux, either - under Linux you don't often have a lot of FAT drives, do you? - but I'll just use Windows and the built-in Defragger. And of course I'll analyse it first to see approximately how long it could take.
Another question in that direction, then: Would it be possible to reformat the whole thing in ext format and then put Rockbox on it again? Would that destroy the original firmware? I wouldn't mind so much - I booted it a while ago because my wife used it and something didn't work in Rockbox and I realized I had forgotten what the buttons are in the original - but anyway. C.p., ext would reduce/ eliminate the need for defragging, no?
Regards,

whatchamacallit
Logged
Hi-Tech is a wonderful thing - imagine how boring life would be without the hours you spend trying to fix all the little problems you wouldn't be having without it...

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Defrag?
« Reply #13 on: March 22, 2007, 04:50:25 PM »
Rockbox only supports FAT32, so an ext drive wouldn't work with Rockbox.
Logged

Offline whatchamacallit

  • Member
  • *
  • Posts: 92
    • My Homepage
Re: Defrag?
« Reply #14 on: March 24, 2007, 03:13:17 PM »
Too bad. Well, I defragged it a while ago and it's fine now.
Thanks anyway!
Regards,

whatchamacallit
Logged
Hi-Tech is a wonderful thing - imagine how boring life would be without the hours you spend trying to fix all the little problems you wouldn't be having without it...

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Hardware
| | |-+  Defrag?
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.131 seconds with 14 queries.