remove LSM group rootdg

From: Ray Stell <stellr_at_smyrna.cc.vt.edu>
Date: Thu, 18 May 1995 14:56:35 -0400 (EDT)

Short version of the question:

          How to remove LSM rootdg?

Long version of the question:

The Logical Storage Manager Support Operations, voldiskadm,
tells me:
----------------------------------------------------------------
List disk information
Menu: LogicalStorageManager/Disk/ListDisk

  Use this menu operation to display a list of disks. You can
  also choose to list detailed information about the disk at
  a specific disk device name.

Enter disk device or "all"
[<disk/partition name>,all,q,?] (default: all)
DEVICE DISK GROUP STATUS
rz4 rz4 rootdg online

Device to list in detail
[<disk/partition name>,none,q,?] (default: none)
----------------------------------------------------------------
so, I foolishly try to remove a disk from rootdg, but since it
is the last one, it says no way, but politely tells me to
"Disable access to (deport) a disk group".
----------------------------------------------------------------
Remove a disk
Menu: LogicalStorageManager/Disk/RemoveDisk

  Use this operation to remove a disk from a disk group. This
  operation takes, as input, a disk name. This is the same name
  that you gave to the disk when you added the disk to the disk
  group.

Enter disk name [<disk>,list,q,?] list
Disk group: rootdg

DM NAME DEVICE TYPE PRIVLEN PUBLEN PUBPATH

dm rz4 rz4 sliced 512 8387787 /dev/rrz4h

Enter disk name [<disk>,list,q,?] rz4

  Disk rz4 cannot be removed from disk group rootdg because
  it is the last disk in the disk group. You may want to remove
  the disk group instead. To remove the disk group, quit from this
  operation and select "Disable access to (deport) a disk group"
  from the main disk operations menu.

Remove a different disk? [y,n,q,?] (default: n)
-------------------------------------------------------------------
fine, back to the menu, hmmmm, no "Disable access to (deport) a disk group"
maybe they mean

9 Remove access to (deport) a disk group
-------------------------------------------------------------------
Logical Storage Manager Support Operations
Menu: LogicalStorageManager/Disk

 1 Add or initialize a disk
 2 Encapsulate a disk
 3 Remove a disk
 4 Remove a disk for replacement
 5 Replace a failed or removed disk
 6 Mirror volumes
 7 Move volumes from a disk
 8 Enable access to (import) a disk group
 9 Remove access to (deport) a disk group
 10 Enable (online) a disk device
 11 Disable (offline) a disk device
 list List disk information

 ? Display help about menu
 q Exit from menus

Select an operation to perform:
------------------------------------------------------------------
try number 9, this looks promising....
------------------------------------------------------------------

Remove access to (deport) a disk group
Menu: LogicalStorageManager/Disk/DeportDiskGroup

  Use this menu operation to remove access to a disk group that
  is currently enabled (imported) by this system. Deport a disk
  group if you intend to move the disks in a disk group to another
  system. Also, deport a disk group if you want to use all of the
  disks remaining in a disk group for some new purpose.

  You will be prompted for the name of a disk group. You will
  also be asked if the disks should be disabled (offlined). For
  removable disk devices on some systems, it is important to
  disable all access to the disk before removing the disk.

Enter name of disk group [<group>,list,q,?] (default: list)

GROUP DISK/VOLUME DEVICE/STATE LENGTH


Enter name of disk group [<group>,list,q,?] (default: list)
---------------------------------------------------------------------
hey, where did the rootdg go? It was here a minute ago?
I'll try it anyway....fools rush in...
---------------------------------------------------------------------

Enter name of disk group [<group>,list,q,?] (default: list) rootdg

  The rootdg disk group cannot be removed.

Select a different disk group? [y,n,q,?] (default: n)

--------------------------------------------------------------------
"rootdg disk group cannot be removed", zippidy-do-dah, zippidy-ay,
my oh, my, what a wonderful day.
===============================================================
Ray Stell stellr_at_vt.edu (703) 231-4109 KE4TJC
Received on Thu May 18 1995 - 14:57:09 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:45 NZDT