Re: Large partition

2005-10-24 Thread Otto Moerbeek
On Mon, 24 Oct 2005, Nick Nauwelaerts wrote:

> On Mon, 24 Oct 2005 11:42:45 +0200 (CEST)
> Beck Zoltan Gyula <[EMAIL PROTECTED]> wrote:
> 
> >   I would like to ask if it is possible to use a large, more than 2T
> > diskarray or CCD?
> >   In FAQ: "14.7 - What are the issues regarding large
> > drives with OpenBSD?
> > 
> > OpenBSD supports an individual file system of up to 231-1, or
> > 2,147,483,647 sectors, and as each sector is 512 bytes, that's a tiny
> > amount less than 1T."
> 
> I might be wrong, it's been a while. But if I'm not mistaken I did
> successfully mount a 5TB partition over nfs from a netapp unit. If
> that's the storage you require, you might be more interested in those
> units (with an added bonus that they come up in less than a minute after
> an unclean shutdown).
> 
> And if you really want the maximum size for partitions on OpenBSD (just
> under 1TB), then don't forget to read up on fsck memory usage.

And don't forget another thing.

There's also the issue of disk size. You might have a disk that is
larger than 1TB, and try to create partitions smaller than 1TB.

In theory that should not work, since a partition that crosses the 1TB
boundary or is completely beyond 1TB causes sign wraps in block
numbers. 

But in practise it may work. Due to some luck, the SCSI code converts
the block numbers in such a way that the sign wrap does not occur, or
at least its effects are reversed. I managed to create 900GB and a
300GB partition on a 1.2TB RAID0, that worked fine. 

THAT IS NOT A GUARANTEE.

The very hard limit to disk and partition size is 2TB. To be safe,
Both should be smaller than 1TB.

-Otto



Re: Large partition

2005-10-24 Thread Nick Nauwelaerts
On Mon, 24 Oct 2005 11:42:45 +0200 (CEST)
Beck Zoltan Gyula <[EMAIL PROTECTED]> wrote:

>   I would like to ask if it is possible to use a large, more than 2T
> diskarray or CCD?
>   In FAQ: "14.7 - What are the issues regarding large
> drives with OpenBSD?
> 
> OpenBSD supports an individual file system of up to 231-1, or
> 2,147,483,647 sectors, and as each sector is 512 bytes, that's a tiny
> amount less than 1T."

I might be wrong, it's been a while. But if I'm not mistaken I did
successfully mount a 5TB partition over nfs from a netapp unit. If
that's the storage you require, you might be more interested in those
units (with an added bonus that they come up in less than a minute after
an unclean shutdown).

And if you really want the maximum size for partitions on OpenBSD (just
under 1TB), then don't forget to read up on fsck memory usage.

// nick



Re: Large partition

2005-10-24 Thread tony sarendal
On 24/10/05, Stuart Henderson <[EMAIL PROTECTED]> wrote:
> --On 24 October 2005 13:34 +0200, Beck Zoltan Gyula wrote:
>
> > I must install a file server so I need minimal 2T disk space. So I
> > need to choose an other operating system :(
>
> 2T is a lot of files to put in a single directory. And of course, where
> you work with multiple directories, each can be on a separate
> partition...
>

I thought fsck on 300GB was painful. 2TB...

--
Tony Sarendal - [EMAIL PROTECTED]
IP/Unix
   -= The scorpion replied,
   "I couldn't help it, it's my nature" =-



Re: Large partition

2005-10-24 Thread Stuart Henderson

--On 24 October 2005 13:34 +0200, Beck Zoltan Gyula wrote:


I must install a file server so I need minimal 2T disk space. So I
need to choose an other operating system :(


2T is a lot of files to put in a single directory. And of course, where 
you work with multiple directories, each can be on a separate 
partition...




Re: Large partition

2005-10-24 Thread Jasper Lievisse Adriaanse
On Mon, 24 Oct 2005 13:34:31 +0200 (CEST)
Beck Zoltan Gyula <[EMAIL PROTECTED]> wrote:

> I must install a file server so I need minimal 2T disk space. So I need to
> choose an other operating system :(

Well, you can have 2TB of storage. As long as you spread it over several
partitions, right?

Cheers,
Jasper

> 
> On Mon, 24 Oct 2005, Nick Holland wrote:
> 
> > Beck Zoltan Gyula wrote:
> > > Hi!
> > >
> > >   I would like to ask if it is possible to use a large, more than 2T
> > > diskarray or CCD?
> > >   In FAQ: "14.7 - What are the issues regarding large
> > > drives with OpenBSD?
> > >
> > > OpenBSD supports an individual file system of up to 231-1, or
> > > 2,147,483,647 sectors, and as each sector is 512 bytes, that's a tiny
> > > amount less than 1T."
> > >
> > >   It's true I can't use my 2T partition?
> > >
> > >   Best Regards
> > > Bzg
> >
> > 2TB is greater than 1TB, so yes, it can not be one file system.
> >
> > it COULD (and probably SHOULD) be multiple file systems on one array.
> >
> > I can think of lots of apps which might need more than 1TB.
> > I can't think of many apps which need more than 1TB now that might not
> > some day need more than 10TB.
> >
> > It is probably easier to bolt-on new partitions later than to rebuild on
> > a new array later.  Plan for multiple partitions now...
> >
> > Nick.
> 


-- 
"Security is decided by quality" -- Theo de Raadt



Re: Large partition

2005-10-24 Thread Beck Zoltan Gyula
I must install a file server so I need minimal 2T disk space. So I need to
choose an other operating system :(

On Mon, 24 Oct 2005, Nick Holland wrote:

> Beck Zoltan Gyula wrote:
> > Hi!
> >
> >   I would like to ask if it is possible to use a large, more than 2T
> > diskarray or CCD?
> >   In FAQ: "14.7 - What are the issues regarding large
> > drives with OpenBSD?
> >
> > OpenBSD supports an individual file system of up to 231-1, or
> > 2,147,483,647 sectors, and as each sector is 512 bytes, that's a tiny
> > amount less than 1T."
> >
> >   It's true I can't use my 2T partition?
> >
> >   Best Regards
> > Bzg
>
> 2TB is greater than 1TB, so yes, it can not be one file system.
>
> it COULD (and probably SHOULD) be multiple file systems on one array.
>
> I can think of lots of apps which might need more than 1TB.
> I can't think of many apps which need more than 1TB now that might not
> some day need more than 10TB.
>
> It is probably easier to bolt-on new partitions later than to rebuild on
> a new array later.  Plan for multiple partitions now...
>
> Nick.



Re: Large partition

2005-10-24 Thread Rod.. Whitworth
On Mon, 24 Oct 2005 11:42:45 +0200 (CEST), Beck Zoltan Gyula wrote:

>Hi!
>
>  I would like to ask if it is possible to use a large, more than 2T
>diskarray or CCD?
>  In FAQ: "14.7 - What are the issues regarding large
>drives with OpenBSD?
>
>OpenBSD supports an individual file system of up to 231-1, or
>2,147,483,647 sectors, and as each sector is 512 bytes, that's a tiny
>amount less than 1T."
>
>  It's true I can't use my 2T partition?
>
>  Best Regards
>Bzg
>
>

Do you think the FAQ tells lies?
You did the math.

For more info STFA. It has been discussed this week.
Research!

>From the land "down under": Australia.
Do we look  from up over?

Do NOT CC me - I am subscribed to the list.
Replies to the sender address will fail except from the list-server.



Re: Large partition

2005-10-24 Thread Nick Holland
Beck Zoltan Gyula wrote:
> Hi!
> 
>   I would like to ask if it is possible to use a large, more than 2T
> diskarray or CCD?
>   In FAQ: "14.7 - What are the issues regarding large
> drives with OpenBSD?
> 
> OpenBSD supports an individual file system of up to 231-1, or
> 2,147,483,647 sectors, and as each sector is 512 bytes, that's a tiny
> amount less than 1T."
> 
>   It's true I can't use my 2T partition?
> 
>   Best Regards
> Bzg

2TB is greater than 1TB, so yes, it can not be one file system.

it COULD (and probably SHOULD) be multiple file systems on one array.

I can think of lots of apps which might need more than 1TB.
I can't think of many apps which need more than 1TB now that might not
some day need more than 10TB.

It is probably easier to bolt-on new partitions later than to rebuild on
a new array later.  Plan for multiple partitions now...

Nick.



Large partition

2005-10-24 Thread Beck Zoltan Gyula
Hi!

  I would like to ask if it is possible to use a large, more than 2T
diskarray or CCD?
  In FAQ: "14.7 - What are the issues regarding large
drives with OpenBSD?

OpenBSD supports an individual file system of up to 231-1, or
2,147,483,647 sectors, and as each sector is 512 bytes, that's a tiny
amount less than 1T."

  It's true I can't use my 2T partition?

  Best Regards
Bzg