Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Peter Rival <frival@zk3.dec.com>
To: Matthew Kirkwood <weejock@ferret.lmh.ox.ac.uk>
Cc: linux-kernel@vger.rutgers.edu, axp-list@redhat.com
Subject: Re: Adding more than 8 swap partitions
Date: Thu, 20 May 1999 18:00:01 -0400	[thread overview]
Message-ID: <374485E1.2D32D1AB@zk3.dec.com> (raw)
In-Reply-To: Pine.LNX.3.96.990520142733.30572A-100000@ferret.lmh.ox.ac.uk


[-- Attachment #1.1: Type: text/plain, Size: 5673 bytes --]

Okay, so I did that - I changed from:

    #define MAX_SWAPFILES    8
to:
    #define MAX_SWAPFILES    32

Now I can add up to 15 swap partitions, not 32.  I have 20 disks hanging
off of an AS4000, with the possibility of somewhere in the area of 40
disks by the time I'm done.  All of these disks are going to be configured
the same - 256MB for swap, and the rest as a standard ext2 filesystem.

Which brings me to my next point...This is a script of a session of me
trying to mount another of the 20 disks.  The questioning comes after.

Script started on Fri Apr 14 13:26:59 1911
[root@frigate /root]# df -k
Filesystem         1024-blocks  Used Available Capacity Mounted on
/dev/sdm2             108870   53943    49305     52%   /
/dev/sdm5            1748525 1015714   642446     61%   /usr
/dev/sda2            3788613      13  3592607      0%   /usr/pest/test1/1
/dev/sde2            3788613      13  3592607      0%   /usr/pest/test1/2
/dev/sdi2            3788613      13  3592607      0%   /usr/pest/test1/3
/dev/sds2            3788613      13  3592607      0%   /usr/pest/test1/4
/dev/sdw2            3788613      13  3592607      0%   /usr/pest/test1/5
/dev/sdb2            3788613      13  3592607      0%   /usr/pest/test1/6
/dev/sdf2            3788613      13  3592607      0%   /usr/pest/test1/7
/dev/sdt2            3788613      13  3592607      0%   /usr/pest/test1/9
/dev/sdx2            3788613      13  3592607      0%   /usr/pest/test1/0
/dev/sdk2            3788613      13  3592607      0%   /usr/pest/test2/3
/dev/sdl2            3788613      13  3592607      0%   /usr/pest/test2/8
/dev/sdj2            3788613      13  3592607      0%   /usr/pest/test1/8
[root@frigate /root]# mount /dev/sdc2
mount: /dev/sdc2 already mounted or /usr/pest/test2/1 busy
[root@frigate /root]# df -k
Filesystem         1024-blocks  Used Available Capacity Mounted on
/dev/sdm2             108870   53943    49305     52%   /
/dev/sdm5            1748525 1015714   642446     61%   /usr

/dev/sda2            3788613      13  3592607      0%   /usr/pest/test1/1
/dev/sde2            3788613      13  3592607      0%   /usr/pest/test1/2
/dev/sdi2            3788613      13  3592607      0%   /usr/pest/test1/3
/dev/sds2            3788613      13  3592607      0%   /usr/pest/test1/4
/dev/sdw2            3788613      13  3592607      0%   /usr/pest/test1/5
/dev/sdb2            3788613      13  3592607      0%   /usr/pest/test1/6
/dev/sdf2            3788613      13  3592607      0%   /usr/pest/test1/7
/dev/sdt2            3788613      13  3592607      0%   /usr/pest/test1/9
/dev/sdx2            3788613      13  3592607      0%   /usr/pest/test1/0
/dev/sdk2            3788613      13  3592607      0%   /usr/pest/test2/3
/dev/sdl2            3788613      13  3592607      0%   /usr/pest/test2/8
/dev/sdj2            3788613      13  3592607      0%   /usr/pest/test1/8
[root@frigate /root]# umount /dev/sdc2
[root@frigate /root]# mount /dev/sdc2
[root@frigate /root]# df -k
Filesystem         1024-blocks  Used Available Capacity Mounted on
/dev/sdm2             108870   53943    49305     52%   /
/dev/sdm5            1748525 1015714   642446     61%   /usr
/dev/sda2            3788613      13  3592607      0%   /usr/pest/test1/1
/dev/sde2            3788613      13  3592607      0%   /usr/pest/test1/2
/dev/sdi2            3788613      13  3592607      0%   /usr/pest/test1/3
/dev/sds2            1748525 1015714   642446     61%
/usr/pest/test1/4    <-- HUH??
/dev/sdw2            3788613      13  3592607      0%   /usr/pest/test1/5
/dev/sdb2            3788613      13  3592607      0%   /usr/pest/test1/6
/dev/sdf2            3788613      13  3592607      0%   /usr/pest/test1/7
/dev/sdt2            3788613      13  3592607      0%   /usr/pest/test1/9
/dev/sdx2            3788613      13  3592607      0%   /usr/pest/test1/0
/dev/sdk2            3788613      13  3592607      0%   /usr/pest/test2/3
/dev/sdl2            3788613      13  3592607      0%   /usr/pest/test2/8
/dev/sdj2            3788613      13  3592607      0%   /usr/pest/test1/8
/dev/sdc2            3788613      13  3592607      0%   /usr/pest/test2/1
[root@frigate /root]# exit
exit

Script done on Fri Apr 14 13:27:42 1911

This happened before and after a reboot, and after all of the disks had
been mke2fs-ed again.  I had tried to run "mount -a" before this all
happened, and several of the mounts complained of the device being already
mounted or the mount point busy, neither of which were the case.

It appears that the system is silently unmounting a _random_ filesystem,
and not taking its entry out of the list of mounted filesystems.
Strange...again...  One of my co-workers had mentioned that this could be
because of the fact that this is a Durango, not a Rawhide, but all the
disks are off of the first two PCI busses (which is all Linux sees right
now) and the Durango is in the Rawhide family of systems.  Anyway, does
anyone have any clues about this?

Oh, and lest I forget, this is stock 2.2.8, plus some axp patches that
Richard Henderson sent out (which work fine on another system without as
many disks...), with that one #define changed.  I can send the patches to
anyone interested.  All I know is, this is a configuration that _should_
be able to work...hmmm.....

 - Pete

Matthew Kirkwood wrote:

> On Wed, 19 May 1999, Peter Rival wrote:
>
> > I just wanted to make sure that I can add more than 8 swap partitions
> > under 2.2.8 by only changing the MAX_SWAPFILES #define in
> > include/linux/swap.h.
>
> You should be fine, although:
>
> > What is the maximum limit?
>
> It's 2Gb in 2.2, although I think you may need a new mkswap.
>
> Matthew.

[-- Attachment #1.2: Type: text/html, Size: 11870 bytes --]

[-- Attachment #2: Card for Peter Rival --]
[-- Type: text/x-vcard, Size: 219 bytes --]

begin:vcard 
n:Rival;Peter
x-mozilla-html:FALSE
org:Compaq Computer Corp.;Release Engineering Systems
adr:;;;;;;
version:2.1
email;internet:frival@zk3.dec.com
title:Engineer II
x-mozilla-cpt:;0
fn:Peter Rival
end:vcard

       reply	other threads:[~1999-05-20 22:39 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Pine.LNX.3.96.990520142733.30572A-100000@ferret.lmh.ox.ac.uk>
1999-05-20 22:00 ` Peter Rival [this message]
1999-05-21  1:41   ` Adding more than 8 swap partitions Wes Bauske
1999-05-23 17:02     ` Richard Henderson
1999-05-23 20:28       ` Wes Bauske
1999-05-23 21:13         ` warp
1999-05-23 22:33           ` Wes Bauske
1999-05-24  9:27             ` Sean Hunter
1999-05-24 11:43               ` Uncle George
1999-05-24 13:13                 ` Dr . David Alan Gilbert
1999-05-24 14:52                   ` Speedracer
1999-05-24 17:00                     ` Sean Hunter
1999-05-24 20:10                       ` Wes Bauske
1999-05-25  1:05                   ` Uncle George
1999-05-25  1:03                     ` Matti Aarnio
1999-05-25  2:18                       ` LFS support (was: Re: Adding more than 8 swap partitions) Wes Bauske
1999-05-25 10:11                       ` Adding more than 8 swap partitions Uncle George
1999-05-25 19:39                         ` Wes Bauske
1999-05-25 20:49                           ` Michal Jaegermann
1999-05-25 22:00                           ` Uncle George
1999-05-26  3:38                             ` Wes Bauske
1999-05-26  9:48                               ` Uncle George
1999-06-04 23:45                             ` files >4gig [WAS Adding more than 8 swap partitions] Uncle George
1999-06-05  2:50                               ` Wes Bauske
1999-06-05  5:51                               ` Matti Aarnio
1999-06-05  9:08                                 ` Uncle George
1999-06-05 12:53                                   ` PC164 and the EV56 21164 CPU Darren Breeze
     [not found]                               ` <19990605132923.A95@bug.ucw.cz>
1999-06-06 10:12                                 ` files >4gig -- 2.2.9 is corrupting disk! Uncle George
1999-05-25  8:22                     ` Adding more than 8 swap partitions Dr . David Alan Gilbert
1999-05-26  1:25                       ` Peter Rival
1999-05-21  8:19   ` Dr . David Alan Gilbert
1999-05-21 12:52     ` Peter Rival
1999-05-22 15:35 Ken Hansen
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox