From: Brian Weaver <weaver () psd ! k12 ! co ! us>
To: tru64-unix-managers
Subject: SUMMARY: volencap problem on root disk
Date: Mon, 02 Mar 1998 18:32:53 +0000 [thread overview]
Message-ID: <96078701111185.tru64-unix-managers.marc@archive.invalid> (raw)
Here is the responses I received.. I want to mirror the root disk,
so I guess I will need to have a swap partition on it..
From=20weaver@psd.k12.co.us Mon Mar 2 11:30:38 1998
Date: Thu, 26 Feb 1998 09:08:52 -0700 (MST)
From: Brian Weaver <weaver@psd.k12.co.us>
To: OSF managers <alpha-osf-managers@ornl.gov>
Subject: volencap problem on root disk
Followup-To: poster
I installed 4.0D clean on one of our servers, and when trying
to do a volencap rz8, I get the following error message.
# volencap rz8
Setting up encapsulation for rz8.
- Disk rz8 is the system boot disk and LSM is not initialized.
Creating simple disk rz8e to initialize LSM and rootdg.
Cannot find a swap partition on disk rz8 to store the private area.
It's correct, it can't find a swap partition because I did not
create one on that disk. I like to put my swap partition on a disk
other than the system disk, so it is partitioned with just an
"a" and "g" partition run right up against each other for / and /usr
Is there a way to volencap this disk, or should I reinstall
the OS with a swap partition
------------------------------------------------------------------------
Brian Weaver weaver(at)psd.k12.co.us
UNIX Guru
Poudre School District, Ft. Collins, CO.
http://www.psd.k12.co.us
From=20Lucien_HERCAUD@paribas.com Mon Mar 2 11:30:49 1998
Date: Thu, 26 Feb 1998 17:22:55 +0100
From: Lucien_HERCAUD@paribas.com
To: weaver@psd.k12.co.us
Subject: Re: volencap problem on root disk
[The following text is in the "iso-8859-1" character set]
[Your display is set for the "US-ASCII" character set]
[Some characters may be displayed incorrectly]
The system's disk encapsulation procedure relies on the presence of a
swap area on the system disk. The best thing to do in your case would
be to move the usr and var areas on the "other" disk and leave root
and swap on the boot disk (it does not really matter: root is small
and not very often used, so separating usr\var from root\swap would
achive the performance you look for in the same way as if swap was
apart from root\usr).
Then, volencap will make it through !
____________________________ S=E9parateur R=E9ponse _______________________=
____
_____
Objet : volencap problem on root disk
Auteur : weaver@psd.k12.co.us =E0 INTERNET
Date : 26/02/98 09:08
I installed 4.0D clean on one of our servers, and when trying
to do a volencap rz8, I get the following error message.
# volencap rz8
Setting up encapsulation for rz8.
- Disk rz8 is the system boot disk and LSM is not initialized. Creating
simple disk rz8e to initialize LSM and rootdg.
Cannot find a swap partition on disk rz8 to store the private area.
It's correct, it can't find a swap partition because I did not
create one on that disk. I like to put my swap partition on a disk
other than the system disk, so it is partitioned with just an
"a" and "g" partition run right up against each other for / and /usr
Is there a way to volencap this disk, or should I reinstall
the OS with a swap partition
----------------------------------------------------------------------
--
Brian Weaver
weaver(at)psd.k12.co.us
UNIX Guru
Poudre School District, Ft. Collins, CO.
http://www.psd.k12.co.us
From=20GGuethlein@GiantOfMaryland.com Mon Mar 2 11:30:55 1998
Date: Thu, 26 Feb 1998 11:33:26 -0500
From: George Guethlein <GGuethlein@GiantOfMaryland.com>
To: weaver@psd.k12.co.us
Subject: volencap problem on root disk -Reply
Brian,
If I remember correctly, LSM REQUIRES that the swap partition be on the
same disk as the root partition (actually the partition following root,
usually "b").
Also, you MUST have at least one other free partition on the disk for LSM
to use during the encapsulation process.
The system boots two or three times (automatically) during the
encapsulation process. The process is something like :
1.) build encapsulation commands and boot
2.) create encapsulated root on free partition and boot
3.) move encapsulated root to "a" partition and boot
4.) you now are running under LSM
Hope this information helps. Best of luck.
George Guethlein
Lead Tech Sys Admin
Giant Food, Inc.
Landover, MD USA
>>> Brian Weaver <weaver@psd.k12.co.us> Thu, Feb. 26, 1998 >>>
I installed 4.0D clean on one of our servers, and when trying
to do a volencap rz8, I get the following error message.
# volencap rz8
Setting up encapsulation for rz8.
- Disk rz8 is the system boot disk and LSM is not initialized.
Creating simple disk rz8e to initialize LSM and rootdg.
Cannot find a swap partition on disk rz8 to store the private area.
It's correct, it can't find a swap partition because I did not
create one on that disk. I like to put my swap partition on a disk
other than the system disk, so it is partitioned with just an
"a" and "g" partition run right up against each other for / and /usr
Is there a way to volencap this disk, or should I reinstall
the OS with a swap partition
------------------------------------------------------------------------
Brian Weaver weaver(at)psd.k12.co.us
UNIX Guru
Poudre School District, Ft. Collins, CO.
http://www.psd.k12.co.us
From=20Lucien_HERCAUD@paribas.com Mon Mar 2 11:31:04 1998
Date: Thu, 26 Feb 1998 17:32:03 +0100
From: Lucien_HERCAUD@paribas.com
To: weaver@psd.k12.co.us
Subject: Re: volencap problem on root disk
[The following text is in the "iso-8859-1" character set]
[Your display is set for the "US-ASCII" character set]
[Some characters may be displayed incorrectly]
and btw, do not reinstall !
- prepare for lazy mode (remove /sbin/swapdefault and the swap entry
in /etc/fstab if any)
- halt system (shutdown -h now)
- boot sigle user (>>>boot -fl "s")
- mount /usr (and /var if separate)
- use the other disk (where swap used to be) to move the usr area over
there (it is simpler if AdvFS is used with utilities licence: just do
"addvol" foloowed by "rmvol")
- repartition the boot disk to get "b" for the swap (use disklabel)
- rebuild /sbin/swapdefault
ln -s /dev/rz0b /sbin/swapdefault
(and reinsert new swap info in fstab)
I'm sorry for details if too many, I suppose you know all this, but I
put them here just in case ...
____________________________ S=E9parateur R=E9ponse _______________________=
____
_____
Objet : volencap problem on root disk
Auteur : weaver@psd.k12.co.us =E0 INTERNET
Date : 26/02/98 09:08
I installed 4.0D clean on one of our servers, and when trying
to do a volencap rz8, I get the following error message.
# volencap rz8
Setting up encapsulation for rz8.
- Disk rz8 is the system boot disk and LSM is not initialized. Creating
simple disk rz8e to initialize LSM and rootdg.
Cannot find a swap partition on disk rz8 to store the private area.
It's correct, it can't find a swap partition because I did not
create one on that disk. I like to put my swap partition on a disk
other than the system disk, so it is partitioned with just an
"a" and "g" partition run right up against each other for / and /usr
Is there a way to volencap this disk, or should I reinstall
the OS with a swap partition
----------------------------------------------------------------------
--
Brian Weaver
weaver(at)psd.k12.co.us
UNIX Guru
Poudre School District, Ft. Collins, CO.
http://www.psd.k12.co.us
From=20m.luchini@ic.ac.uk Mon Mar 2 11:31:13 1998
Date: Thu, 26 Feb 1998 16:47:22 GMT
From: Dr Marco Luchini <m.luchini@ic.ac.uk>
To: Brian Weaver <weaver@psd.k12.co.us>
Subject: Re: volencap problem on root disk
Brian Weaver writes:
> I installed 4.0D clean on one of our servers, and when trying
> to do a volencap rz8, I get the following error message.
>=20
> # volencap rz8
>=20
> Setting up encapsulation for rz8.
> - Disk rz8 is the system boot disk and LSM is not initialized.
> Creating simple disk rz8e to initialize LSM and rootdg.
> Cannot find a swap partition on disk rz8 to store the private area.
>=20
>=20
> It's correct, it can't find a swap partition because I did not
> create one on that disk. I like to put my swap partition on a disk
> other than the system disk, so it is partitioned with just an
> "a" and "g" partition run right up against each other for / and /usr
> Is there a way to volencap this disk, or should I reinstall
> the OS with a swap partition
I think LSM *must* have root and swap on the same disk to work properly.
Marco
-------------------------------------------------------------------------
Marco Luchini Internet : m.luchini@ic.ac.uk
Department of Mathematics Telephone: +44 171 594 8551
Imperial College Fax: +44 171 594 8517
London SW7 2BZ, UK =20
-------------------------------------------------------------------------
From=20Vinzenz_Esser@emass.com Mon Mar 2 11:31:21 1998
Date: Thu, 26 Feb 1998 12:11:29 -0700
From: Vinzenz Esser <Vinzenz_Esser@emass.com>
To: Brian Weaver <weaver@psd.k12.co.us>
Subject: Re: volencap problem on root disk
Brian Weaver wrote:
>=20
> I installed 4.0D clean on one of our servers, and when trying
> to do a volencap rz8, I get the following error message.
>=20
> # volencap rz8
>=20
> Setting up encapsulation for rz8.
> - Disk rz8 is the system boot disk and LSM is not initialized.
> Creating simple disk rz8e to initialize LSM and rootdg.
> Cannot find a swap partition on disk rz8 to store the private area.
>=20
> It's correct, it can't find a swap partition because I did not
> create one on that disk. I like to put my swap partition on a disk
> other than the system disk, so it is partitioned with just an
> "a" and "g" partition run right up against each other for / and /usr
> Is there a way to volencap this disk, or should I reinstall
> the OS with a swap partition
A requirement for root disk mirroring is to have the swap partition on the
same disk as the root partition. Then you can use the command volrootmir to
mirror the boot disk.
Mirroring the boot disk is described in great detail in chapter 5 of the
Logical Storage Manager guide. You can find this guide in html format on th=
e
documentation CD-ROM.
Hope this helps,
Vinzenz
--=20
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/ Vinzenz Esser _/ _/
_/ EMASS Technical Support _/ UNIX -- For IQs Higher Than 95 _/
_/ 10949 East Peakview Avenue _/ _/
_/ Englewood, Colorado 80111 _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/ _/ _/
_/ E-Mail: Vinzenz_Esser@emass.com _/ UNIX is user-friendly ... _/
_/ Phone: (303) 705-3864 _/ it's just selective about _/
_/ Fax: (303) 792-2465 _/ who its friends are. _/
_/ Web: http://www.emass.com _/ _/
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
From=20SUSROD@HBSI.COM Mon Mar 2 11:31:28 1998
Date: Thu, 26 Feb 1998 13:55:19 -0800
From: Susan Rodriguez <SUSROD@HBSI.COM>
To: Brian Weaver <weaver@psd.k12.co.us>
Subject: RE: volencap problem on root disk
I asked a similar question of DEC Support regarding volrootmir, and this
is their answer:
************************************
Susan:
One of the requirements for lsm boot disk mirroring is to have you
primary
swap on the boot disk (contiguous with root filesystem). Your only
supported=20
option would be to create a primary swap space on boot disk. You also
could
use hardware mirroring instead of lsm.
Regards,
Mike Morawsky
************************************
If I recall correctly from my testing of LSM on the 4.0x platform, the
volencap and volrootmir utitlities want to see a standard setup (a,b,g
parts.) for the root drive. That seems to be a pretty limited way to do
things, especially on the bigger servers.
Someone suggested to me that I create a very small swap partition on the
b partition of my root drive, then make my secondary swap device larger.
This was not an option for me without rebuilding the root disk, because,
like you, I put my a and g parts. right up against each other.
Good luck whatever you decide.
susrod@hbsi.com
- consistency is the defense of a small mind
> ----------
> From: =09Brian Weaver[SMTP:weaver@psd.k12.co.us]
> Sent: =09Thursday, February 26, 1998 8:08 AM
> To: =09OSF managers
> Subject: =09volencap problem on root disk
>=20
> I installed 4.0D clean on one of our servers, and when trying
> to do a volencap rz8, I get the following error message.
>=20
> # volencap rz8
>=20
> Setting up encapsulation for rz8.
> - Disk rz8 is the system boot disk and LSM is not initialized.
> Creating simple disk rz8e to initialize LSM and rootdg.
> Cannot find a swap partition on disk rz8 to store the private area.
>=20
>=20
> It's correct, it can't find a swap partition because I did not
> create one on that disk. I like to put my swap partition on a disk
> other than the system disk, so it is partitioned with just an
> "a" and "g" partition run right up against each other for / and /usr
> Is there a way to volencap this disk, or should I reinstall
> the OS with a swap partition
>=20
> ----------------------------------------------------------------------
> --
> Brian Weaver
> weaver(at)psd.k12.co.us
> UNIX Guru
> Poudre School District, Ft. Collins, CO.
> http://www.psd.k12.co.us
>=20
From=20Kris.Chandrasekhar@digital.com Mon Mar 2 11:31:38 1998
Date: Sat, 28 Feb 1998 15:15:19 -0500
From: Kris Chandrasekhar <Kris.Chandrasekhar@digital.com>
To: 'Brian Weaver' <weaver@psd.k12.co.us>
Subject: RE: volencap problem on root disk
Brian
I didn't see a summary, so I'll send this out to you, late as it is.
I believe the LSM documentation states clearly that root-swap are
considered together as a combination when encapsulating root ie unless
you have root and swap on the system disk you cannot encapsulate it. I
believe mirroring (volrootmir) is also the same.
I don't have the LSM docs in front of me, but if you can't find what
I just said in the docs, then you should put in a call to DEC to have
this added.
Regards,
Kris.
------------------------------------------------------------------------
------------------------------------------------------------------------
These are my opinions only, and Digital Equipment Corporation
bears no responsibility
------------------------------------------------------------------------
------------------------------------------------------------------------
-
=09----------
=09From: =09Brian Weaver[SMTP:weaver@psd.k12.co.us]
=09Sent: =09Thursday, February 26, 1998 11:08 AM
=09To: =09OSF managers
=09Subject: =09volencap problem on root disk
=09I installed 4.0D clean on one of our servers, and when trying
=09to do a volencap rz8, I get the following error message.
=09# volencap rz8
=09Setting up encapsulation for rz8.
=09- Disk rz8 is the system boot disk and LSM is not initialized.
=09 Creating simple disk rz8e to initialize LSM and rootdg.
=09 Cannot find a swap partition on disk rz8 to store the private
area.
=09It's correct, it can't find a swap partition because I did not
=09create one on that disk. I like to put my swap partition on a
disk
=09other than the system disk, so it is partitioned with just an
=09"a" and "g" partition run right up against each other for / and
/usr
=09Is there a way to volencap this disk, or should I reinstall
=09the OS with a swap partition
------------------------------------------------------------------------
=09Brian Weaver
weaver(at)psd.k12.co.us
=09UNIX Guru
=09Poudre School District, Ft. Collins, CO.
=09http://www.psd.k12.co.us
------------------------------------------------------------------------
Brian Weaver weaver(at)psd.k12.co.us
UNIX Guru
Poudre School District, Ft. Collins, CO.
http://www.psd.k12.co.us
reply other threads:[~1998-03-02 18:32 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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