<?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: File System creation ! in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/file-system-creation/m-p/2748056#M642956</link>
    <description>I would like to put in one caveat to the above "merging two vg's".  provided both volume groups are NOT vg00.  It would be a bad idea to merge vg01 &amp;amp; vg00 into vg00.&lt;BR /&gt;&lt;BR /&gt;The only last suggestion is this...&lt;BR /&gt;&lt;BR /&gt;is there another lvol that is 500MB in either of the vg's.  if so move it to the free 500MB &amp;amp; then delete the old one, this will leave 1000MB in one VG.&lt;BR /&gt;&lt;BR /&gt;e.g&lt;BR /&gt;&lt;BR /&gt;/dev/vg01/myfs is /myfs - 500MB&lt;BR /&gt;&lt;BR /&gt;vg01 &amp;amp; vg02 have 500MB free each&lt;BR /&gt;&lt;BR /&gt;# lvcreate -L 500 -n newmyfs vg02&lt;BR /&gt;# umount /myfs&lt;BR /&gt;# dd if=/dev/vg01/rmyfs bs=64k of=/dev/vg02/rnewmyfs&lt;BR /&gt;edit /etc/fstab so /dev/vg02/newmyfs mounts on /myfs; mount /myfs&lt;BR /&gt;# lvremove /dev/vg01/myfs&lt;BR /&gt;# lvcreate -L 1000 -n bigfs vg01&lt;BR /&gt;# newfs [-F vxfs] /dev/vg01/rbigfs&lt;BR /&gt;# mount  /dev/vg01/bigfs /bigfs (or whatever)&lt;BR /&gt;&lt;BR /&gt;You could use the above to migrate stuff into or out of vg00.&lt;BR /&gt;&lt;BR /&gt;Tim&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 20 Jun 2002 04:14:54 GMT</pubDate>
    <dc:creator>Tim D Fulford</dc:creator>
    <dc:date>2002-06-20T04:14:54Z</dc:date>
    <item>
      <title>File System creation !</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-system-creation/m-p/2748046#M642946</link>
      <description>OK !!&lt;BR /&gt;&lt;BR /&gt;My problem is, that i need a file system with 1 Gbyte size, but i don't have one volume group with this free space. However,I have 2 differents volume groups with 500 mbytes each one.&lt;BR /&gt;&lt;BR /&gt;For that, I wanted to know , how can i use this free space for make my file system.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Best Regards !</description>
      <pubDate>Wed, 19 Jun 2002 16:39:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-system-creation/m-p/2748046#M642946</guid>
      <dc:creator>Ivan Azuara</dc:creator>
      <dc:date>2002-06-19T16:39:16Z</dc:date>
    </item>
    <item>
      <title>Re: File System creation !</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-system-creation/m-p/2748047#M642947</link>
      <description>Create a file system or extend the file system by using the 500mbytes in the second volume group. Create a directory(say x) under that file system. Create another file system in the first volume group by using the 500mb space. Create a softlink under that file system pointing to the directory(x). &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 19 Jun 2002 16:57:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-system-creation/m-p/2748047#M642947</guid>
      <dc:creator>Arockia Jegan</dc:creator>
      <dc:date>2002-06-19T16:57:26Z</dc:date>
    </item>
    <item>
      <title>Re: File System creation !</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-system-creation/m-p/2748048#M642948</link>
      <description>Hi Ivan&lt;BR /&gt;&lt;BR /&gt;If there are going to be subdirectores in your filesystem, then you can create another filesystem for one of the subdirectories in the 2nd free VG&lt;BR /&gt;or you can create soft links as already suggested.&lt;BR /&gt;&lt;BR /&gt;-Ramesh</description>
      <pubDate>Wed, 19 Jun 2002 17:14:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-system-creation/m-p/2748048#M642948</guid>
      <dc:creator>linuxfan</dc:creator>
      <dc:date>2002-06-19T17:14:51Z</dc:date>
    </item>
    <item>
      <title>Re: File System creation !</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-system-creation/m-p/2748049#M642949</link>
      <description>Hi Ivan,&lt;BR /&gt;&lt;BR /&gt; It should be pointed out that in the first scenario you cannot have *all* the space for a single file or even a single directory.&lt;BR /&gt;AND it's important that FS containing the (dir1) containing the mount point for the other (dir2) MUST be mounted first.&lt;BR /&gt;&lt;BR /&gt;Order of mount in this scenario:&lt;BR /&gt;1) /dev/vgxx1/lvolxx1 /dir1&lt;BR /&gt;2) /dev/vgxx2/lvilxx2 /dir2&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Jeff</description>
      <pubDate>Wed, 19 Jun 2002 17:22:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-system-creation/m-p/2748049#M642949</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2002-06-19T17:22:22Z</dc:date>
    </item>
    <item>
      <title>Re: File System creation !</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-system-creation/m-p/2748050#M642950</link>
      <description>In resume :&lt;BR /&gt;&lt;BR /&gt;Arockia and Ramesh suggest me to create 2 differents file systems in each volume group, and create 2 differents directories under each file system for create the link.&lt;BR /&gt;&lt;BR /&gt;Question : Then I'll have 2 differents file systems with differents names and 2 differents directories with differents names too, correct ?. The scenario will be:&lt;BR /&gt;&lt;BR /&gt;/dev/vg01/fs_test1   ------&amp;gt; file system 1&lt;BR /&gt;/dev/vg02/fs_test2   ------&amp;gt; file system 2&lt;BR /&gt;&lt;BR /&gt;# cd /fs_test1&lt;BR /&gt;# mkdir dir1       -----&amp;gt; directory 1&lt;BR /&gt;# cd /fs_test2&lt;BR /&gt;# mkdir dir2       -----&amp;gt; directory 2&lt;BR /&gt;&lt;BR /&gt;Create the link :&lt;BR /&gt;&lt;BR /&gt;# ln -s /dev/vg01/fs_test1/dir1 /dev/vg02/fs_test2/dir2 &lt;BR /&gt;&lt;BR /&gt;Question: When I use the file system , i must use the name for the first file system and when this first file system go growing , automatically will use the space in the second file system ?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;P.D. Jeff mentioned something similar.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Best Regards !</description>
      <pubDate>Wed, 19 Jun 2002 18:05:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-system-creation/m-p/2748050#M642950</guid>
      <dc:creator>Ivan Azuara</dc:creator>
      <dc:date>2002-06-19T18:05:14Z</dc:date>
    </item>
    <item>
      <title>Re: File System creation !</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-system-creation/m-p/2748051#M642951</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;No it is not like that. If you are not storing the files in the /dir2 directory then its of no use.&lt;BR /&gt;&lt;BR /&gt;If the files are getting stored in the /dir1 directory only then ou can store only upto 500MB.&lt;BR /&gt;&lt;BR /&gt;If you application is like that and it stores some files in the /dir2 directory also then only this setup will work.&lt;BR /&gt;&lt;BR /&gt;I suggest you buy an additional disk.&lt;BR /&gt;&lt;BR /&gt;Piyush</description>
      <pubDate>Wed, 19 Jun 2002 18:19:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-system-creation/m-p/2748051#M642951</guid>
      <dc:creator>PIYUSH D. PATEL</dc:creator>
      <dc:date>2002-06-19T18:19:30Z</dc:date>
    </item>
    <item>
      <title>Re: File System creation !</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-system-creation/m-p/2748052#M642952</link>
      <description>Hi Ivan:&lt;BR /&gt;&lt;BR /&gt;You have posted essentially the same question (with variations depending on replies) three times.  You should/can continue to refine your principal question within the same post.  This will give continuity to the discussion.  I think you will find more coherent answers, too!&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 19 Jun 2002 18:35:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-system-creation/m-p/2748052#M642952</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2002-06-19T18:35:36Z</dc:date>
    </item>
    <item>
      <title>Re: File System creation !</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-system-creation/m-p/2748053#M642953</link>
      <description>Hi Ivan,&lt;BR /&gt;&lt;BR /&gt;You cannot do anything. If you want a filesystem to have 1GB you need a disk / vg with 1GB of free disk space.&lt;BR /&gt;&lt;BR /&gt;If you can split these into two directories then go ahead and create a lv each on the two availble vg's and then mount them at the respective directories. &lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;regds&lt;BR /&gt;</description>
      <pubDate>Wed, 19 Jun 2002 19:28:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-system-creation/m-p/2748053#M642953</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2002-06-19T19:28:01Z</dc:date>
    </item>
    <item>
      <title>Re: File System creation !</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-system-creation/m-p/2748054#M642954</link>
      <description>Ivan,&lt;BR /&gt;&lt;BR /&gt;do you have Online JFS? &lt;BR /&gt;&lt;BR /&gt;You can check by running 'swlist'&lt;BR /&gt;&lt;BR /&gt;If you have this product installed, its possible (maybe) you can 'steal back' some space from existing filesystems which aren't full by reducing them on-line, then reducing the logical volumes and freeing up some extents in one of your volume groups.&lt;BR /&gt;&lt;BR /&gt;If you have Online  JFS, let us know!&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;&lt;BR /&gt;Duncan</description>
      <pubDate>Wed, 19 Jun 2002 19:35:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-system-creation/m-p/2748054#M642954</guid>
      <dc:creator>Duncan Edmonstone</dc:creator>
      <dc:date>2002-06-19T19:35:51Z</dc:date>
    </item>
    <item>
      <title>Re: File System creation !</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-system-creation/m-p/2748055#M642955</link>
      <description>I am going to assume that you need a single file system 1 GB in size. The other solutions assume that you can get away with 2 500 MB file systems.&lt;BR /&gt;&lt;BR /&gt;I am futher going to assume that you have 2 volume groups, which I am going to call vg1 and vg2. Each volume group has one or more Physical Volumes. vg1 has 500 MB free on one (more more) of its PVs. The same with vg2.&lt;BR /&gt;&lt;BR /&gt;What you need is a volume group with 1 GB free on one (or more) of its PVs.&lt;BR /&gt;&lt;BR /&gt;What I would suggest is to use ignite to combine the 2 volume groups into one large volume group consisting of all the PVs of the 2 groups. That will combine the free space into 1 volume group and allow you to create the 1 GB file system.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;Marty</description>
      <pubDate>Wed, 19 Jun 2002 20:06:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-system-creation/m-p/2748055#M642955</guid>
      <dc:creator>Martin Johnson</dc:creator>
      <dc:date>2002-06-19T20:06:08Z</dc:date>
    </item>
    <item>
      <title>Re: File System creation !</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-system-creation/m-p/2748056#M642956</link>
      <description>I would like to put in one caveat to the above "merging two vg's".  provided both volume groups are NOT vg00.  It would be a bad idea to merge vg01 &amp;amp; vg00 into vg00.&lt;BR /&gt;&lt;BR /&gt;The only last suggestion is this...&lt;BR /&gt;&lt;BR /&gt;is there another lvol that is 500MB in either of the vg's.  if so move it to the free 500MB &amp;amp; then delete the old one, this will leave 1000MB in one VG.&lt;BR /&gt;&lt;BR /&gt;e.g&lt;BR /&gt;&lt;BR /&gt;/dev/vg01/myfs is /myfs - 500MB&lt;BR /&gt;&lt;BR /&gt;vg01 &amp;amp; vg02 have 500MB free each&lt;BR /&gt;&lt;BR /&gt;# lvcreate -L 500 -n newmyfs vg02&lt;BR /&gt;# umount /myfs&lt;BR /&gt;# dd if=/dev/vg01/rmyfs bs=64k of=/dev/vg02/rnewmyfs&lt;BR /&gt;edit /etc/fstab so /dev/vg02/newmyfs mounts on /myfs; mount /myfs&lt;BR /&gt;# lvremove /dev/vg01/myfs&lt;BR /&gt;# lvcreate -L 1000 -n bigfs vg01&lt;BR /&gt;# newfs [-F vxfs] /dev/vg01/rbigfs&lt;BR /&gt;# mount  /dev/vg01/bigfs /bigfs (or whatever)&lt;BR /&gt;&lt;BR /&gt;You could use the above to migrate stuff into or out of vg00.&lt;BR /&gt;&lt;BR /&gt;Tim&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 20 Jun 2002 04:14:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-system-creation/m-p/2748056#M642956</guid>
      <dc:creator>Tim D Fulford</dc:creator>
      <dc:date>2002-06-20T04:14:54Z</dc:date>
    </item>
    <item>
      <title>Re: File System creation !</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-system-creation/m-p/2748057#M642957</link>
      <description>Oops, I just thopught, do not migrate any standard vg00 eg /, /stand, &lt;LVOL2&gt;, /usr, /tmp, /var, /opt. You could however do /home (/dev/vg00/lvol5 i think)&lt;BR /&gt;&lt;BR /&gt;Tim&lt;/LVOL2&gt;</description>
      <pubDate>Thu, 20 Jun 2002 04:20:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-system-creation/m-p/2748057#M642957</guid>
      <dc:creator>Tim D Fulford</dc:creator>
      <dc:date>2002-06-20T04:20:29Z</dc:date>
    </item>
    <item>
      <title>Re: File System creation !</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-system-creation/m-p/2748058#M642958</link>
      <description>One physical disk can only belong to/be used in one volume group. As suggested there are ways to tweak this but in my view this will in the long run only create problems. My suggestion is to buy more disk.  &lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Trond</description>
      <pubDate>Thu, 20 Jun 2002 06:30:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-system-creation/m-p/2748058#M642958</guid>
      <dc:creator>Trond Haugen</dc:creator>
      <dc:date>2002-06-20T06:30:59Z</dc:date>
    </item>
  </channel>
</rss>

