<?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 data move in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/data-move/m-p/3413555#M202884</link>
    <description>hello everyone&lt;BR /&gt;&lt;BR /&gt;I have a subdirectory /data/esm that resides in the root file system. I need to get the data in it's own filesystem. I figured the best way to do this would be to shut the app down, &lt;BR /&gt;&lt;BR /&gt;1. create a new lvol and filesystem, &lt;BR /&gt;2. create a temporary mount point, &lt;BR /&gt;3. mount it on the new filesystem, &lt;BR /&gt;4. mv the /data/esm directory and all it's files into the temp mount point&lt;BR /&gt;5. unmount the temp mount point&lt;BR /&gt;6. mount the filesystem on the /data/esm mount point&lt;BR /&gt;7. Bring up the app&lt;BR /&gt;&lt;BR /&gt;That should just about cover it ?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance</description>
    <pubDate>Tue, 02 Nov 2004 21:37:02 GMT</pubDate>
    <dc:creator>Ian James_1</dc:creator>
    <dc:date>2004-11-02T21:37:02Z</dc:date>
    <item>
      <title>data move</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/data-move/m-p/3413555#M202884</link>
      <description>hello everyone&lt;BR /&gt;&lt;BR /&gt;I have a subdirectory /data/esm that resides in the root file system. I need to get the data in it's own filesystem. I figured the best way to do this would be to shut the app down, &lt;BR /&gt;&lt;BR /&gt;1. create a new lvol and filesystem, &lt;BR /&gt;2. create a temporary mount point, &lt;BR /&gt;3. mount it on the new filesystem, &lt;BR /&gt;4. mv the /data/esm directory and all it's files into the temp mount point&lt;BR /&gt;5. unmount the temp mount point&lt;BR /&gt;6. mount the filesystem on the /data/esm mount point&lt;BR /&gt;7. Bring up the app&lt;BR /&gt;&lt;BR /&gt;That should just about cover it ?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance</description>
      <pubDate>Tue, 02 Nov 2004 21:37:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/data-move/m-p/3413555#M202884</guid>
      <dc:creator>Ian James_1</dc:creator>
      <dc:date>2004-11-02T21:37:02Z</dc:date>
    </item>
    <item>
      <title>Re: data move</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/data-move/m-p/3413556#M202885</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Yes. Except do not mount it manually. Add the entry in /etc/fstab and use the command 'mount /data/esm'. That will ensure integrity of your fstab entries. Also do not 'mv' the data. "cp" the data. That way your backout is ensured.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Tue, 02 Nov 2004 21:45:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/data-move/m-p/3413556#M202885</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-11-02T21:45:32Z</dc:date>
    </item>
    <item>
      <title>Re: data move</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/data-move/m-p/3413557#M202886</link>
      <description>Hi, &lt;BR /&gt;&lt;BR /&gt;Thanks for the reply. I will tar the data for a backup. If I don't mv it out of the root filesystem it won't free up any space ?&lt;BR /&gt;&lt;BR /&gt;Ian</description>
      <pubDate>Tue, 02 Nov 2004 21:48:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/data-move/m-p/3413557#M202886</guid>
      <dc:creator>Ian James_1</dc:creator>
      <dc:date>2004-11-02T21:48:14Z</dc:date>
    </item>
    <item>
      <title>Re: data move</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/data-move/m-p/3413558#M202887</link>
      <description>If you don't have files over 2GB (which I don't assume), you can directory use tar to copy the files.&lt;BR /&gt;&lt;BR /&gt;cd /data/esm; tar cf - .|( cd /newfilesystem; tar xvf - )&lt;BR /&gt;&lt;BR /&gt;I meant do not move the data first. Copy it. Start the application. Make sure everything works fine and then remove the old directory after taking a good backup.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Tue, 02 Nov 2004 22:07:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/data-move/m-p/3413558#M202887</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-11-02T22:07:28Z</dc:date>
    </item>
  </channel>
</rss>

