From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079072816279.tru64-unix-managers.marc@archive.invalid> From: Marc Baudoin Date: Mon, 27 Sep 1999 15:08:07 +0000 To: tru64-unix-managers Subject: [SUMMARY] Modifying LogPgs in an AdvFS domain X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079072816279 I asked: > I'd like to increase the value of LogPgs for an heavily used > AdvFS domain from 512 to 2048: > > Id Date Created LogPgs Domain Name > 37bc105c.000b7eed Thu Aug 19 16:10:36 1999 512 banques > > Vol 1K-Blks Free % Used Cmode Rblks Wblks Vol Name > 1L 124479488 17543056 86% on 256 256 /dev/rza24c > 2 106696704 34858280 67% on 256 256 /dev/rzb24c > ---------- ---------- ------ > 231176192 52401336 77% > > The trouble is I haven't done this before and I don't see > anywhere in the various AdvFS man pages how to do this except > when creating the file domain. Obviously, recreating the file > domain is an option I'd like to avoid so does anybody know a way > to do this at runtime? Looks like using the undocumented -l option of the switchlog command is the answer. Switchlog transfers the AdvFS log from one volume to another (that's what the man page says) but it can also change its size: switchlog -l 2048 banques 2 Getting the log back to volume 1 is done using plain switchlog. Of course, this only works with a multivolume domain, which is my case. Thanks to Bryan Lavelle, Claude Scarpelli, Oisin McGuinness, Ronny Eliahu, Keith Strange and Mikael Bj�rn for their answers. -- Marc Baudoin | Institut Pasteur | Service d'informatique scientifique