tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Marc Baudoin <babafou () pasteur ! fr>
To: tru64-unix-managers
Subject: [SUMMARY] Modifying LogPgs in an AdvFS domain
Date: Mon, 27 Sep 1999 15:08:07 +0000	[thread overview]
Message-ID: <96079072816279.tru64-unix-managers.marc@archive.invalid> (raw)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1439 bytes --]

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
<babafou@pasteur.fr>   |   Service d'informatique scientifique

                 reply	other threads:[~1999-09-27 15:08 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