tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Alan Pittman <PITTMAN () oeteg ! com>
To: tru64-unix-managers
Subject: Summary: Mirroring an ADVFS Volume with LSM
Date: Wed, 16 Feb 2000 18:57:14 +0000	[thread overview]
Message-ID: <96079336919450.tru64-unix-managers.marc@archive.invalid> (raw)

Summary:

   Way back in November I wrote:

> What is the best way to mirror an ADVFS volume using LSM? I have
>encapsulated the ADVFS volume rz45c (/localb2). Now I would like to =
mirror it
> with volume rz13c. Both drives are 18.2 Gig and rz13 has been labeled =
with
> "disklabel". I'm not quite understanding the LSM guide.

I received responses from the following individuals:

  Carl Gaines   cgaine@acxiom.com=20
  Marco Luchini    Marco.Luchini@acco-uk.co.uk
  Roger Leonard   rleonard@cvty.com=20
  John Speno   speno@isc.upenn.edu=20
  Gary Hansford   Gary.Hansford@gda.ge.com=20

Thank you all very much.

After reviewing everyone's ideas (five responses, five different approaches=
 to the problem) I did the following:

1. removed the disklabel on rz13  (disklabel -z rz13).
2. relabeled the disk (disklabel -rw rz13 RZ13)
3. added to the LSM (voldiskadd rz13)
4. created the subdisk (volmake sd rz13-01 rz13,0,3556300)
5. created the plex (volmake plex vol-rz13-01 sd=3Drz13-01)
6. created the volume=20
     (volmake vol vol-rz13 use_type=3Dfsgen plex=3Dvol-rz13-01)
7. started the volume (volume start vol-rz13)
8. created an ADVFS domain (mkfdmn /dev/vol/rootdg/vol-rz13 b2local)
9. created an ADVFS file set (mkfset b2local b2local)
10. created a directory (mkdir /b2local)
11. mounted the volume (mount b2local#b2local  /b2local)
12. copied the data ( vdump -0 -f - /localb2 | (cd /b2local; vrestore -x =
-f -)
13. unmounted the old directory (umount /localb2)
14. removed the ADVFS domain and file set=20
       (cd /etc/fdmns
        rm -R /localb2)
15. removed the volume, plex and subdisk on rz45 with "dxlsm"
16. removed the label on rz45 (disklabel -z rz45)
17. created a new disklabel (disklabel -rw rz45 RZ45)
18. add the disk to LSM (voldiskadd rz45)
19. created a sub-disk (volmake sd rz45-01 rz45,0,3556300)
20. created a plex (volmake plex vol-rz45-01 sd=3Drz45-01)
21. attached the plex to the first volume to create the mirror
      (volplex att rz13-01 vol-rz45-01)
22. waited approximately 2 hours as the volumes synced.

Piece of cake. (yeah, right)


Alan Pittman
SPX Corp
517-780-4108
pittman@oeteg.com

                 reply	other threads:[~2000-02-16 18:57 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