LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 07-05-2007, 09:53 PM   #1
iku
LQ Newbie
 
Registered: Oct 2005
Posts: 6

Rep: Reputation: 0
Migrated raid fs stuck at 2TB


I've just added another 4 drives to my raid, migrated the raid, resized the partition, and resized the ext3 filesystem. The new raid size should be 3TB+ but it's only 2048GB once mounted. anyone know why I can't seem to use over 2TB.

dumpe2fs output:
----------------

dumpe2fs 1.39 (29-May-2006)
Filesystem volume name: <none>
Last mounted on: <not available>
Filesystem UUID: d81e832d-9ab8-4e0c-b7ea-75e20c9c09d2
Filesystem magic number: 0xEF53
Filesystem revision #: 1 (dynamic)
Filesystem features: has_journal resize_inode dir_index filetype needs_recovery sparse_super large_file
Default mount options: (none)
Filesystem state: clean
Errors behavior: Continue
Filesystem OS type: Linux
Inode count: 268435456
Block count: 536870202
Reserved block count: 16106106
Free blocks: 191907569
Free inodes: 268198089
First block: 0
Block size: 4096
Fragment size: 4096
Reserved GDT blocks: 896
Blocks per group: 32768
Fragments per group: 32768
Inodes per group: 16384
Inode blocks per group: 512
Filesystem created: Tue Jul 3 13:16:01 2007
Last mount time: Fri Jul 6 10:42:52 2007
Last write time: Fri Jul 6 10:42:52 2007
Mount count: 3
Maximum mount count: 37
Last checked: Fri Jul 6 08:32:23 2007
Check interval: 15552000 (6 months)
Next check after: Wed Jan 2 09:32:23 2008
Reserved blocks uid: 0 (user root)
Reserved blocks gid: 0 (group root)
First inode: 11
Inode size: 128
Journal inode: 8
Default directory hash: tea
Directory Hash Seed: 722122c6-1a70-4ff0-b9dd-2a5db8fb1cdf
Journal backup: inode blocks
Journal size: 128M

fdisk reports:
--------------

Disk /dev/sdb: 3499.9 GB, 3499925438464 bytes
255 heads, 63 sectors/track, 425508 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdb1 1 267349 2147480811 83 Linux


EDIT:
I just realized fdisk isn't creating a big enough partition, maximum cylinder acceptable is 267349 while there are 425508 cylinders. Is it possible to create one partition larger than this?

Last edited by iku; 07-05-2007 at 10:07 PM.
 
Old 07-05-2007, 10:59 PM   #2
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Squeeze 2.6.32.9 SMP AMD64
Posts: 3,192

Rep: Reputation: 120Reputation: 120
Do you have your kernel configured for Large Block/Large Single File support?
 
Old 07-05-2007, 11:48 PM   #3
iku
LQ Newbie
 
Registered: Oct 2005
Posts: 6

Original Poster
Rep: Reputation: 0
I think so, I'm using a fedora core 7 complied kernel, 2.6.21-1.3228.fc7. I think the problem is that fdisk created a DOS type partition table. reading the manual for fdisk it says that quote

Quote:
In a DOS type partition table the starting offset and the size of each partition is stored in two ways: as an absolute number of sectors (given in 32 bits) and as a Cylinders/Heads/Sectors triple (given in 10+8+6 bits). The former is OK - with 512-byte sectors this will work up to 2 TB. The latter has two different problems. First of all, these C/H/S fields can be filled only when the number of heads and the number of sectors per track are known. Secondly, even if we know what these numbers should be, the 24 bits that are available do not suffice. DOS uses C/H/S only, Windows uses both, Linux never uses C/H/S.
I think I need to change disklable type. anyone know if this is the problem and if changing this can be done safely without data loss?
 
Old 07-06-2007, 10:42 AM   #4
iku
LQ Newbie
 
Registered: Oct 2005
Posts: 6

Original Poster
Rep: Reputation: 0
OK, from what I've read I've realized I need to change the msdos partition table to something like a gpt partition table. Needing to retain data already on the raid changing it would destroy the ability to read the data, from what I've heard. I now realize I should have used the parted command instead of the fdisk command which default creates a msdos type partition table.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
File system and > 2TB Files Squeesh Linux - Distributions 3 07-27-2006 05:43 PM
Why is my 3.1TB array only showing up as 1.2TB? BrianK Linux - General 4 06-13-2006 10:32 PM
Larger than 2TB volumes aforsyth1 Linux - Software 4 03-23-2005 07:05 AM
Problem when converting to RAID!!! STUCK! denniz Linux - General 19 10-04-2004 03:51 PM
install redhat 9 on a 1.2tb raid system david@aber Red Hat 0 07-16-2004 09:28 AM


All times are GMT -5. The time now is 11:38 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration