Re: any ideas to fix filesystem /var ? - "defrags?"

From: Robert Miller (rmiller_at_SMUD.ORG)
Date: 07/23/04

  • Next message: Chafik,Basim: "Re: any ideas to fix filesystem /var ? - "defrags?""
    Date:         Fri, 23 Jul 2004 10:55:45 -0700
    To: aix-l@Princeton.EDU
    
    

    I'm pretty sure that defragfs is in the basic AIX install. You just run 'defragfs /yourfs', and it'll defrag the FS for you. You can run it while the box is up, though it will probably place a non-negligible load on the disk.

    Not sure I see how that helps, unless as Simon has stated, since /var is pretty busy, those are spurious errors due to the fact that the filesystem was being written to when fsck was run, and you're thinking the FS is just fragmented...

    All defragfs does is compact the data and free up contiguous space on the disk.

    --rm

    -----Original Message-----
    From: IBM AIX Discussion List [mailto:aix-l@Princeton.EDU]On Behalf Of
    Leyden, Joseph
    Sent: Friday, July 23, 2004 10:35 AM
    To: aix-l@Princeton.EDU
    Subject: Re: any ideas to fix filesystem /var ? - "defrags?"

    has anyone used "defrags" ?
    where can I get this.
    Will it help?

    Joe

    -----Original Message-----
    From: IBM AIX Discussion List [mailto:aix-l@Princeton.EDU]On Behalf Of
    Chafik,Basim
    Sent: Friday, July 23, 2004 8:43 AM
    To: aix-l@Princeton.EDU
    Subject: Re: any ideas to fix filesystem /var ?

    Boot off CD. Go to maintenance mode. Access rootvg without mount file system
    and then run fsck

    Basim Chafik
    Senior Systems Analyst
    IBM Certified Advanced Technical Expert (CATE)
    1.800.688.4895
    basim.chafik@plx.com
    plexus (Division of BancTec)

    -----Original Message-----
    From: Leyden, Joseph [mailto:LeydenJ@METRO.NET]
    Sent: Friday, July 23, 2004 11:24 AM
    To: aix-l@Princeton.EDU
    Subject: any ideas to fix filesystem /var ?

    I get this:
    ----------------------------------------------------------------------------
    ------------
    $ fsck -p /dev/hd9var

    /dev/hd9var (/var): Bad Inode Map (NOT SALVAGED)
    /dev/hd9var (/var): Bad Block Map (NOT SALVAGED)
    /dev/hd9var (/var): Filesystem integrity is not guaranteed
    /dev/hd9var (/var): 458 files 20485 blocks 241659 free
    ----------------------------------------------------------------------------
    -------------
    any ideas in resolving it? TIA


  • Next message: Chafik,Basim: "Re: any ideas to fix filesystem /var ? - "defrags?""

    Relevant Pages