* ADVFS re-partation after default install
@ 2001-06-29 14:00 Dermot Paikkos
0 siblings, 0 replies; only message in thread
From: Dermot Paikkos @ 2001-06-29 14:00 UTC (permalink / raw)
To: tru64-unix-managers
For those of you with memories like elephants you might remember
a question posed some time back regarding ADVFS & UFS.
The real problem was that a default installation of tru64 used
dska /
dskg /usr & /var
In my case that left 5Gb unused on dskh, not acceptable I thought.
So after a posting I got a telephone call and mail from Tony McElhill.
He had seen this before and had a solution or at least a more
efficient use of the available 9GB. This idea is simply to move the
/usr and /var to the dskh partition rather than the g partition. Simple
but I gained 4GB and I still abide by the "not more than 2 domains
per disk" best practise. The method is outlined below from Tony's
mail. Perhaps there are other solutions out there still to be
unearthed.
Happy hunting.
Dp.
--------------------------method -----------------------
This assumes:
a=root
b=swap
g=usr&var
h=free.
Do as before when you created a new domain:
mkfdmn /dev/dsk0h fred_dmn (or is it /dev/dsk/dsk0h?)
You may get complaints about this partition being in use because
you
previously used it.
Create 2 new filesets for usr & var:
mkfset fred_dmn usr
mkfset fred_dmn var
Make 4 new mount-points:
mkdir /newusr /newvar /oldusr /oldvar
Edit /etc/fstab to add similar entries to usr_domain, but called
fred_dmn
& mount at new mount-points, e.g.: fred_dmn#usr /newusr
advfs rw 0 0
fred_dmn#var /newvar advfs rw 0 0
Mount them:
mount -a
Copy from usr to newusr (note that syntax is important - check man
pages
of vrestore - you may find a good example to cut & paste): vdump -
0f -
/usr | (cd /newusr; vrestore -xf -) and likewise for var: vdump -0f - /var
| (cd /newvar; vrestore -xf -)
When done, edit fstab:
Change mount points for /usr to /oldusr, /var to /oldvar, /newusr to
/usr
and /newvar to /var.
Review what you have done!
If happy:
shutdown -r now
~~
Dermot Paikkos * dermot@sciencephoto.com
Network Administrator @ Science Photo Library
Phone: 0207 432 1100 * Fax: 0207 286 8668
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-06-29 14:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-06-29 14:00 ADVFS re-partation after default install Dermot Paikkos
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox