tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Summary: Mirroring an ADVFS Volume with LSM
@ 2000-02-16 18:57 Alan Pittman
  0 siblings, 0 replies; only message in thread
From: Alan Pittman @ 2000-02-16 18:57 UTC (permalink / raw)
  To: tru64-unix-managers

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-02-16 18:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-02-16 18:57 Summary: Mirroring an ADVFS Volume with LSM Alan Pittman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox