Re: JFS Log

From: Hunter, Mark (Mark.Hunter_at_ANHEUSER-BUSCH.COM)
Date: 01/12/04

  • Next message: JOSEPH KREMBLAS: "Re: Sessions failover"
    Date:         Mon, 12 Jan 2004 10:50:06 -0600
    To: aix-l@Princeton.EDU
    
    

    You have several options.
    First, I believe you can simply:
    migratepv -l ${name of your jfslog} ${failing pv name} ${good pv name}.
    If you have space, you could even just migrate the entire pv to the new drive...

    If not, you should be able to mklvcopy the jfslog to another drive, then
    rmlvcopy off the bad drive.

    But to answer your actual question, yes, you can create a new jfslog on another
    drive and direct all your filesystems to it. I wouldn't, but here is how:
    1. mklv -t jfslog -c1 -y jfslog_new volumegroupname diskname
    2. logform /dev/jfslog_new, answer yes. You now have a valid second jfs log.
    3. for each filesystem using the old jfs
       do
          umount the filesystem
          chfs -a log=/dev/jfslog_new
          mount the filesystem
       done
    4. Then rmlv the original jfslog.

    Mark Hunter

    -----Original Message-----
    From: glh@DAIRYNET.COM [mailto:glh@DAIRYNET.COM]
    Sent: Monday, January 12, 2004 9:40 AM
    To: aix-l@Princeton.EDU
    Subject: JFS Log

    I've got a failing disk which contains a jfslog for the volume group. This
    is the only jfslog for this volume group. Is there a way for me to
    allocate a new jfslog (on a different drive) for this volume group so that
    I can replace the failing drive?

    Gary Heilman
    Dairyland Power Cooperative
    608-787-1408
    glh@dairynet.com


  • Next message: JOSEPH KREMBLAS: "Re: Sessions failover"

    Relevant Pages

    • Re: Sizing JFSLog
      ... If your filesystems are fairly static, then a single JFSlog will suffice. ... If you have high amounts of I/O to filesystems, then more may be in order. ... The system error log will tell you if there are JFSlog shortcomings. ... We were told 4 mb for each 2 gig of file system space. ...
      (AIX-L)
    • Re: Jfslog Recommendations
      ... filesystems they support: it's not a lot of use losing a disk and still ... having a good copy of the LV if the jfslog has gone kaput. ... > Subject: Jfslog Recommendations ...
      (AIX-L)
    • Re: Extending a JFSLOG.
      ... You have to unmount all filesystems using that JFSLOG, then do an extendlv ... JFSLOG for some of them. ...
      (AIX-L)
    • JFS Log
      ... I've got a failing disk which contains a jfslog for the volume group. ... allocate a new jfslog for this volume group so that ... Gary Heilman ...
      (AIX-L)
    • Re: jfslog "closed/syncd" question
      ... your filesystems file to see if any filesystems use the log that you show ... > jfslog to be 'closed/syncd'. ... > problem associated with the drive where this jfslog is located. ... > blah# lsvg -l archivevg ...
      (AIX-L)