May 21, 2012, 09:22:04 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Check your Page Rank, Backlinks, or Link Popularity in our tools section.
 
  Home   Forum   Help Search Directory Calendar Login Register    RSS 2.0 feedAtom feed


News
Check your Page Rank, Backlinks, or Link Popularity in our tools section.
Pages: [1]
  Print  
Author Topic:

Large data files

 (Read 4942 times)
0 Members and 1 Guest are viewing this topic.
xulescu
Administrator
Sr. Member
*****

Points: 8
Offline Offline

Posts: 259


WWW
« on: August 11, 2006, 07:33:17 »

Hi,

 I'm working on a project with databases and I need a filesystem what can handle large datafile and access them very fast. What filesystem to use ? any othe rtuning options ?

Thx
Logged



TheGodFather
Administrator
Hero Member
*****

Points: 202
Offline Offline

Posts: 2570



WWW
« Reply #1 on: August 11, 2006, 07:56:44 »

Use ext3  or XFS but try to format the filesystem with big blocks.
What arhitecture have you on that server ?

Regards
Logged

xulescu
Administrator
Sr. Member
*****

Points: 8
Offline Offline

Posts: 259


WWW
« Reply #2 on: August 11, 2006, 08:25:27 »

I have a dual P4 server. Big blocks ? what do you mean ?

You answer so fast Smiley

Logged

TheGodFather
Administrator
Hero Member
*****

Points: 202
Offline Offline

Posts: 2570



WWW
« Reply #3 on: August 11, 2006, 08:35:39 »

Quote
Big blocks ? what do you mean ?
Block size of your filesystem.
Code:
Usage: mkfs.ext3 [-c|-t|-l filename] [-b block-size] [-f fragment-size]
        [-i bytes-per-inode] [-j] [-J journal-options] [-N number-of-inodes]
        [-m reserved-blocks-percentage] [-o creator-os] [-g blocks-per-group]
        [-L volume-label] [-M last-mounted-directory] [-O feature[,...]]
        [-r fs-revision] [-R options] [-qvSV] device [blocks-count]
mkfs.ext3 -b 8192 /dev/hdx

Quote
You answer so fast Smiley

I'm just working on my forum so I see all  Cool

Regards
Logged

xulescu
Administrator
Sr. Member
*****

Points: 8
Offline Offline

Posts: 259


WWW
« Reply #4 on: August 11, 2006, 08:46:31 »

So I tried to format my partions first with XFS and 8k block size ... I formated the partition but when I mounted it I got:
Quote
XFS: Attempted to mount file system with blocksize 8192 bytes
XFS: Only page-sized (4096) or less blocksize currently work.

After that I tried to format with ext3. but when I launched:

mkfs.ext3 -b 8192 /dev/hdc1 I get:

mkfs.ext3: 8192-byte blocks too big for system (max 4096)

4096 is the maximum sized block ?

Thanks
Logged

TheGodFather
Administrator
Hero Member
*****

Points: 202
Offline Offline

Posts: 2570



WWW
« Reply #5 on: August 11, 2006, 09:27:32 »

You need 64 bit arhitecture for more than 4k block size.

Regards
Logged

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC
TinyPortal v0.9.7 © Bloc
Valid XHTML 1.0! Valid CSS!