Re: How do I drop raw devices/lv?

From: Bill Verzal (BVerzal@KOMATSUNA.COM)
Date: Wed Oct 08 2003 - 08:47:11 EDT


I think you need to go into dbaccess and drop the chunks.
--------------------------------------------------------

Bill Verzal
AIX Administrator, Komatsu America
(847) 970-3726 - direct
(847) 970-4184 - fax

|---------+---------------------------->
| | Nita Hyde |
| | <hydejl@SBAC.EDU>|
| | Sent by: IBM AIX |
| | Discussion List |
| | <aix-l@Princeton.|
| | EDU> |
| | |
| | |
| | 10/08/2003 07:03 |
| | AM |
| | Please respond to|
| | IBM AIX |
| | Discussion List |
| | |
|---------+---------------------------->
>-------------------------------------------------------------------------------------------------------------------------------|
  | |
  | To: aix-l@Princeton.EDU |
  | cc: |
  | Subject: How do I drop raw devices/lv? |
>-------------------------------------------------------------------------------------------------------------------------------|

I have an AIX machine with an Informix database running on it. I
dropped a test database and would like to reclaim the raw device space
it occupied. I know the first requirement of Informix is to backup the
entire database. That has been done. When I attempt to remove the lv,
I receive the following error:
0516-1008 rmlv: Logical volume riftst6lv must be closed. If the logical
         volume contains a filesystem, the umount command will close
         the LV device.
In /dev, the spaces look like this:
brw-rw---- 1 informix informix 26, 9 Aug 05 01:52 riftst5lv
brw-rw---- 1 informix informix 24, 13 Aug 05 01:52 riftst6lv
crw-rw---- 1 root system 26, 9 Feb 27 2003 rriftst5lv
crw-rw---- 1 root system 24, 13 Mar 05 2003 rriftst6lv
A list of the lv's shows this:
LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
riftst5lv jfs 116 116 2 open/syncd N/A
riftst6lv jfs 86 86 2 open/syncd N/A

There is no associated mounted file system. How do I close these lv's
and reclaim this space? TIA

--
Nita Hyde, Systems Programmer
School Board of Alachua County
620 East University Avenue
Gainesville, Fl. 32601
Phone (352) 955-7500 Ext. 248
Fax   (352) 955-6700


This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:17:16 EDT