<?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: How do I reallocate disk space? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-reallocate-disk-space/m-p/2557469#M887464</link>
    <description>Unless your using Veritos then you need to REMOVE the file system that you want to shrink, then you will have space to add to another file system.  There is no way of "shrinking" a current LVM with standard tools.  Veritos will let you do amazing things, but comes with about a 100K price tag as well.&lt;BR /&gt;&lt;BR /&gt;IMHO, a well planned out system will alleviate this.  Lots of people tend to put all of their eggs into one basket, leaving problems like you have.  If space is not curently needed, it should not necessarily be allocated just to be used up.  You can always expand filesystems (though sometimes a nuisance), but can never reduce one on the fly!&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Shannon</description>
    <pubDate>Thu, 26 Jul 2001 15:03:40 GMT</pubDate>
    <dc:creator>Shannon Petry</dc:creator>
    <dc:date>2001-07-26T15:03:40Z</dc:date>
    <item>
      <title>How do I reallocate disk space?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-reallocate-disk-space/m-p/2557468#M887463</link>
      <description>&lt;BR /&gt;Newbie Question:&lt;BR /&gt;&lt;BR /&gt;How do I reallocate space from one mount point to another.  For example, let say I do a df -k :&lt;BR /&gt;&lt;BR /&gt;/home      (/dev/vg00/lvol5 ) :  1018327 total allocated Kb&lt;BR /&gt;                                                      458014 free allocated Kb&lt;BR /&gt;                                                    560313 used allocated Kb&lt;BR /&gt;&lt;BR /&gt;/test         (/dev/vg00/lvol4 ) :   31823 total allocated Kb&lt;BR /&gt;                                                     14860 free allocated Kb&lt;BR /&gt;                                                   16963 used allocated Kb&lt;BR /&gt;&lt;BR /&gt;Now let's say I wanted to grab some disk space from /home and add it to /test to increase it's disk space.  How would I go about doing this?&lt;BR /&gt;&lt;BR /&gt;TIA,&lt;BR /&gt;Daniel N.&lt;BR /&gt;</description>
      <pubDate>Thu, 26 Jul 2001 14:53:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-reallocate-disk-space/m-p/2557468#M887463</guid>
      <dc:creator>Daniel Navarro</dc:creator>
      <dc:date>2001-07-26T14:53:04Z</dc:date>
    </item>
    <item>
      <title>Re: How do I reallocate disk space?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-reallocate-disk-space/m-p/2557469#M887464</link>
      <description>Unless your using Veritos then you need to REMOVE the file system that you want to shrink, then you will have space to add to another file system.  There is no way of "shrinking" a current LVM with standard tools.  Veritos will let you do amazing things, but comes with about a 100K price tag as well.&lt;BR /&gt;&lt;BR /&gt;IMHO, a well planned out system will alleviate this.  Lots of people tend to put all of their eggs into one basket, leaving problems like you have.  If space is not curently needed, it should not necessarily be allocated just to be used up.  You can always expand filesystems (though sometimes a nuisance), but can never reduce one on the fly!&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Shannon</description>
      <pubDate>Thu, 26 Jul 2001 15:03:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-reallocate-disk-space/m-p/2557469#M887464</guid>
      <dc:creator>Shannon Petry</dc:creator>
      <dc:date>2001-07-26T15:03:40Z</dc:date>
    </item>
    <item>
      <title>Re: How do I reallocate disk space?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-reallocate-disk-space/m-p/2557470#M887465</link>
      <description>Hi Daniel:&lt;BR /&gt;&lt;BR /&gt;If you have Online JFS (and your filesystems are vxfs ones, of course), then it is sometimes possible to shrink the size of a filesystem dynamically.  In that case, you might free extents from one filesystem which could be added to another.&lt;BR /&gt;&lt;BR /&gt;If your case does not meet this criteria, then you must backup the filesystem you want to shrink, destroy it and recreate it.&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 26 Jul 2001 15:04:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-reallocate-disk-space/m-p/2557470#M887465</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-07-26T15:04:55Z</dc:date>
    </item>
    <item>
      <title>Re: How do I reallocate disk space?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-reallocate-disk-space/m-p/2557471#M887466</link>
      <description>Hi Daniel,&lt;BR /&gt;&lt;BR /&gt;You really did not give enough info for me to give you a really good answer, but here goes:&lt;BR /&gt;&lt;BR /&gt;You have a couple of options:&lt;BR /&gt;&lt;BR /&gt;1.  Backup /home.  Remove and recreate or lvreduce /home to create it as a smaller lv.  Then restore the /home data.  Then use lvextend to increase the size of /test.&lt;BR /&gt;&lt;BR /&gt;2.  You could create a symbolic link to /home from test to use the space.&lt;BR /&gt;&lt;BR /&gt;mkdir /home/test_data&lt;BR /&gt;cd /test&lt;BR /&gt;ln -s mynewdir /home/test_data&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The second is easier, but sometimes too many links get confusing.&lt;BR /&gt;&lt;BR /&gt;...jcd...</description>
      <pubDate>Thu, 26 Jul 2001 15:10:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-reallocate-disk-space/m-p/2557471#M887466</guid>
      <dc:creator>Joseph C. Denman</dc:creator>
      <dc:date>2001-07-26T15:10:26Z</dc:date>
    </item>
    <item>
      <title>Re: How do I reallocate disk space?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-reallocate-disk-space/m-p/2557472#M887467</link>
      <description>Dan&lt;BR /&gt;&lt;BR /&gt;Joseph's answer is what I would have said.&lt;BR /&gt;&lt;BR /&gt;However, (&amp;amp; I hesitated ALOT about this) JRF's reply is not quite true, you can only shrink a OnlineJFS if you have not written to it!!  The first write stops you shrinking it!  The HP manual &amp;amp; courses say (well, did say) you can shrink!&lt;BR /&gt;&lt;BR /&gt;Good luck anyway&lt;BR /&gt;&lt;BR /&gt;Tim</description>
      <pubDate>Thu, 26 Jul 2001 15:29:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-reallocate-disk-space/m-p/2557472#M887467</guid>
      <dc:creator>Tim D Fulford</dc:creator>
      <dc:date>2001-07-26T15:29:51Z</dc:date>
    </item>
    <item>
      <title>Re: How do I reallocate disk space?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-reallocate-disk-space/m-p/2557473#M887468</link>
      <description>Hi Tim:&lt;BR /&gt;&lt;BR /&gt;I should have been much more explicit.  It *is* possible to shrink a JFS filesystem.  It is often *not* possible with older versions of JFS and JFS filesystems.  The failure occurs when inuse inodes occupy the space to be reduced.  Sometimes an online defragmentation of the filesystem beforehand will allow a subsequent reduction to succeed.&lt;BR /&gt;&lt;BR /&gt;Using JFS version 3.3 allows a greater chance of success.  However, you must 'vxupgrade' your filesystems to version-4 *and* use JFS 3.3 to raise the assurance of success.&lt;BR /&gt;&lt;BR /&gt;JFS 3.3 can be used with 11.0; is the default on 11.11; but is not available for 10.20.&lt;BR /&gt;&lt;BR /&gt;BTW, Tim, "disagreement" is what this forum is about, don't ever be bashful.  Healthy disagreement simply brings more information.  Thanks, and regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 26 Jul 2001 16:00:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-reallocate-disk-space/m-p/2557473#M887468</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-07-26T16:00:04Z</dc:date>
    </item>
    <item>
      <title>Re: How do I reallocate disk space?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-reallocate-disk-space/m-p/2557474#M887469</link>
      <description>James, you are the man!!!!!&lt;BR /&gt;&lt;BR /&gt;DON'T MESS WITH THE TOP DOG.&lt;BR /&gt;&lt;BR /&gt;Thanks for the info great info.&lt;BR /&gt;&lt;BR /&gt;...jcd...</description>
      <pubDate>Thu, 26 Jul 2001 16:04:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-reallocate-disk-space/m-p/2557474#M887469</guid>
      <dc:creator>Joseph C. Denman</dc:creator>
      <dc:date>2001-07-26T16:04:56Z</dc:date>
    </item>
    <item>
      <title>Re: How do I reallocate disk space?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-reallocate-disk-space/m-p/2557475#M887470</link>
      <description>Hi Daniel&lt;BR /&gt;&lt;BR /&gt;You need to have a backup , coz in case you reduce it there may be chance for you loosing some files .Ans also the size is lvol is aorung 1 gb which shouldnt be a problem to be backed up .&lt;BR /&gt;&lt;BR /&gt;Take the backup , reduce the size , reallocate the space and restore the back up.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Manoj Srivastava&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 26 Jul 2001 16:35:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-reallocate-disk-space/m-p/2557475#M887470</guid>
      <dc:creator>MANOJ SRIVASTAVA</dc:creator>
      <dc:date>2001-07-26T16:35:12Z</dc:date>
    </item>
    <item>
      <title>Re: How do I reallocate disk space?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-reallocate-disk-space/m-p/2557476#M887471</link>
      <description>&lt;BR /&gt;All,&lt;BR /&gt;&lt;BR /&gt;Thanks for all the replies.  Now all I need to do is find out what kind of system I'm on and I'll be in semi-good shape.  Since I am more of an Oracle Developer rather than a Sys. Admin, and we just recently lost our Sys-Admin, I am starving for knowledge without knowing where the fountain of knowledge is.  Can someone please tell me what commands I can use to query the system to find out if/what kind of Volume Manager I have installed and  what 'manpages' can I look for to extend file sizes?&lt;BR /&gt;&lt;BR /&gt;O.S. = B.11.00 A 9000/821 (t1)&lt;BR /&gt;&lt;BR /&gt;Again TIA,&lt;BR /&gt;Daniel N.</description>
      <pubDate>Thu, 26 Jul 2001 16:52:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-reallocate-disk-space/m-p/2557476#M887471</guid>
      <dc:creator>Daniel Navarro</dc:creator>
      <dc:date>2001-07-26T16:52:39Z</dc:date>
    </item>
    <item>
      <title>Re: How do I reallocate disk space?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-reallocate-disk-space/m-p/2557477#M887472</link>
      <description>Daniel,&lt;BR /&gt;&lt;BR /&gt;You are using the LVM that comes standard with HPUX.&lt;BR /&gt;&lt;BR /&gt;Things you might want to look at:&lt;BR /&gt;&lt;BR /&gt;man vgdisplay&lt;BR /&gt;man lvextend&lt;BR /&gt;man extendfs&lt;BR /&gt;&lt;BR /&gt;However, If you are new to hpux/lvm, I would recommend using SAM.&lt;BR /&gt;&lt;BR /&gt;...jcd...</description>
      <pubDate>Thu, 26 Jul 2001 17:08:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-reallocate-disk-space/m-p/2557477#M887472</guid>
      <dc:creator>Joseph C. Denman</dc:creator>
      <dc:date>2001-07-26T17:08:52Z</dc:date>
    </item>
    <item>
      <title>Re: How do I reallocate disk space?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-reallocate-disk-space/m-p/2557478#M887473</link>
      <description>Hi (again) Daniel:&lt;BR /&gt;&lt;BR /&gt;A good guide to LVM tasks can be found in "Managing Systems and Workgroups: A Guide for HP-UX System Administrators".  Take a look, particularly at this chapter:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/hpux/onlinedocs/B2355-90742/B2355-90742.html" target="_blank"&gt;http://docs.hp.com/hpux/onlinedocs/B2355-90742/B2355-90742.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;As Joseph suggested, the man pages are well worth a look, too.&lt;BR /&gt;&lt;BR /&gt;'fstyp' (see the man pages) can be used to determine the type of filesystem you have.  You can also list your /etc/fstab to see.&lt;BR /&gt;&lt;BR /&gt;# fstyp -v /dev/vgXX/lvolX &lt;BR /&gt;&lt;BR /&gt;To see if you have Online JFS installed, do:&lt;BR /&gt;&lt;BR /&gt;# swlist -l bundle|grep -i JFS&lt;BR /&gt;&lt;BR /&gt;If the output of this command does *not* show a component with the word "online" then you do not have Online JFS.  The Online version is a separate add-on to the base product.&lt;BR /&gt;&lt;BR /&gt;Remember that SAM can easily lead you through the process of disk and filesystem maintenance with a miniumum of knowledge.  This is always an option, too.&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 26 Jul 2001 17:30:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-reallocate-disk-space/m-p/2557478#M887473</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-07-26T17:30:05Z</dc:date>
    </item>
  </channel>
</rss>

