[HPADM] SUMMARY problem with fsadm

From: Harm Ensing (ensin001_at_hdxh0e.unix.telecom.ptt.nl)
Date: 04/09/04

  • Next message: light1_at_runbox.com: "[HPADM] EMC migration w/Oracle on raw devices"
    To: hpux-admin@DutchWorks.nl
    Date: Fri, 9 Apr 2004 11:52:27 +0200 (METDST)
    
    

    Here's the summary of replies I got to this guestion/problem:

    > I'm having trouble with the fsadm command while trying to extend a filesystem.
    >
    > The filesystem is mounted:
    > # mount|grep lvol9
    > /volumes/v1 on /dev/vg00/lvol9 delaylog,nodatainlog on Sun Mar 14 18:29:00 2004
    >
    > and apparantly it is type vxfs:
    > # grep lvol9 /etc/fstab
    > /dev/vg00/lvol9 /volumes/v1 vxfs delaylog 0 2
    > # fsadm -F vxfs -D /volumes/tsu
    > Directory Fragmentation Report
    > Dirs Total Immed Immeds Dirs to Blocks to
    > Searched Blocks Dirs to Add Reduce Reduce
    > total 334 342 238 0 2 12
    >
    > The logical volume has been extended:
    > # bdf /volumes/v1
    > Filesystem kbytes used avail %used Mounted on
    > /dev/vg00/lvol9 1048576 761154 270359 74% /volumes/v1
    > # vgdisplay -v vg00
    > .....
    > LV Name /dev/vg00/lvol9
    > LV Status available/syncd
    > LV Size (Mbytes) 3000
    > Current LE 750
    > Allocated PE 1500
    > Used PV 6
    >
    > But when I use fsadm to extend the filesystem to the full size it fails:
    > # fsadm -F vxfs -b 3072000 /volumes/v1
    > fsadm: the -b option requires "HP OnLineJFS (Advanced Vxfs)"
    >
    > Our first thought was that the VxFS package had not been installed, but:
    > # swlist|grep -i vxfs
    > B3929BA B.11.00 HP OnLineJFS (Advanced VxFS)
    >
    > And on similar systems we have done this several times without problems.
    >
    > What am I overlooking?

    Thanks to:
    James Lonski
    David R Antoch
    Kevin O'Donovan
    Bryan.Quinn
    Stuart Abramson
    Bruno HAUTECOEUR
    Craig E Johnson

    These are the suggestions:

    Re-install Online-JFS. By toggling the options a bit it should be possible to
    re-install an re-activate the license without needing to reboot.

    There was mention of a line in /etc/inittab :
      vxen::bootwait:/sbin/fs/vxfs/vxenablef -a
    But I don't have this (vxenablef) on my systems so I don't really know
    what to think of this.

    Look at which 'fsadm' program is physically used. There are several on the system but this helped me no further.

    There was a reference to a "vxlicense -c" command but I don't have this on my system. Neither does a license "enable" comamnd exist.

    A reference to an ITRC file helped me a lot further.
    SAM told me that the driver was 'OUT'.
    ( SAM => Kernel Config => Drivers => vxadv - Current State )
    Setting it to 'IN' would result in creating a new kernel and reboot
    which I haven't done yet.

    So it appears that I do not have the extra cost Online JFS package installed properly and so cannot extend the filesystem with fsadm. I will have to (re-)install and reboot or unmount the filesystem, enlarge it with lvextend and then reorganize the filesystem with extendfs.

    -Harm-

    --
                 ---> Please post QUESTIONS and SUMMARIES only!! <---
            To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
           Name: hpux-admin@dutchworks.nl     Owner: owner-hpux-admin@dutchworks.nl
     
     Archives:  ftp.dutchworks.nl:/pub/digests/hpux-admin       (FTP, browse only)
                http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse & search)
    

  • Next message: light1_at_runbox.com: "[HPADM] EMC migration w/Oracle on raw devices"

    Relevant Pages

    • Re: df & du showing different usages for /var
      ... Filesystem Size Used Avail Capacity Mounted on ... the easiest thing to do is just reboot the ... space simply by restarting a single program: possibly Apache or qmail. ...
      (freebsd-questions)
    • Re: df & du showing different usages for /var
      ... Filesystem Size Used Avail Capacity Mounted on ... If you mean fix du and dh, there's nothing to fix, they're doing their ... the easiest thing to do is just reboot the ... space simply by restarting a single program: possibly Apache or qmail. ...
      (freebsd-questions)
    • Re: [Ext2-devel] Re: [RFD] FS behavior (I/O failure) in kernel summit
      ... >>it is regarding specified error conditions. ... However given the existence of USB drives and CDROMs with scratches I ... >users to read from rest of filesystem than to just reboot the node. ...
      (Linux-Kernel)
    • Re: prevent fs check after being up for a long time
      ... Issue was that i was told that as a particular filesystem has not been ... Another solution when you are going to reboot the system ... remount the file system 'read-only' and do a quicky fsck. ... Even the virtually unsupported RH9 has had two kernel errata ...
      (linux.redhat)
    • Re: Some Contents Unreadable" error still exists after checking HDD
      ... Rajev Mhasawade wrote: ... > I did use shutdown now -Fr command and it checked filesystem after ... and then reboot your computer. ... to mount a partition created in FC3 in an installation that came out ...
      (Fedora)