SUMMARY: Changing ODS partitions.

From: Kurt.McDougall@BarwonWater.Vic.Gov.Au
Date: Sat May 07 1994 - 14:51:52 CDT


My original question:

> We have a SS690-51 running 2.3 with 5 x 2.1G drives.
> Three of these disks are concatenated together with ODS 2.0.1.
>
> We want to add another 51 processor but to do so we have to move
> the sbus scsi card from slot 3 to slot 2 to make way for the
> second processor.
>
> This will mean all our disks move from being /dev/dsk/c2 to /dev/dsk/c1
> ^ ^
>
> My question is can I "safely" change my Online Disksuite configuration to
> reflect these changes, and if so how, or do I have to dump the filesystem and
> start again.

The answer was, yes, I can safely change my configuration without
losing data in the concatenated partition.

1. Do a level 0 dump. { Just in case :) }

2. Clear active metadevices.
        + metaclear d1

3. Delete the metadevice state databases.
        + medadb -d -f /dev/dsk/c2t2d0s2 /dev/dsk/c2t3d0s2 /dev/dsk/c2t4d0s2

4. Reconfigure the system.
        + halt
        + change controller
        + boot single user

5. Recreate the metadevice state databases
        + metadb -a -f /dev/dsk/c1t2d0s2 /dev/dsk/c1t3d0s2 /dev/dsk/c1t4d0s2

6. Reconfigure metadevices.
        + edit md.tab
        + metainit -a

---------
Thanks to:
        
        Tony.Schene@Central.Sun.COM (Tony Schene)
        glenn@uniq.com.au (Glenn Satchell - Uniq Professional Services)
        Paul Rosham <Paul.Rosham@fulcrum.com.au>
        walfish@jpmorgan.com (Joshua Walfish F.I. Research LAN Admin.)
        tog@berlioz.nsc.com (Systems Administrator - Todd Glassey)
        Christian Lawrence <cal@soac.bellcore.com>

Kurt McDougall
Information Systems Barwon Water
61-67 Ryrie Street Geelong Australia
Ph: +61-52-262347 Fax: +61-52-218236



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:09:00 CDT