<?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: Copying file systems in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/copying-file-systems/m-p/4967811#M417063</link>
    <description>There is no point is copying named sockets; they will be recreated when the daemon restarts. You are going to find it difficult to umount /var so your best bet will be to copy your /var to /newvar and then edit /etc/fstab changing /newvar to /var and commenting out the original /var entry. You then reboot and when the system comes up you can safely lvremove what was the original /var's LVOL.</description>
    <pubDate>Thu, 16 Mar 2006 13:32:10 GMT</pubDate>
    <dc:creator>A. Clay Stephenson</dc:creator>
    <dc:date>2006-03-16T13:32:10Z</dc:date>
    <item>
      <title>Copying file systems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/copying-file-systems/m-p/4967808#M417060</link>
      <description>I've run out of disk in /var (because of upgrading an application); I'm out of disk space in that VG.  I'm copying /var to another file system (using another VG) using the following syntax:&lt;BR /&gt;&lt;BR /&gt;cd /var; find . | cpio -pdumv&lt;BR /&gt;&lt;BR /&gt;I have enough room in the new FS, however I'm seeing the following error that concerns me:&lt;BR /&gt;&lt;BR /&gt;Socket &lt;SPOOL&gt; not backed up&lt;BR /&gt;&lt;BR /&gt;How can I move those sockets?&lt;BR /&gt;&lt;BR /&gt;Also, when doing the copy of /var, I have a daemon &lt;RBOOTD&gt; that apparantly has an open file...it gets to one of the "reply" files (/var/rbootd/C014227413a0.reply) that is open and hangs the copy.  Will taking the system down to single-user, mounting the appropriate FS's and running the above command work then?  Or can I just shut the daemon down?&lt;/RBOOTD&gt;&lt;/SPOOL&gt;</description>
      <pubDate>Thu, 16 Mar 2006 13:22:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/copying-file-systems/m-p/4967808#M417060</guid>
      <dc:creator>Joe Robinson_2</dc:creator>
      <dc:date>2006-03-16T13:22:22Z</dc:date>
    </item>
    <item>
      <title>Re: Copying file systems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/copying-file-systems/m-p/4967809#M417061</link>
      <description>cd /var; find . | cpio -pdumv /var2&lt;BR /&gt;&lt;BR /&gt;After I copy the file systems, I plan on just modifying my fstab to point at the correct fs and rebooting.</description>
      <pubDate>Thu, 16 Mar 2006 13:24:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/copying-file-systems/m-p/4967809#M417061</guid>
      <dc:creator>Joe Robinson_2</dc:creator>
      <dc:date>2006-03-16T13:24:14Z</dc:date>
    </item>
    <item>
      <title>Re: Copying file systems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/copying-file-systems/m-p/4967810#M417062</link>
      <description>Try vxdump/vxrestore&lt;BR /&gt;&lt;BR /&gt;vxdump -0 -f - -s 1000000 -b 16 /var |  (cd /newvar  ; vxrestore rf -)&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Thu, 16 Mar 2006 13:27:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/copying-file-systems/m-p/4967810#M417062</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2006-03-16T13:27:47Z</dc:date>
    </item>
    <item>
      <title>Re: Copying file systems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/copying-file-systems/m-p/4967811#M417063</link>
      <description>There is no point is copying named sockets; they will be recreated when the daemon restarts. You are going to find it difficult to umount /var so your best bet will be to copy your /var to /newvar and then edit /etc/fstab changing /newvar to /var and commenting out the original /var entry. You then reboot and when the system comes up you can safely lvremove what was the original /var's LVOL.</description>
      <pubDate>Thu, 16 Mar 2006 13:32:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/copying-file-systems/m-p/4967811#M417063</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2006-03-16T13:32:10Z</dc:date>
    </item>
    <item>
      <title>Re: Copying file systems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/copying-file-systems/m-p/4967812#M417064</link>
      <description>Clay,&lt;BR /&gt;&lt;BR /&gt;  Thanks for the info on the sockets, that's what I thought but wanted clarification before moving on.&lt;BR /&gt;&lt;BR /&gt;Geoff,&lt;BR /&gt;&lt;BR /&gt; Thanks for the hint.  I hadn't ever used that command but will keep it in my bag of tricks!</description>
      <pubDate>Thu, 16 Mar 2006 13:55:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/copying-file-systems/m-p/4967812#M417064</guid>
      <dc:creator>Joe Robinson_2</dc:creator>
      <dc:date>2006-03-16T13:55:57Z</dc:date>
    </item>
    <item>
      <title>Re: Copying file systems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/copying-file-systems/m-p/4967813#M417065</link>
      <description>See Clay's comments.  Thanks everyone!</description>
      <pubDate>Thu, 16 Mar 2006 13:56:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/copying-file-systems/m-p/4967813#M417065</guid>
      <dc:creator>Joe Robinson_2</dc:creator>
      <dc:date>2006-03-16T13:56:42Z</dc:date>
    </item>
  </channel>
</rss>

