<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Wrong bdf report in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/wrong-bdf-report/m-p/2428241#M2098</link>
    <description>Hi Chris,&lt;BR /&gt;&lt;BR /&gt;It was not my idea to make a newfs on a mounted file system.&lt;BR /&gt;&lt;BR /&gt;1) Backup all your files in /var and /opt.&lt;BR /&gt;&lt;BR /&gt;2) Put '#' in the entry of /var,&lt;BR /&gt;   /opt and /tmp in the /etc/fstab.&lt;BR /&gt;&lt;BR /&gt;4) shutdown -yr 0.&lt;BR /&gt;&lt;BR /&gt;5) The system will boot while /tmp, /var and&lt;BR /&gt;   /opt are unmounted.&lt;BR /&gt;&lt;BR /&gt;6) Try the newfs on the logical volume that      belongs to the mount point of /tmp first.&lt;BR /&gt;   See what happend (with no risc of loosing &lt;BR /&gt;   data).&lt;BR /&gt;&lt;BR /&gt;*Note Andy was right, you can do tunefs -m 1,&lt;BR /&gt;but if the logical volume is not empty, you'll not get what you wanted.&lt;BR /&gt;&lt;BR /&gt;Good luck.&lt;BR /&gt;</description>
    <pubDate>Thu, 29 Jun 2000 13:00:16 GMT</pubDate>
    <dc:creator>Gadi</dc:creator>
    <dc:date>2000-06-29T13:00:16Z</dc:date>
    <item>
      <title>Wrong bdf report</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/wrong-bdf-report/m-p/2428236#M2093</link>
      <description>I am running 10.20 on two servers. when I increased /var, /opt and /tmp; using lvextend -L *** /dev/vg00/lvol* and extendfs -F vxfs or ((hfs) as applicable) /dev/vg00/rlvol*.&lt;BR /&gt;After reboot, SAM and vgdisplay -v on both machines shows correct LV sizes, but bdf on the server with hfs filesystem for /var, /opt and /tmp was showing wrong and lower values for the LV sizes.&lt;BR /&gt;Please, can somebody throw some light on this issue.</description>
      <pubDate>Thu, 29 Jun 2000 08:59:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/wrong-bdf-report/m-p/2428236#M2093</guid>
      <dc:creator>CHRIS_ANORUO</dc:creator>
      <dc:date>2000-06-29T08:59:14Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong bdf report</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/wrong-bdf-report/m-p/2428237#M2094</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;it is normal on hfs file system.  The default&lt;BR /&gt;of "lost" capacity is 10%.&lt;BR /&gt;&lt;BR /&gt;try man newfs_hfs and read about the -m &lt;BR /&gt;option.&lt;BR /&gt;&lt;BR /&gt;If you want to change this situation and to&lt;BR /&gt;save some space, you have to backup the file &lt;BR /&gt;systems and then try for exampl:&lt;BR /&gt;&lt;BR /&gt;#newfs -F hfs -m 1 /dev/vgoX/rlvolXX&lt;BR /&gt;&lt;BR /&gt;Before you begin newfs on existing file system you can examine it by typing:&lt;BR /&gt;&lt;BR /&gt;#tunefs -v /dev/vgoX/rlvolXX&lt;BR /&gt;&lt;BR /&gt;read the minfree percent. If it is 10% as I&lt;BR /&gt;think, it means only the user root can use&lt;BR /&gt;this space.&lt;BR /&gt;&lt;BR /&gt;I hop it's clear now.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 29 Jun 2000 10:05:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/wrong-bdf-report/m-p/2428237#M2094</guid>
      <dc:creator>Gadi</dc:creator>
      <dc:date>2000-06-29T10:05:12Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong bdf report</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/wrong-bdf-report/m-p/2428238#M2095</link>
      <description>Gadi, &lt;BR /&gt;&lt;BR /&gt;I don't recommend doing newfs on a mounted filesystem. The strange thing is that /var (hfs) shows 699mb and /opt (hfs)724mb through bdf while /var and /opt (vxfs) on the other machine are 741mb, they are all configured same size (SAM and vgdisplay reports that). I might have to convert all to vxfs when the server is free.&lt;BR /&gt;I still need to know why&lt;BR /&gt;</description>
      <pubDate>Thu, 29 Jun 2000 10:38:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/wrong-bdf-report/m-p/2428238#M2095</guid>
      <dc:creator>CHRIS_ANORUO</dc:creator>
      <dc:date>2000-06-29T10:38:45Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong bdf report</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/wrong-bdf-report/m-p/2428239#M2096</link>
      <description>Chris,&lt;BR /&gt;&lt;BR /&gt;Gadi is probably right with the difference being minfree.&lt;BR /&gt;&lt;BR /&gt;If you do 'tunefs -v /dev/vg00/lvol?' you'll see what minfree is set too. You can then change it using 'tunefs -m 1 /dev/vg00/lvol?' to set it from 10 to 1%.&lt;BR /&gt;&lt;BR /&gt;Would be interesting to see the output from tunefs and fstyp -v from the filesystems concerned.</description>
      <pubDate>Thu, 29 Jun 2000 10:57:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/wrong-bdf-report/m-p/2428239#M2096</guid>
      <dc:creator>Andy Monks</dc:creator>
      <dc:date>2000-06-29T10:57:59Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong bdf report</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/wrong-bdf-report/m-p/2428240#M2097</link>
      <description>Yes Andy, I know all about minfree 10% but not using newfs on a mounted file system&lt;BR /&gt;</description>
      <pubDate>Thu, 29 Jun 2000 11:56:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/wrong-bdf-report/m-p/2428240#M2097</guid>
      <dc:creator>CHRIS_ANORUO</dc:creator>
      <dc:date>2000-06-29T11:56:58Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong bdf report</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/wrong-bdf-report/m-p/2428241#M2098</link>
      <description>Hi Chris,&lt;BR /&gt;&lt;BR /&gt;It was not my idea to make a newfs on a mounted file system.&lt;BR /&gt;&lt;BR /&gt;1) Backup all your files in /var and /opt.&lt;BR /&gt;&lt;BR /&gt;2) Put '#' in the entry of /var,&lt;BR /&gt;   /opt and /tmp in the /etc/fstab.&lt;BR /&gt;&lt;BR /&gt;4) shutdown -yr 0.&lt;BR /&gt;&lt;BR /&gt;5) The system will boot while /tmp, /var and&lt;BR /&gt;   /opt are unmounted.&lt;BR /&gt;&lt;BR /&gt;6) Try the newfs on the logical volume that      belongs to the mount point of /tmp first.&lt;BR /&gt;   See what happend (with no risc of loosing &lt;BR /&gt;   data).&lt;BR /&gt;&lt;BR /&gt;*Note Andy was right, you can do tunefs -m 1,&lt;BR /&gt;but if the logical volume is not empty, you'll not get what you wanted.&lt;BR /&gt;&lt;BR /&gt;Good luck.&lt;BR /&gt;</description>
      <pubDate>Thu, 29 Jun 2000 13:00:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/wrong-bdf-report/m-p/2428241#M2098</guid>
      <dc:creator>Gadi</dc:creator>
      <dc:date>2000-06-29T13:00:16Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong bdf report</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/wrong-bdf-report/m-p/2428242#M2099</link>
      <description>Chris,&lt;BR /&gt;Slow down and read the reply again.  Gad said to backup the data and then do the newfs.  The part he left out was to restore the data after the newfs.&lt;BR /&gt;backup&lt;BR /&gt;unmount&lt;BR /&gt;newfs&lt;BR /&gt;mount&lt;BR /&gt;restore&lt;BR /&gt;</description>
      <pubDate>Thu, 29 Jun 2000 13:02:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/wrong-bdf-report/m-p/2428242#M2099</guid>
      <dc:creator>Dave Wherry</dc:creator>
      <dc:date>2000-06-29T13:02:32Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong bdf report</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/wrong-bdf-report/m-p/2428243#M2100</link>
      <description>Chris,&lt;BR /&gt;&lt;BR /&gt;You don't have to newfs to change minfree. Just unmount it and run tunefs!</description>
      <pubDate>Thu, 29 Jun 2000 13:05:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/wrong-bdf-report/m-p/2428243#M2100</guid>
      <dc:creator>Andy Monks</dc:creator>
      <dc:date>2000-06-29T13:05:41Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong bdf report</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/wrong-bdf-report/m-p/2428244#M2101</link>
      <description>Thank you all for finding time to assist me. I have don't all these steps even fsck -f without a change in single user mode. When system came up, it was still the same.&lt;BR /&gt;My point is, could it be I need a patch to update bdf? And why is /var and /opt different in size when SAM and vgdisplay show them to be equal?</description>
      <pubDate>Thu, 29 Jun 2000 13:50:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/wrong-bdf-report/m-p/2428244#M2101</guid>
      <dc:creator>CHRIS_ANORUO</dc:creator>
      <dc:date>2000-06-29T13:50:20Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong bdf report</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/wrong-bdf-report/m-p/2428245#M2102</link>
      <description>Chris,&lt;BR /&gt;&lt;BR /&gt;Email me the output from :-&lt;BR /&gt;&lt;BR /&gt;lvdisplay, bdf, tunefs, fstyp for all the lvols/filesystem involved.&lt;BR /&gt;&lt;BR /&gt;andy_monks@hp.com</description>
      <pubDate>Thu, 29 Jun 2000 13:58:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/wrong-bdf-report/m-p/2428245#M2102</guid>
      <dc:creator>Andy Monks</dc:creator>
      <dc:date>2000-06-29T13:58:56Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong bdf report</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/wrong-bdf-report/m-p/2428246#M2103</link>
      <description>Chris emailed me the info I asked for. Here's the summary :-&lt;BR /&gt;&lt;BR /&gt;Hmmm. Well /opt (lvol8) looks pretty normal. &lt;BR /&gt;&lt;BR /&gt;However, from the superblock info /opt and /var have the same number of blocks. So, we know that you correctly extended the filesystem.&lt;BR /&gt;&lt;BR /&gt;So, what it comes down to is inodes!.&lt;BR /&gt;&lt;BR /&gt;The hfs filesystem uses cylinder groups and each 'cg' looks after a number of inodes. When the filesystem is created (ok these were done by the O/S), you can override the default number of cg's and the number of inodes in a cg. This is what's happened here.&lt;BR /&gt;&lt;BR /&gt;For /opt :-&lt;BR /&gt;&lt;BR /&gt;ncg = 138&lt;BR /&gt;ipg = 832&lt;BR /&gt;&lt;BR /&gt;There are also, cpg and bpg but they aren't that important here&lt;BR /&gt;&lt;BR /&gt;For /var :-&lt;BR /&gt;&lt;BR /&gt;ncg = 160&lt;BR /&gt;ipg = 1984&lt;BR /&gt;&lt;BR /&gt;So, here's the maths!&lt;BR /&gt;&lt;BR /&gt;Each inode is 128bytes, so we have :-&lt;BR /&gt;&lt;BR /&gt;/opt = 128 * 138 * 832   = 14,696,448&lt;BR /&gt;&lt;BR /&gt;/var = 128 * 160 * 1,984 = 40,632,320&lt;BR /&gt;&lt;BR /&gt;Which is 26MB difference, which by some magically coincide is what the difference reported by bdf is.</description>
      <pubDate>Fri, 30 Jun 2000 06:38:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/wrong-bdf-report/m-p/2428246#M2103</guid>
      <dc:creator>Andy Monks</dc:creator>
      <dc:date>2000-06-30T06:38:21Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong bdf report</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/wrong-bdf-report/m-p/2428247#M2104</link>
      <description>Thank you very much Andy,&lt;BR /&gt;&lt;BR /&gt;I have converted the file system from hfs to vxfs, every thing is working fine.I used the following steps: &lt;BR /&gt;&lt;BR /&gt;1.Backup all the data from the filesystems involved&lt;BR /&gt;2.Copy /etc/fstab to /etc/fstab.old, changed the /etc/fstab file for the /dev/vg00/lvoln to replace the hfs with vxfs&lt;BR /&gt;3. Rebooted the system to single user mode (thereby unmounting the filesystems)&lt;BR /&gt;4.newfs -F vxfs /dev/vg00/rlvoln&lt;BR /&gt;5.fsck -F vxfs /dev/vg00/lvoln&lt;BR /&gt;6.mount /dev/vg00/lvoln&lt;BR /&gt;7.fstyp /dev/vg00/lvoln (To confirm that the filesystem is now vxfs)&lt;BR /&gt;8.Restore from backup&lt;BR /&gt;9.Reboot the system.&lt;BR /&gt;&lt;BR /&gt;Filesystem are okay I hope this will help somebody out there.&lt;BR /&gt;&lt;BR /&gt;Best Regards!&lt;BR /&gt;</description>
      <pubDate>Fri, 30 Jun 2000 10:26:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/wrong-bdf-report/m-p/2428247#M2104</guid>
      <dc:creator>CHRIS_ANORUO</dc:creator>
      <dc:date>2000-06-30T10:26:30Z</dc:date>
    </item>
  </channel>
</rss>

