All of lore.kernel.org
 help / color / mirror / Atom feed
* create very large file system
@ 2006-07-19 12:10 Mark F
  2006-07-19 12:57 ` Alexander Zarochentsev
  2006-07-21 15:37 ` Stephen Tweedie
  0 siblings, 2 replies; 13+ messages in thread
From: Mark F @ 2006-07-19 12:10 UTC (permalink / raw)
  To: reiserfs-list; +Cc: Ext3-users

Suse Linux Enterprise Server 9 SP3

I've tried to create a large 5TB file system using both reiserfs and ext3 and both have failed.

I end up with only a 1.5TB file system.  Does anyone know why this doesn't work, what to do to fix it?

Others have suggested that  only XFS or JFS will work.  Is this so?

Thanks,
-Mark


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: create very large file system
  2006-07-19 12:10 create very large file system Mark F
@ 2006-07-19 12:57 ` Alexander Zarochentsev
  2006-07-19 13:24   ` Mark F
  2006-07-20  6:26   ` Andreas Dilger
  2006-07-21 15:37 ` Stephen Tweedie
  1 sibling, 2 replies; 13+ messages in thread
From: Alexander Zarochentsev @ 2006-07-19 12:57 UTC (permalink / raw)
  To: reiserfs-list; +Cc: Mark F, Ext3-users

On Wednesday 19 July 2006 16:10, Mark F wrote:
> Suse Linux Enterprise Server 9 SP3
>
> I've tried to create a large 5TB file system using both reiserfs and
> ext3 and both have failed.

how did they fail?

>
> I end up with only a 1.5TB file system.  Does anyone know why this
> doesn't work, what to do to fix it?

you have a single 5TB device? h/w raid, I think ?

you might need to convert the partition table to GPT format for 
supporting 2TB+ partitions.  it can be done by the gnu parted tool.

> Others have suggested that  only XFS or JFS will work.  Is this so?
>
> Thanks,
> -Mark


-- 
Alex.


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: create very large file system
  2006-07-19 12:57 ` Alexander Zarochentsev
@ 2006-07-19 13:24   ` Mark F
  2006-07-20  6:26   ` Andreas Dilger
  1 sibling, 0 replies; 13+ messages in thread
From: Mark F @ 2006-07-19 13:24 UTC (permalink / raw)
  To: reiserfs-list; +Cc: Ext3-users

Alexander Zarochentsev wrote:
> On Wednesday 19 July 2006 16:10, Mark F wrote:
>> Suse Linux Enterprise Server 9 SP3
>>
>> I've tried to create a large 5TB file system using both reiserfs and
>> ext3 and both have failed.
> 
> how did they fail?
> 
When I create the partition using cfdisk it appeared to be created correctly, now I have discovered that it is not.

I thought the problem was with the mkfs.<filesystem> commands but it looks like it is a bit deeper than that.

>> I end up with only a 1.5TB file system.  Does anyone know why this
>> doesn't work, what to do to fix it?
> 
> you have a single 5TB device? h/w raid, I think ?

Yes, Orion 12S RAID Array.  12x500GB drives

> 
> you might need to convert the partition table to GPT format for 
> supporting 2TB+ partitions.  it can be done by the gnu parted tool.
> 

Thanks, I don't know what GPT format is but I'll try to figure it out, I'm compiling/installing gparted right now.

-Mark

>> Others have suggested that  only XFS or JFS will work.  Is this so?
>>
>> Thanks,
>> -Mark
> 
> 


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: create very large file system
  2006-07-19 12:57 ` Alexander Zarochentsev
  2006-07-19 13:24   ` Mark F
@ 2006-07-20  6:26   ` Andreas Dilger
  2006-07-20  7:11     ` Clay Barnes
  2006-07-20 11:17     ` Christian Iversen
  1 sibling, 2 replies; 13+ messages in thread
From: Andreas Dilger @ 2006-07-20  6:26 UTC (permalink / raw)
  To: Alexander Zarochentsev; +Cc: reiserfs-list, Mark F, Ext3-users

On Jul 19, 2006  16:57 +0400, Alexander Zarochentsev wrote:
> On Wednesday 19 July 2006 16:10, Mark F wrote:
> > I've tried to create a large 5TB file system using both reiserfs and
> > ext3 and both have failed.
> 
> you might need to convert the partition table to GPT format for 
> supporting 2TB+ partitions.  it can be done by the gnu parted tool.

Or, for that matter, don't use a partition table at all, since this
adds an unhelpful offset to all the filesystem structures and can
hurt performance on RAID where the filesystem is trying to align IO
to RAID stripe boundaries.

Cheers, Andreas
--
Andreas Dilger
Principal Software Engineer
Cluster File Systems, Inc.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: create very large file system
  2006-07-20  6:26   ` Andreas Dilger
@ 2006-07-20  7:11     ` Clay Barnes
  2006-07-20 16:46       ` David Masover
  2006-07-20 11:17     ` Christian Iversen
  1 sibling, 1 reply; 13+ messages in thread
From: Clay Barnes @ 2006-07-20  7:11 UTC (permalink / raw)
  To: Alexander Zarochentsev, reiserfs-list, Mark F

On 02:26 Thu 20 Jul     , Andreas Dilger wrote:
> On Jul 19, 2006  16:57 +0400, Alexander Zarochentsev wrote:
> > On Wednesday 19 July 2006 16:10, Mark F wrote:
> > > I've tried to create a large 5TB file system using both reiserfs and
> > > ext3 and both have failed.
> > 
> > you might need to convert the partition table to GPT format for 
> > supporting 2TB+ partitions.  it can be done by the gnu parted tool.
> 
> Or, for that matter, don't use a partition table at all, since this
> adds an unhelpful offset to all the filesystem structures and can
> hurt performance on RAID where the filesystem is trying to align IO
> to RAID stripe boundaries.
Well, damn.  Too late for that to help me.  I've a 700GB that's...
rather too full to put on DVDs or my other drives to fix that.  There
isn't some "safe" way to remove a partition table from a SW RAID array,
is there?

--Clay
> 
> Cheers, Andreas
> --
> Andreas Dilger
> Principal Software Engineer
> Cluster File Systems, Inc.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: create very large file system
  2006-07-20  6:26   ` Andreas Dilger
  2006-07-20  7:11     ` Clay Barnes
@ 2006-07-20 11:17     ` Christian Iversen
  2006-07-20 15:02       ` Andreas Dilger
  2006-07-20 16:22       ` Jonathan Briggs
  1 sibling, 2 replies; 13+ messages in thread
From: Christian Iversen @ 2006-07-20 11:17 UTC (permalink / raw)
  To: Alexander Zarochentsev, reiserfs-list, Mark F, Ext3-users

On Thursday 20 July 2006 08:26, Andreas Dilger wrote:
> On Jul 19, 2006  16:57 +0400, Alexander Zarochentsev wrote:
> > On Wednesday 19 July 2006 16:10, Mark F wrote:
> > > I've tried to create a large 5TB file system using both reiserfs and
> > > ext3 and both have failed.
> >
> > you might need to convert the partition table to GPT format for
> > supporting 2TB+ partitions.  it can be done by the gnu parted tool.
>
> Or, for that matter, don't use a partition table at all, since this
> adds an unhelpful offset to all the filesystem structures and can
> hurt performance on RAID where the filesystem is trying to align IO
> to RAID stripe boundaries.

Can linux still auto-detect raid volumes if there's no partition table?

-- 
Regards,
Christian Iversen

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: create very large file system
  2006-07-20 11:17     ` Christian Iversen
@ 2006-07-20 15:02       ` Andreas Dilger
  2006-07-20 16:22       ` Jonathan Briggs
  1 sibling, 0 replies; 13+ messages in thread
From: Andreas Dilger @ 2006-07-20 15:02 UTC (permalink / raw)
  To: Christian Iversen
  Cc: Alexander Zarochentsev, reiserfs-list, Mark F, Ext3-users

On Jul 20, 2006  13:17 +0200, Christian Iversen wrote:
> On Thursday 20 July 2006 08:26, Andreas Dilger wrote:
> > On Jul 19, 2006  16:57 +0400, Alexander Zarochentsev wrote:
> > > On Wednesday 19 July 2006 16:10, Mark F wrote:
> > > > I've tried to create a large 5TB file system using both reiserfs and
> > > > ext3 and both have failed.
> > >
> > > you might need to convert the partition table to GPT format for
> > > supporting 2TB+ partitions.  it can be done by the gnu parted tool.
> >
> > Or, for that matter, don't use a partition table at all, since this
> > adds an unhelpful offset to all the filesystem structures and can
> > hurt performance on RAID where the filesystem is trying to align IO
> > to RAID stripe boundaries.
> 
> Can linux still auto-detect raid volumes if there's no partition table?

Hmm, that I'm not sure of - we mostly deal with external RAID devices.

Cheers, Andreas
--
Andreas Dilger
Principal Software Engineer
Cluster File Systems, Inc.


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: create very large file system
  2006-07-20 11:17     ` Christian Iversen
  2006-07-20 15:02       ` Andreas Dilger
@ 2006-07-20 16:22       ` Jonathan Briggs
  2006-07-20 16:56         ` Avuton Olrich
  1 sibling, 1 reply; 13+ messages in thread
From: Jonathan Briggs @ 2006-07-20 16:22 UTC (permalink / raw)
  To: Christian Iversen
  Cc: Alexander Zarochentsev, reiserfs-list, Mark F, Ext3-users

[-- Attachment #1: Type: text/plain, Size: 1200 bytes --]

On Thu, 2006-07-20 at 13:17 +0200, Christian Iversen wrote:
> On Thursday 20 July 2006 08:26, Andreas Dilger wrote:
> > On Jul 19, 2006  16:57 +0400, Alexander Zarochentsev wrote:
> > > On Wednesday 19 July 2006 16:10, Mark F wrote:
> > > > I've tried to create a large 5TB file system using both reiserfs and
> > > > ext3 and both have failed.
> > >
> > > you might need to convert the partition table to GPT format for
> > > supporting 2TB+ partitions.  it can be done by the gnu parted tool.
> >
> > Or, for that matter, don't use a partition table at all, since this
> > adds an unhelpful offset to all the filesystem structures and can
> > hurt performance on RAID where the filesystem is trying to align IO
> > to RAID stripe boundaries.
> 
> Can linux still auto-detect raid volumes if there's no partition table?

You're not supposed to be doing it that way these days.  RAID autodetect
is getting tossed out of the kernel in the future (probably still many
versions away though), and RAID, DM, LVM, and maybe even regular
partition setup is going to be done in initramfs / initrd.

At least, that is what I read.
-- 
Jonathan Briggs <jbriggs@esoft.com>
eSoft, Inc.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: create very large file system
  2006-07-20  7:11     ` Clay Barnes
@ 2006-07-20 16:46       ` David Masover
  0 siblings, 0 replies; 13+ messages in thread
From: David Masover @ 2006-07-20 16:46 UTC (permalink / raw)
  To: Clay Barnes; +Cc: Alexander Zarochentsev, reiserfs-list, Mark F

Clay Barnes wrote:
> On 02:26 Thu 20 Jul     , Andreas Dilger wrote:
>> On Jul 19, 2006  16:57 +0400, Alexander Zarochentsev wrote:
>>> On Wednesday 19 July 2006 16:10, Mark F wrote:
>>>> I've tried to create a large 5TB file system using both reiserfs and
>>>> ext3 and both have failed.
>>> you might need to convert the partition table to GPT format for 
>>> supporting 2TB+ partitions.  it can be done by the gnu parted tool.
>> Or, for that matter, don't use a partition table at all, since this
>> adds an unhelpful offset to all the filesystem structures and can
>> hurt performance on RAID where the filesystem is trying to align IO
>> to RAID stripe boundaries.
> Well, damn.  Too late for that to help me.  I've a 700GB that's...
> rather too full to put on DVDs or my other drives to fix that.  There
> isn't some "safe" way to remove a partition table from a SW RAID array,
> is there?

Define "safe".  You could probably do it non-destructively with dd, if 
you set the block size properly.  That doesn't make it safe, though, 
you're basically screwed if you lose power.

And even once you do that, I don't think the Reiser4 tools would let you 
resize.

Anyway, I haven't tried this myself, as my SW RAID does actually have 
multiple partitions, for good reason.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: create very large file system
  2006-07-20 16:22       ` Jonathan Briggs
@ 2006-07-20 16:56         ` Avuton Olrich
  2006-07-20 17:32           ` David Masover
  0 siblings, 1 reply; 13+ messages in thread
From: Avuton Olrich @ 2006-07-20 16:56 UTC (permalink / raw)
  To: Jonathan Briggs
  Cc: Christian Iversen, Alexander Zarochentsev, reiserfs-list, Mark F,
	Ext3-users

On 7/20/06, Jonathan Briggs <jbriggs@esoft.com> wrote:
> You're not supposed to be doing it that way these days.  RAID autodetect
> is getting tossed out of the kernel in the future (probably still many

Bit OT, but is there something that is supposed to replace RAID
autodetect, or we're just supposed to make initscripts to run mdadm?
-- 
avuton
--
 Anyone who quotes me in their sig is an idiot. -- Rusty Russell.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: create very large file system
  2006-07-20 16:56         ` Avuton Olrich
@ 2006-07-20 17:32           ` David Masover
  0 siblings, 0 replies; 13+ messages in thread
From: David Masover @ 2006-07-20 17:32 UTC (permalink / raw)
  To: Avuton Olrich
  Cc: Jonathan Briggs, Christian Iversen, Alexander Zarochentsev,
	reiserfs-list, Mark F, Ext3-users

Avuton Olrich wrote:
> On 7/20/06, Jonathan Briggs <jbriggs@esoft.com> wrote:
>> You're not supposed to be doing it that way these days.  RAID autodetect
>> is getting tossed out of the kernel in the future (probably still many
> 
> Bit OT, but is there something that is supposed to replace RAID
> autodetect, or we're just supposed to make initscripts to run mdadm?

I'm not sure, but I suspect it may have something to do with the 
device-mapper.  I know that's what I use for a striped array -- and yes, 
I have to make an initscript -- initrd, because I boot off the thing -- 
to set them up.  The good news is, the detection can be done in userland 
now -- since mine is nvidia raid, I can use dmraid, which runs entirely 
in userland, autodetects from BIOS settings, then sets up a proper 
device-mapper table in the kernel.

Device-mapper doesn't support everything yet (as far as I know), but the 
principle should be about the same for more complex RAID -- some 
userland tool.  There really is no reason for this autodetection to be 
in the kernel.

In the meantime, there may be rough edges...

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: create very large file system
  2006-07-19 12:10 create very large file system Mark F
  2006-07-19 12:57 ` Alexander Zarochentsev
@ 2006-07-21 15:37 ` Stephen Tweedie
  2006-07-21 15:58   ` Mark F
  1 sibling, 1 reply; 13+ messages in thread
From: Stephen Tweedie @ 2006-07-21 15:37 UTC (permalink / raw)
  To: Mark F; +Cc: reiserfs-list, Stephen Tweedie, Ext3-users

Hi,

On Wed, Jul 19, 2006 at 07:10:56AM -0500, Mark F wrote:
> Suse Linux Enterprise Server 9 SP3
> 
> I've tried to create a large 5TB file system using both reiserfs and ext3 
> and both have failed.
> 
> I end up with only a 1.5TB file system.  Does anyone know why this doesn't 
> work, what to do to fix it?

I fixed a bug in mke2fs that had this result over a year ago, so a
recent e2fsprogs should fix it.

Failing that, there's a workaround: use "mke2fs -b 4096" to prevent
mke2fs from trying to work out the device size in units of 1k blocks.
Counting in 4k blocks prevents a 32-bit overflow.

--Stephen

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: create very large file system
  2006-07-21 15:37 ` Stephen Tweedie
@ 2006-07-21 15:58   ` Mark F
  0 siblings, 0 replies; 13+ messages in thread
From: Mark F @ 2006-07-21 15:58 UTC (permalink / raw)
  To: Ext3-users; +Cc: reiserfs-list

Stephen Tweedie wrote:
> Hi,
> 
> On Wed, Jul 19, 2006 at 07:10:56AM -0500, Mark F wrote:
>> Suse Linux Enterprise Server 9 SP3
>>
>> I've tried to create a large 5TB file system using both reiserfs and ext3 
>> and both have failed.
>>
>> I end up with only a 1.5TB file system.  Does anyone know why this doesn't 
>> work, what to do to fix it?
> 
> I fixed a bug in mke2fs that had this result over a year ago, so a
> recent e2fsprogs should fix it.
> 
> Failing that, there's a workaround: use "mke2fs -b 4096" to prevent
> mke2fs from trying to work out the device size in units of 1k blocks.
> Counting in 4k blocks prevents a 32-bit overflow.
> 
> --Stephen

Thanks,

I finally got it formated using the GPT label with parted.  I formatted it 
reiserfs, it takes a few seconds to mount but seems to work fine and shows up at 
full size.

-Mark

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2006-07-21 15:58 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-19 12:10 create very large file system Mark F
2006-07-19 12:57 ` Alexander Zarochentsev
2006-07-19 13:24   ` Mark F
2006-07-20  6:26   ` Andreas Dilger
2006-07-20  7:11     ` Clay Barnes
2006-07-20 16:46       ` David Masover
2006-07-20 11:17     ` Christian Iversen
2006-07-20 15:02       ` Andreas Dilger
2006-07-20 16:22       ` Jonathan Briggs
2006-07-20 16:56         ` Avuton Olrich
2006-07-20 17:32           ` David Masover
2006-07-21 15:37 ` Stephen Tweedie
2006-07-21 15:58   ` Mark F

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.