[phpBB Debug] PHP Notice: in file /includes/db/dbal.php on line 110: Undefined array key "cached"
[phpBB Debug] PHP Notice: in file /includes/db/dbal.php on line 111: Undefined array key "normal"
[phpBB Debug] PHP Notice: in file /includes/db/dbal.php on line 112: Undefined array key "total"
[phpBB Debug] PHP Notice: in file /includes/session.php on line 885: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2922)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 885: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2922)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 885: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2922)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3391: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2922)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3393: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2922)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3394: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2922)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3395: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2922)
Cabrillo College Linux Classes • View topic - How does Linux write to the hard disk?

How does Linux write to the hard disk?

UNIX/Linux Network Administration

How does Linux write to the hard disk?

Postby Wesley Jessup on Tue May 05, 2009 6:30 am

Wesley Jessup
 
Posts: 40
Joined: Wed Sep 03, 2008 7:29 pm

Partitioning

Postby Wesley Jessup on Tue May 05, 2009 6:32 am

Helpful guide, though it did not answer the question "How does Linux write to the hard disk?"

http://www.redhat.com/docs/manuals/linu ... tions.html
Wesley Jessup
 
Posts: 40
Joined: Wed Sep 03, 2008 7:29 pm

ext2 vs ext3 vs reiserfs

Postby Wesley Jessup on Tue May 05, 2009 6:33 am

Beginning to bite off more than I can chew regarding the question "How does Linux write to the hard disk?"
ext2- no journaling
ext3- ext2 with journaling (metadata and data)
reiserfs - journaling (metadata only)
How does Linux write to the hard disk? It depends on the filesystem.

http://en.wikipedia.org/wiki/Filesystem_journaling
http://kerneltrap.org/node/6741
Wesley Jessup
 
Posts: 40
Joined: Wed Sep 03, 2008 7:29 pm

Fragmented disks

Postby Wesley Jessup on Tue May 05, 2009 6:34 am

The last part answers the reason I wanted to know "How does Linux write to the hard disk?"
Esentially, more space is allowed between files, in order to allow for expansion. Fragmentation is not a problem untill the disk is ~80% full.

http://geekblog.oneandoneis2.org/index. ... ragmenting
Wesley Jessup
 
Posts: 40
Joined: Wed Sep 03, 2008 7:29 pm

Fragmented disks and Linux

Postby Wesley Jessup on Tue May 05, 2009 6:35 am

Maybe fragmentation isn't so bad, anyway.
And, if it is just copy the data on the fragmented partition to a seperate disk, delete the data on the fragmented partition then restore the backed up data.

http://geekblog.oneandoneis2.org/index. ... n-on-linux
Wesley Jessup
 
Posts: 40
Joined: Wed Sep 03, 2008 7:29 pm

Re: How does Linux write to the hard disk?

Postby marcromansky on Tue May 05, 2009 10:31 am

Interesting, cause I have never heard fragmentation being an issue on Linux. I have not heard of issues when volumes fill up, but there could be an issue when drives fill up. To make it more confusing, I wonder how this is all affected when a drive or portion of a drive is in a pool?
marcromansky
 
Posts: 94
Joined: Tue Nov 04, 2008 7:55 pm

Re: Fragmented disks

Postby Kayla Smith on Tue May 05, 2009 11:22 am

[quote="Wesley Jessup"]The last part answers the reason I wanted to know "How does Linux write to the hard disk?"
Esentially, more space is allowed between files, in order to allow for expansion. Fragmentation is not a problem untill the disk is ~80% full.

http://geekblog.oneandoneis2.org/index. ... ragmenting[/quote]

Is this only ext3? Or is this how ext2 works as well?
Kayla Smith
 
Posts: 67
Joined: Tue Sep 02, 2008 7:11 pm


Return to CIS 192 - Spring 2009

Who is online

Users browsing this forum: No registered users and 0 guests

cron