Re: How do I drop raw devices/lv?

From: Basim Chafik (basimc@INVERA.COM)
Date: Wed Oct 08 2003 - 08:24:00 EDT


You have to drop the Informix chunk or dbspace that is using this device.
use onspaces command or onmonitor utility to do that.

Basim Chafik

Senior Technology Consultant
IBM Certified Advanced Technical Expert - RS/6000 AIX
Invera Inc.

-----Original Message-----
From: Nita Hyde [mailto:hydejl@SBAC.EDU]
Sent: Wednesday, October 08, 2003 8:04 AM
To: aix-l@Princeton.EDU
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 e-mail may be privileged and/or confidential, and the sender does not
waive any related rights and obligations. Any distribution, use or copying
of this e-mail or the information it contains by other than an intended
recipient is unauthorized. If you received this e-mail in error, please
advise me (by return e-mail or otherwise) immediately.
Ce courriel est confidentiel et protégé. L'expéditeur ne renonce pas aux
droits et obligations qui s'y rapportent. Toute diffusion, utilisation ou
copie de ce message ou des renseignements qu'il contient par une personne
autre que le (les) destinataire(s) désigné(s) est interdite. Si vous recevez
ce courriel par erreur, veuillez m'en aviser immédiatement, par retour de
courriel ou par un autre moyen.


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