View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 6 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Sun Jul 13, 2014 11:24 pm 
Offline
Joined: Tue Aug 15, 2006 11:14 am
Posts: 1343
Location: Orlando FL
So LinHES forced a drive check on boot tonight and it says that 69% of the files on the drive are non-contiguous.
Code:
1940/47464448 files (69.8% non-contiguous), 123280271/189847765 blocks
So what's the defrag options?

_________________
My System


Top
 Profile  
 
PostPosted: Mon Jul 14, 2014 8:58 am 
Offline
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location: /dev/null
What filesystem? Makes a big difference :p

_________________
Retired KM user (R4 - R6.04); friend to LH users.


Top
 Profile  
 
PostPosted: Mon Jul 14, 2014 3:15 pm 
Offline
Joined: Tue Aug 15, 2006 11:14 am
Posts: 1343
Location: Orlando FL
ext4. I migrated all my files on to this drive for the move to new(er) hardware. It said that it hadn't checked in 256 boots.

_________________
My System


Top
 Profile  
 
PostPosted: Mon Jul 14, 2014 3:53 pm 
Offline
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location: /dev/null
You can use:
Code:
e4defrag -c /dev/sdxy

where you adjust x and y to match your system.

_________________
Retired KM user (R4 - R6.04); friend to LH users.


Top
 Profile  
 
PostPosted: Mon Jul 14, 2014 7:05 pm 
Offline
Joined: Tue Aug 15, 2006 11:14 am
Posts: 1343
Location: Orlando FL
I ran it and less than a second later it bounced back as done! Either the backend has been defragging all day for me or I did something wrong. I re-ran it with a -cv and it has been going a little slower but that my just be because it's printing the name of every file on the hard drive now.

_________________
My System


Top
 Profile  
 
PostPosted: Tue Jul 15, 2014 12:51 pm 
Offline
Joined: Mon Apr 23, 2007 1:45 pm
Posts: 405
Location: Fargo, ND, USA
mattbatt wrote:
ext4. I migrated all my files on to this drive for the move to new(er) hardware. It said that it hadn't checked in 256 boots.


I had the same problem with EXT4. I got to 394 mounts before I had a unrecoverable hard disk crash.

http://forum.linhes.org/viewtopic.php?f=23&t=23867
http://forum.linhes.org/viewtopic.php?f=25&t=23911

Have you run gdisk with the v command on that EXT4 hard drive.
http://forum.linhes.org/viewtopic.php?f=23&t=23929

I wiped everything and reinstalled EXT4 just like the first time and all the previous problems came back. I got lucky with my 2TB of video files and still had them still backed up scattered across four other drives. I did some read transfer tests before and after alinement with folder sizes from 40GB to 250GB and my transfer rate doubled after I aligned the drive. It should not of made that much difference but it did.

I never did resolve the mount count issue. The long period of time it takes to run fsck on large disks at boot is a problem. A couple of years ago there was talk of creating a program that would scan the database at shutdown for a sufficient time period to run fsck and reboot and run it.

TVBox

_________________
TVBox
LinHES R8.6.1


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu