[4781] in linux-scsi channel archive

home help back first fref pref prev next nref lref last post

Re: disks and file size

daemon@ATHENA.MIT.EDU (Hans-Werner Braun)
Thu Oct 1 13:27:11 1998

Date: 	Thu, 1 Oct 1998 09:45:29 -0700
From: Hans-Werner Braun <hwb@nlanr.net>
To: Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>
Cc: linux-scsi@vger.rutgers.edu
In-Reply-To: <199810011611.SAA31902@sunsite.ms.mff.cuni.cz>; from Jakub Jelinek on Thu, Oct 01, 1998 at 06:11:51PM +0200


> > 
> > I looked around for documentation, but could not find answers to the
> > following questions. May be you can help me? I am using 2.0.35 in a new
> > Debian release.
> > 
> >  1. I have a machine with 18 SCSI hard drives. The boot process finds
> >  them, but I cannot use them beyond sdp (which is documented), i.e.,
> >  when it runs out of the 16 disks times 16 paritions minor numbers. Is
> >  there some workaround for me to see all disks?
> 
> Yes. Get linux-2.1.122-ac2 or any other 2.1 kernel with my and Jirka
> Hanika's patch allowing up to 128 SCSI disks (or find it in some
> linux-kernel conference archive).
> There is no such patch for 2.0 and probably won't ever be.

Hmm, how do you deal with device numbers (MAKEDEV) then for the additional
disks?

> >  2. The documentation I found gives no indication to file size limits,
> >  but it seems that I can only create files up to 2GB. Is that so, or am
> >  I doing something wrong?
> 
> Yes, you are doing something wrong. You're using bad architecture :)
> If you switch to UltraSPARC or Alpha, you can create much larger files.
> There are some people who want to look at that issue for 2.3, but there are
> several problems with support for large files on 32bit platforms, especially
> page cache and kernel interface problems. And it is not the best solution to
> slow down all 32bit platforms by using long long internaly just about
> everywhere when most of the files don't need that.

Just curious, I am not an expert in that area. Why does it then work in
FreeBSD on PCs. I am able to fill a 9GB drive with a single file:

 #nai2[199]/N9 9:41 255: l
 total 8648842
 drwxr-xr-x   2 root  wheel         512 Oct  1 09:24 ./
 drwxr-xr-x  31 root  wheel        1024 Sep 30 21:59 ../
 -rw-rw-r--   1 root  wheel  8852078592 Oct  1 09:41 testfile
 #nai2[200]/N9 9:44 0: 

----

Thank you, your response was quite helpful already.

Hans-Werner

> 
> Cheers,
>     Jakub
> ___________________________________________________________________
> Jakub Jelinek | jj@sunsite.mff.cuni.cz | http://sunsite.mff.cuni.cz
> Administrator of SunSITE Czech Republic, MFF, Charles University
> ___________________________________________________________________
> Ultralinux - first 64bit OS to take full power of the UltraSparc
> Linux version 2.1.121 on a sparc64 machine (498.80 BogoMips).
> ___________________________________________________________________

-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.rutgers.edu

home help back first fref pref prev next nref lref last post