Re: How do I drop raw devices/lv?

From: Bill Verzal (BVerzal_at_KOMATSUNA.COM)
Date: 10/08/03

  • Next message: Jeff Barratt: "concurrent i/o"
    Date:         Wed, 8 Oct 2003 07:47:11 -0500
    To: aix-l@Princeton.EDU
    
    

    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
    

  • Next message: Jeff Barratt: "concurrent i/o"