Re: Logical Volume closed upon creation

From: Green, Simon (Simon.Green_at_EU.ALTRIA.COM)
Date: 08/27/04

  • Next message: Bob Booth - CITES: "Re: Logical Volume closed upon creation"
    Date:         Fri, 27 Aug 2004 18:33:50 +0200
    To: aix-l@Princeton.EDU
    
    
    

    Normally, I would now use the crfs command to create a JFS. (You could also
    use smitty to do this, if you prefer.)
    When the first JFS is created, LVM will automatically create a JFSlog in the
    volume group. Since you have used all of the partitions in your VG it will
    be unable to do this, so you cannot create a JFS.
    You might be able to create a JFS2, since that can have an in-line JFSlog,
    which is part of the main LV.

    For a normal JFS, first delete your LV, (rmlv), then re-create it, leaving
    one or more partitions - preferably on the outer edge of a disk if you're
    mirroring, or in the centre if you are not - for the JFSlog.
    Now, use the crfs command to create your JFS. It will automatically create
    a JFSlog, so you don't need to.
    Finally, mount the filesystem.

    --
    Simon Green
    Altria ITSC Europe Ltd
    AIX-L Archive at https://new-lists.princeton.edu/listserv/aix-l.html
    <https://new-lists.princeton.edu/listserv/aix-l.html>
    New to AIX? http://publib-b.boulder.ibm.com/redbooks.nsf/portals/UNIX
    <http://publib-b.boulder.ibm.com/redbooks.nsf/portals/UNIX>
    N.B. Unsolicited email from vendors will not be appreciated.
    Please post all follow-ups to the list.
    -----Original Message-----
    From: Vipin Khushu - SuSe [mailto:vkhushu@GUERNSEYOP.COM]
    Sent: 27 August 2004 17:01
    To: aix-l@Princeton.EDU
    Subject: Re: Logical Volume closed upon creation
    Holger,
    Good Point. I scoured the documentation for anything that would tell me how
    to change the state, but found nothing.
    My problem may be the sequence of steps I am following in order to make
    ready a filesystem for use.
    Here's what I have done so far:
    1]    Created a volume group. See details below:
    2]    Created a logical volume. See details below:
    3]    Please see attachment that shows the distribution of the logical
    volume over the physical partitions. All 818 partitions are used.
            A question at this point - Do I need to create a jfslog logical
    volume in this volume group?
    4]    In order to achieve the final objective of mounting a filesystem on
    these disks, what is the next required step?
                mkfs or crfs or something else?
    

  • Next message: Bob Booth - CITES: "Re: Logical Volume closed upon creation"

    Relevant Pages