From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,284fb1eaeb1aa53 X-Google-Attributes: gid1164f8,public From: tjl@siva.bris.ac.uk (Tim Llewellyn) Subject: Re: Adding swap space on Alpha station Date: 1996/06/28 Message-ID: #1/1 X-Deja-AN: 162587830 sender: tjl@juno (Tim Llewellyn) references: <835873673.15453.0@specialist.co.uk> cc: steves@specialist.co.uk organization: Bristol University HEP reply-to: Tim.Llewellyn@bristol.ac.uk newsgroups: comp.sys.dec In article <835873673.15453.0@specialist.co.uk>, steves@specialist.co.uk (Steve Smith) writes: |>Our system administrator has been eaten by wolves and we desperatley |>need to allocate more swap space on our system. |> |>We currently have a 5Gb of disk with 2Gb on /usr1 and 2Gb on /usr2. |>All space has been allocated on both disks, so we need to somehow |>reduce either /usr1 or /usr2 to allow us to add more swap. |> |>There is currently 120Mb of swap on / and we would like to add another |>200Mb or so. |> Yeah, I know the feeling. Those default root disk partitions just don't cut it when you try to do any real work on the system, do they ? First step, look at the disk partition layout on your existing disks. Use #disklabel -r disk-name to do this, eg for disk rz1 # disklabel -r rz1 If you have unused partition(s) that don't overlap with any used partitions on one of your disks, and it/they are large enough, you are lucky you can use those, and you might not even need to reboot. Otherwise you will need to repartition your disks, which involves rolling off all data on existing partitions to tape or another disk etc, then using the disklabel -e command to edit the disklabel (know how to use ed or vi, do you?), then rolling back your data to the shrunk partitions. Once you have a partition you are happy to use for swap, edit the /etc/fstab file, find the existing swap partition, copy and modify it for your new partition, then use the swapon -a command to activate the extra swap. See man swapon for more details. This is covered in some detail in the Digital Unix system managers manual. Tim, who has more than once installed extra page files on running OpenVMS systems to help them out of user overload. |>We really have no idea where to start as our current expertise is on |>HP-UX and AIX, and any documentation that would benefit us has |>probably been polished off by the aforementioned wolves. Do you have the documentation CD's? Man swapon is also useful. |> |>We really are in a bit of a jam and any help on this matter would be |>greatly appreciated... |> Thats OK. |> |> |>----------------------------------------------- |> __|o\_____ |> (_)\-----(_) |>----------------------------------------------- |>Steve Smith |>steves@scg.co.uk |> |> |> -- Tim Llewellyn, Physicist Programmer, Bristol Uni Particle Physics. Makossa HEPNET/SPAN 19716::TJL Internet tjl@siva.bris.ac.uk Soca Soukous, OpenVMS and cricket addict. Eats NO animal products. Hilife Read at your own risk, standard disclaimer applies. Zouk http://juno.phy.bris.ac.uk/~tjl/ Mbalax - I'm looking for a new job, preferably with OpenVMS, and in the Bristol area.