-- Brian Weaver weaver(at)psd.k12.co.us UNIX Guru Poudre School District, Ft. Collins, CO. http://www.psd.k12.co.us From GGuethlein_at_GiantOfMaryland.com Mon Mar 2 11:30:55 1998 Date: Thu, 26 Feb 1998 11:33:26 -0500 From: George Guethlein <GGuethlein_at_GiantOfMaryland.com> To: weaver_at_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_at_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 Lucien_HERCAUD_at_paribas.com Mon Mar 2 11:31:04 1998 Date: Thu, 26 Feb 1998 17:32:03 +0100 From: Lucien_HERCAUD_at_paribas.com To: weaver_at_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éparateur Réponse ___________________________ _____ Objet : volencap problem on root disk Auteur : weaver_at_psd.k12.co.us à 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 m.luchini_at_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_at_ic.ac.uk> To: Brian Weaver <weaver_at_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. > > # 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 I think LSM *must* have root and swap on the same disk to work properly. Marco ------------------------------------------------------------------------- Marco Luchini Internet : m.luchini_at_ic.ac.uk Department of Mathematics Telephone: +44 171 594 8551 Imperial College Fax: +44 171 594 8517 London SW7 2BZ, UK ------------------------------------------------------------------------- From Vinzenz_Esser_at_emass.com Mon Mar 2 11:31:21 1998 Date: Thu, 26 Feb 1998 12:11:29 -0700 From: Vinzenz Esser <Vinzenz_Esser_at_emass.com> To: Brian Weaver <weaver_at_psd.k12.co.us> Subject: Re: volencap problem on root disk Brian Weaver wrote: > > 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 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 the documentation CD-ROM. Hope this helps, Vinzenz -- _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ _/ Vinzenz Esser _/ _/ _/ EMASS Technical Support _/ UNIX -- For IQs Higher Than 95 _/ _/ 10949 East Peakview Avenue _/ _/ _/ Englewood, Colorado 80111 _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ _/ _/ _/ _/ E-Mail: Vinzenz_Esser_at_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 SUSROD_at_HBSI.COM Mon Mar 2 11:31:28 1998 Date: Thu, 26 Feb 1998 13:55:19 -0800 From: Susan Rodriguez <SUSROD_at_HBSI.COM> To: Brian Weaver <weaver_at_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 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_at_hbsi.com - consistency is the defense of a small mind > ---------- > From: Brian Weaver[SMTP:weaver_at_psd.k12.co.us] > Sent: Thursday, February 26, 1998 8:08 AM > To: OSF managers > Subject: volencap problem on root disk > > 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 Kris.Chandrasekhar_at_digital.com Mon Mar 2 11:31:38 1998 Date: Sat, 28 Feb 1998 15:15:19 -0500 From: Kris Chandrasekhar <Kris.Chandrasekhar_at_digital.com> To: 'Brian Weaver' <weaver_at_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 ------------------------------------------------------------------------ ------------------------------------------------------------------------ - ---------- From: Brian Weaver[SMTP:weaver_at_psd.k12.co.us] Sent: Thursday, February 26, 1998 11:08 AM To: OSF managers Subject: volencap problem on root disk 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 ------------------------------------------------------------------------ Brian Weaver weaver(at)psd.k12.co.us UNIX Guru Poudre School District, Ft. Collins, CO. http://www.psd.k12.co.usReceived on Mon Mar 02 1998 - 19:33:10 NZDT
This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:37 NZDT