* Tru64UNIX v4 to v5 upgrade - Advfs
@ 2002-08-26 6:35 Andrew Rycroft
2002-08-26 7:15 ` Kjell Andresen
2002-08-26 13:36 ` Bob Harris
0 siblings, 2 replies; 6+ messages in thread
From: Andrew Rycroft @ 2002-08-26 6:35 UTC (permalink / raw)
Hi,
I hcurrently have system runnnign on Tru64UNIX v4.0f. I am
investigating doing an upgrade to Tru64UNIX v5.1a. These system use
the Advanced File system extensively. Is it better to do a complete
re-install, or an upgrade ? I have heard that when ones does an
upgrade the v4 Adfs file systems are not converted to the v5 file
systems. Does anyone have any experience on this ?
Thanks
Andrew
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Tru64UNIX v4 to v5 upgrade - Advfs
2002-08-26 6:35 Tru64UNIX v4 to v5 upgrade - Advfs Andrew Rycroft
@ 2002-08-26 7:15 ` Kjell Andresen
2002-08-26 13:36 ` Bob Harris
1 sibling, 0 replies; 6+ messages in thread
From: Kjell Andresen @ 2002-08-26 7:15 UTC (permalink / raw)
andrew.rycroft@intrinsitech.com (Andrew Rycroft) writes:
> I hcurrently have system runnnign on Tru64UNIX v4.0f. I am
> investigating doing an upgrade to Tru64UNIX v5.1a. These system use
> the Advanced File system extensively. Is it better to do a complete
> re-install, or an upgrade ? I have heard that when ones does an
> upgrade the v4 Adfs file systems are not converted to the v5 file
> systems. Does anyone have any experience on this ?
I've done both (http://www.usit.uio.no/it/unix/du/versions.txt).
You need to go v4.0F -> v5.0A -> v5.1A
In my experience it's far better to do a reinstallation
(http://www.usit.uio.no/it/unix/du/reinstallere-v51A.txt and files
mentioned below in that page. It's in Norwegian, but all commands
should tell you what to do :)
All this is documented for my site, you may have other requirements.
But it's throughly tested.
As long as you have /, swap, /usr and /var on the system disk(s) and
all data elsewhere *) there is no problem to mount them after
reinstallation just by making the correct directories in /etc/fdmns
with underlying links to the devices and fix (copy back) the needed
lines in fstab.
The reinstallation made me also repartition som disks because /
needed to expand.
*) Data might live on the system disk - but then you need to
conserve this data partitions and modify partitions a (/),
b (swap1) and usr(+var)-partition(s) only (g or d).
Hope this is usefull to you!
Regards,
Kjell Andresen Systems administrator, University of Oslo, Norway
Center for Information Technology Services and
Department of Geophysics
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Tru64UNIX v4 to v5 upgrade - Advfs
2002-08-26 6:35 Tru64UNIX v4 to v5 upgrade - Advfs Andrew Rycroft
2002-08-26 7:15 ` Kjell Andresen
@ 2002-08-26 13:36 ` Bob Harris
2002-08-29 8:21 ` Nikola Milutinovic
1 sibling, 1 reply; 6+ messages in thread
From: Bob Harris @ 2002-08-26 13:36 UTC (permalink / raw)
In article <58ba0101.0208252235.58a91e56@posting.google.com>,
andrew.rycroft@intrinsitech.com (Andrew Rycroft) wrote:
X Hi,
X
X I hcurrently have system runnnign on Tru64UNIX v4.0f. I am
X investigating doing an upgrade to Tru64UNIX v5.1a. These system use
X the Advanced File system extensively. Is it better to do a complete
X re-install, or an upgrade ? I have heard that when ones does an
X upgrade the v4 Adfs file systems are not converted to the v5 file
X systems. Does anyone have any experience on this ?
X
X Thanks
X Andrew
The Tru64 UNIX v4.0f AdvFS file systems will continue to work on v5.1a.
There should be no problem.
While AdvFS on Tru64 UNIX v5.* uses some new on-disk format information,
AdvFS still works with prior AdvFS domains.
The 2 areas where AdvFS has improved when a domain is created on a v5.*
system is that Directories have a btree structure for faster lookup,
create, delete of huge directories (and I do mean huge).
The 2nd important change was the way the AdvFS BMT metadata file was
managed. On domains created prior to Tru64 UNIX v5.*, it was possible
to run out of extent map entries for the BMT. On v5.* systems, this is
no longer possible.
A few other misc changes were made, like allowing 64K subdirectories per
directory instead of 32K, etc...
The conversion method is to do a backup and restore, or if the existing
domains are working just the way you like them, then leave them alone.
AdvFS will use them as they are.
Bob Harris
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Tru64UNIX v4 to v5 upgrade - Advfs
2002-08-26 13:36 ` Bob Harris
@ 2002-08-29 8:21 ` Nikola Milutinovic
2002-08-29 13:58 ` Bob Harris
0 siblings, 1 reply; 6+ messages in thread
From: Nikola Milutinovic @ 2002-08-29 8:21 UTC (permalink / raw)
> The 2 areas where AdvFS has improved when a domain is created on a v5.*
> system is that Directories have a btree structure for faster lookup,
> create, delete of huge directories (and I do mean huge).
>
> The 2nd important change was the way the AdvFS BMT metadata file was
> managed. On domains created prior to Tru64 UNIX v5.*, it was possible
> to run out of extent map entries for the BMT. On v5.* systems, this is
> no longer possible.
This was a point of bitter disappointment for me. In 4.0D one can issue
specific parameters for AdvFS domain creation in order to set the
pre-allocation size of BMT and an extent size. The man pages also give admin
a pretty good idea what these values should be for a particular number of
files. This really saved my day with our proxy cache, which ran at 170,000
files. Applying appropriate values changed my system from "unusable" to
"comfortable" state of operations.
In 4.0F they (Compaq) "fixed it". The original problem for them was not the
speed, but the possibility of running out of available BMT extents, thus
being unable create more files although you had space. Agreed, that is a
problem. They fixed by allowing for a greater number of extents and IGNORING
those domain creation parameters!
So, my proxy cache on 4.0F would not run out of BMT (it didn't run out on
4.0D either, it was just dead slow), but there was no way to speed it up.
Imagine my fury. Immediately, I switched back to 4.0D.
What is the situation with 5.0 family? Are they speedy when a domain has a
substantial number of files >150,000.
Nixie.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Tru64UNIX v4 to v5 upgrade - Advfs
2002-08-29 8:21 ` Nikola Milutinovic
@ 2002-08-29 13:58 ` Bob Harris
2002-09-05 5:37 ` Nikola Milutinovic
0 siblings, 1 reply; 6+ messages in thread
From: Bob Harris @ 2002-08-29 13:58 UTC (permalink / raw)
In article <akkljp$aif$1@Mercury.ev.co.yu>,
"Nikola Milutinovic" <Nikola.Milutinovic@ev.co.yu> wrote:
X > The 2 areas where AdvFS has improved when a domain is created on a v5.*
X > system is that Directories have a btree structure for faster lookup,
X > create, delete of huge directories (and I do mean huge).
X >
X > The 2nd important change was the way the AdvFS BMT metadata file was
X > managed. On domains created prior to Tru64 UNIX v5.*, it was possible
X > to run out of extent map entries for the BMT. On v5.* systems, this is
X > no longer possible.
X
X This was a point of bitter disappointment for me. In 4.0D one can issue
X specific parameters for AdvFS domain creation in order to set the
X pre-allocation size of BMT and an extent size. The man pages also give admin
X a pretty good idea what these values should be for a particular number of
X files. This really saved my day with our proxy cache, which ran at 170,000
X files. Applying appropriate values changed my system from "unusable" to
X "comfortable" state of operations.
X
X In 4.0F they (Compaq) "fixed it". The original problem for them was not the
X speed, but the possibility of running out of available BMT extents, thus
X being unable create more files although you had space. Agreed, that is a
X problem. They fixed by allowing for a greater number of extents and IGNORING
X those domain creation parameters!
X
X So, my proxy cache on 4.0F would not run out of BMT (it didn't run out on
X 4.0D either, it was just dead slow), but there was no way to speed it up.
X Imagine my fury. Immediately, I switched back to 4.0D.
X
X What is the situation with 5.0 family? Are they speedy when a domain has a
X substantial number of files >150,000.
X
X Nixie.
If you are talking about the mkfdmn/addvol -p and -x option, they still
exist in v4.0f and while they are not longer needed, they exist in v5.*
Historically, the first changes to help avoid running out of BMT space
was the addition of the -p and -x options to mkfdmn and addvol. That
was somewhere in the v4.0 time frame (maybe even back in the v3.2 time,
not sure).
Then in v4.0d, AdvFS implemented a hold back of 20% of the disk for use
as possible BMT storage. If user data needed more than the 80%
remaining, then the hold back area was given over to user data files,
but while it was held back it allowed the BMT to grow in a contiguous
manor which allowed the BMT to use fewer of its limited number of extent
map entries.
I do not know of any changes in the v4.0f time frame related to the BMT.
In v5.0, a new on-disk format was impemented that allowed the BMT to
have an unlimited number of extents so that it would no longer hit a
limit.
But if you still want to use the -x and -p mkfdmn/addvol options, they
still exist even in the most recent release. They are even still
documented.
Bob Harris
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Tru64UNIX v4 to v5 upgrade - Advfs
2002-08-29 13:58 ` Bob Harris
@ 2002-09-05 5:37 ` Nikola Milutinovic
0 siblings, 0 replies; 6+ messages in thread
From: Nikola Milutinovic @ 2002-09-05 5:37 UTC (permalink / raw)
Bob Harris wrote:
>
> If you are talking about the mkfdmn/addvol -p and -x option, they still
> exist in v4.0f and while they are not longer needed, they exist in v5.*
Yes, that is what I'm talking about.
> Historically, the first changes to help avoid running out of BMT space
> was the addition of the -p and -x options to mkfdmn and addvol. That
> was somewhere in the v4.0 time frame (maybe even back in the v3.2 time,
> not sure).
4.0 definitely, not sure about 3.2
> Then in v4.0d, AdvFS implemented a hold back of 20% of the disk for use
> as possible BMT storage. If user data needed more than the 80%
> remaining, then the hold back area was given over to user data files,
> but while it was held back it allowed the BMT to grow in a contiguous
> manor which allowed the BMT to use fewer of its limited number of extent
> map entries.
>
> I do not know of any changes in the v4.0f time frame related to the BMT.
Man pages state that *that* was fixed, that the number of extents has
been increased, thus making "-p" and "-x" obsolete. They said nothing
about performance - that went through the floor on me.
> In v5.0, a new on-disk format was impemented that allowed the BMT to
> have an unlimited number of extents so that it would no longer hit a
> limit.
>
> But if you still want to use the -x and -p mkfdmn/addvol options, they
> still exist even in the most recent release. They are even still
> documented.
My problem was not hitting the limit, I never had any BMT shortages to
complain about. My problem was performance - machine was unusable. Has
anyone tested v5.0 as a well loaded proxy server? With proxy cache
running at 200,000 files.
Nix.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2002-09-05 5:37 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-08-26 6:35 Tru64UNIX v4 to v5 upgrade - Advfs Andrew Rycroft
2002-08-26 7:15 ` Kjell Andresen
2002-08-26 13:36 ` Bob Harris
2002-08-29 8:21 ` Nikola Milutinovic
2002-08-29 13:58 ` Bob Harris
2002-09-05 5:37 ` Nikola Milutinovic
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox