<?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 Migrate Old FileSystem to new FIleSystem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/migrate-old-filesystem-to-new-filesystem/m-p/3761231#M259451</link>
    <description>Currently, this is my FS look like.&lt;BR /&gt;&lt;BR /&gt;# bdf&lt;BR /&gt;Filesystem kbytes used avail %used Mounted on&lt;BR /&gt;/dev/vg00/lvol3 204800 140128 64560 68% /&lt;BR /&gt;/dev/vg00/lvol1 298928 214936 54096 80% /stand&lt;BR /&gt;/dev/vg00/lvol8 4710400 4426560 28215294% /var&lt;BR /&gt;/dev/vg00/lvol7 2244608 1305632 93166458% /usr&lt;BR /&gt;/dev/vg00/lvol4 204800 8912 194576  4% /tmp&lt;BR /&gt;/dev/vg00/lvol6 2727936 2418512 30704889% /opt&lt;BR /&gt;/dev/vg00/lvol5 24576 2336 22072 10% /home&lt;BR /&gt;/dev/vg01/lvol1 18432000 14461856 3924392 79% /db&lt;BR /&gt;/dev/vg01/lvol2 16384000 11346282 4894200   70% /app&lt;BR /&gt;/dev/vg02/lvol1 46080000 3680 45716360    0% /db1&lt;BR /&gt;/dev/vg02/lvol2 24576000 19035464 5454008   78% /app1&lt;BR /&gt;&lt;BR /&gt;I want to copy out all content in /db FS to the new /db1 FS. How can i do this? tar? cpio?&lt;BR /&gt;in /db contains the oracle db server daemon, so after copyying all the files, how can i mount back /db1 as /db?&lt;BR /&gt;&lt;BR /&gt;I'm seeking guru's help as i'm new in HP-ux.</description>
    <pubDate>Wed, 29 Mar 2006 05:47:58 GMT</pubDate>
    <dc:creator>Mohd Azril Dollah</dc:creator>
    <dc:date>2006-03-29T05:47:58Z</dc:date>
    <item>
      <title>Migrate Old FileSystem to new FIleSystem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/migrate-old-filesystem-to-new-filesystem/m-p/3761231#M259451</link>
      <description>Currently, this is my FS look like.&lt;BR /&gt;&lt;BR /&gt;# bdf&lt;BR /&gt;Filesystem kbytes used avail %used Mounted on&lt;BR /&gt;/dev/vg00/lvol3 204800 140128 64560 68% /&lt;BR /&gt;/dev/vg00/lvol1 298928 214936 54096 80% /stand&lt;BR /&gt;/dev/vg00/lvol8 4710400 4426560 28215294% /var&lt;BR /&gt;/dev/vg00/lvol7 2244608 1305632 93166458% /usr&lt;BR /&gt;/dev/vg00/lvol4 204800 8912 194576  4% /tmp&lt;BR /&gt;/dev/vg00/lvol6 2727936 2418512 30704889% /opt&lt;BR /&gt;/dev/vg00/lvol5 24576 2336 22072 10% /home&lt;BR /&gt;/dev/vg01/lvol1 18432000 14461856 3924392 79% /db&lt;BR /&gt;/dev/vg01/lvol2 16384000 11346282 4894200   70% /app&lt;BR /&gt;/dev/vg02/lvol1 46080000 3680 45716360    0% /db1&lt;BR /&gt;/dev/vg02/lvol2 24576000 19035464 5454008   78% /app1&lt;BR /&gt;&lt;BR /&gt;I want to copy out all content in /db FS to the new /db1 FS. How can i do this? tar? cpio?&lt;BR /&gt;in /db contains the oracle db server daemon, so after copyying all the files, how can i mount back /db1 as /db?&lt;BR /&gt;&lt;BR /&gt;I'm seeking guru's help as i'm new in HP-ux.</description>
      <pubDate>Wed, 29 Mar 2006 05:47:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/migrate-old-filesystem-to-new-filesystem/m-p/3761231#M259451</guid>
      <dc:creator>Mohd Azril Dollah</dc:creator>
      <dc:date>2006-03-29T05:47:58Z</dc:date>
    </item>
    <item>
      <title>Re: Migrate Old FileSystem to new FIleSystem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/migrate-old-filesystem-to-new-filesystem/m-p/3761232#M259452</link>
      <description>Mohd,&lt;BR /&gt;please have aread of thread:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=786133" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=786133&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;In summary:&lt;BR /&gt;Copy old filesystem to the new filesystem (via tar, cpio or cp -pr)&lt;BR /&gt;Then edit the fstab file to rename the mount point.</description>
      <pubDate>Wed, 29 Mar 2006 05:59:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/migrate-old-filesystem-to-new-filesystem/m-p/3761232#M259452</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2006-03-29T05:59:53Z</dc:date>
    </item>
    <item>
      <title>Re: Migrate Old FileSystem to new FIleSystem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/migrate-old-filesystem-to-new-filesystem/m-p/3761233#M259453</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;# cd /db&lt;BR /&gt;# find . -xdev | cpio -pcmudv /db1&lt;BR /&gt;&lt;BR /&gt;# umount /db&lt;BR /&gt;# umount /db1&lt;BR /&gt;change the /etc/fstab&lt;BR /&gt;/dev/vg02/lvol1 ... /db&lt;BR /&gt;and remove the line&lt;BR /&gt;/dev/vg01/lvol1 ... /db&lt;BR /&gt;# mount /db&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Roert-Jan</description>
      <pubDate>Wed, 29 Mar 2006 06:00:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/migrate-old-filesystem-to-new-filesystem/m-p/3761233#M259453</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2006-03-29T06:00:03Z</dc:date>
    </item>
    <item>
      <title>Re: Migrate Old FileSystem to new FIleSystem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/migrate-old-filesystem-to-new-filesystem/m-p/3761234#M259454</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;If you can stop the applications during operations, this could be done by:&lt;BR /&gt;- backup to tape (e.g. dump, fbackup)&lt;BR /&gt;- restore to new device (e.g. restore, frecover)&lt;BR /&gt;- umount /db&lt;BR /&gt;- mount /dev/vg02/lvol1 /db&lt;BR /&gt;&lt;BR /&gt;Another way, (possibly on-line if using On-line JFS), would be to extend /dev/vg01, /dev/vg01/lvol1, /db instead of moving to a new vg. &lt;BR /&gt;consider lvextend, fsadm commands for that. &lt;BR /&gt;&lt;BR /&gt;antonio.&lt;BR /&gt;</description>
      <pubDate>Wed, 29 Mar 2006 06:00:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/migrate-old-filesystem-to-new-filesystem/m-p/3761234#M259454</guid>
      <dc:creator>Antonio Cardoso_1</dc:creator>
      <dc:date>2006-03-29T06:00:58Z</dc:date>
    </item>
    <item>
      <title>Re: Migrate Old FileSystem to new FIleSystem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/migrate-old-filesystem-to-new-filesystem/m-p/3761235#M259455</link>
      <description>Hi Robert,&lt;BR /&gt;I'm thinking of using ur method. In this case, can i use these cmd?&lt;BR /&gt;# cd /db&lt;BR /&gt;#  find . â  depth |cpio â  pvd /db1&lt;BR /&gt;then, in fstab can i swap the mountpoint for /db to /db1 and /db1 to /db? like this:&lt;BR /&gt;/dev/vg01/lvol1 18432000 14461856 3924392 79% /db1&lt;BR /&gt;/dev/vg01/lvol2 16384000 11346282 4894200 70% /app&lt;BR /&gt;/dev/vg02/lvol1 46080000 3680 45716360 0% /db&lt;BR /&gt;</description>
      <pubDate>Wed, 29 Mar 2006 06:11:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/migrate-old-filesystem-to-new-filesystem/m-p/3761235#M259455</guid>
      <dc:creator>Mohd Azril Dollah</dc:creator>
      <dc:date>2006-03-29T06:11:08Z</dc:date>
    </item>
    <item>
      <title>Re: Migrate Old FileSystem to new FIleSystem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/migrate-old-filesystem-to-new-filesystem/m-p/3761236#M259456</link>
      <description>Hi Mohd,&lt;BR /&gt;&lt;BR /&gt;find . Ã¢Â Â depth |cpio Ã¢Â Â pvd /db1&lt;BR /&gt;It is a bit difficult to read your command options, use the -u and the -m too otherwise your file dates will be changed. &lt;BR /&gt;&lt;BR /&gt;I normaly use&lt;BR /&gt;find . | cpio -pcmudv&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;can i swap the mountpoint for /db to /db1 and /db1 to /db?&lt;BR /&gt;Yes you are correct.&lt;BR /&gt;&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Wed, 29 Mar 2006 06:24:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/migrate-old-filesystem-to-new-filesystem/m-p/3761236#M259456</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2006-03-29T06:24:51Z</dc:date>
    </item>
    <item>
      <title>Re: Migrate Old FileSystem to new FIleSystem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/migrate-old-filesystem-to-new-filesystem/m-p/3761237#M259457</link>
      <description>ok, sorry for the unreadable cmd.&lt;BR /&gt;&lt;BR /&gt;it should look like this&lt;BR /&gt;#find .-depth |cpio -pvd /db1&lt;BR /&gt;&lt;BR /&gt;so for safety, i should execute this cmd&lt;BR /&gt;#find .-depth |cpio -pvdmu /db1&lt;BR /&gt;&lt;BR /&gt;and 1 more thing, if i want to change the /db1 mount point to other name, can i just simply change it in fstab? for example&lt;BR /&gt;change the name /db1 mountpoint to /newfs mountpoint?</description>
      <pubDate>Wed, 29 Mar 2006 06:39:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/migrate-old-filesystem-to-new-filesystem/m-p/3761237#M259457</guid>
      <dc:creator>Mohd Azril Dollah</dc:creator>
      <dc:date>2006-03-29T06:39:41Z</dc:date>
    </item>
    <item>
      <title>Re: Migrate Old FileSystem to new FIleSystem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/migrate-old-filesystem-to-new-filesystem/m-p/3761238#M259458</link>
      <description>Your /etc/fstab should look similar to below output.&lt;BR /&gt;&lt;BR /&gt;before change:&lt;BR /&gt;/dev/vg01/lvol1 /db vxfs largefiles,rw,suid 0 2&lt;BR /&gt;/dev/vg02/lvol1 /db1 vxfs log,nodatainlog,largefiles,rw,suid 0 2&lt;BR /&gt;&lt;BR /&gt;after change:&lt;BR /&gt;/dev/vg01/lvol1 /db1 vxfs largefiles,rw,suid 0 2&lt;BR /&gt;/dev/vg02/lvol1 /db vxfs log,nodatainlog,largefiles,rw,suid 0 2&lt;BR /&gt;&lt;BR /&gt;Just don't forget to unmount the filesystems :-)&lt;BR /&gt;&lt;BR /&gt;so umount -&amp;gt; change fstab -&amp;gt; mount&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Wed, 29 Mar 2006 06:49:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/migrate-old-filesystem-to-new-filesystem/m-p/3761238#M259458</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2006-03-29T06:49:19Z</dc:date>
    </item>
    <item>
      <title>Re: Migrate Old FileSystem to new FIleSystem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/migrate-old-filesystem-to-new-filesystem/m-p/3761239#M259459</link>
      <description>dear dollah,&lt;BR /&gt;first shutdown the oracle databae&lt;BR /&gt;then take the backup of /db from root&lt;BR /&gt;#tar -cvf &lt;TAPE device="" file=""&gt; ./db&lt;BR /&gt;then &lt;BR /&gt;#umount /db&lt;BR /&gt;#umount /db1&lt;BR /&gt;#vi /etc/fstab&lt;BR /&gt;&lt;BR /&gt;change the mount point of /dev/vg02/lvol1 from db1 to db&lt;BR /&gt;&lt;BR /&gt;and comment (put one# in front of /dev/vg01/lvl1 entry)&lt;BR /&gt;and save the modified /etc/fstab&lt;BR /&gt;&lt;BR /&gt;#mount -a&lt;BR /&gt;&lt;BR /&gt;and &lt;BR /&gt;restore thae backup from tha tape using tar-xvf &lt;DEVICE file=""&gt;&lt;BR /&gt;&lt;BR /&gt;up the oracle database &lt;BR /&gt;&lt;BR /&gt;please enable all the largefiles support options in /etc/fstab&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;Baiju Kumar.B&lt;BR /&gt;&lt;BR /&gt;&lt;/DEVICE&gt;&lt;/TAPE&gt;</description>
      <pubDate>Wed, 29 Mar 2006 08:41:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/migrate-old-filesystem-to-new-filesystem/m-p/3761239#M259459</guid>
      <dc:creator>Baiju Kumar.B_1</dc:creator>
      <dc:date>2006-03-29T08:41:02Z</dc:date>
    </item>
    <item>
      <title>Re: Migrate Old FileSystem to new FIleSystem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/migrate-old-filesystem-to-new-filesystem/m-p/3761240#M259460</link>
      <description>Hi, consider that i dont have any tape backup, is it safe for me to do the cpio cmd?</description>
      <pubDate>Wed, 29 Mar 2006 19:03:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/migrate-old-filesystem-to-new-filesystem/m-p/3761240#M259460</guid>
      <dc:creator>Mohd Azril Dollah</dc:creator>
      <dc:date>2006-03-29T19:03:35Z</dc:date>
    </item>
    <item>
      <title>Re: Migrate Old FileSystem to new FIleSystem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/migrate-old-filesystem-to-new-filesystem/m-p/3761241#M259461</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;I'd much rather do a disk-to-disk copy than disk-to-tape-to-disk copy.  It's faster and less likely to have errors.&lt;BR /&gt;&lt;BR /&gt;I've used the 'cpio' method many times to migrate data from one set of disks to another as Robert-Jan shows.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 29 Mar 2006 19:11:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/migrate-old-filesystem-to-new-filesystem/m-p/3761241#M259461</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2006-03-29T19:11:15Z</dc:date>
    </item>
    <item>
      <title>Re: Migrate Old FileSystem to new FIleSystem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/migrate-old-filesystem-to-new-filesystem/m-p/3761242#M259462</link>
      <description>One comment/possible gotchya in Robert-Jan's post:&lt;BR /&gt;&lt;BR /&gt;From his post:&lt;BR /&gt;&lt;BR /&gt;# cd /db&lt;BR /&gt;# find . -xdev | cpio -pcmudv /db1&lt;BR /&gt;&lt;BR /&gt;# umount /db&lt;BR /&gt;&lt;SNIP&gt;&lt;BR /&gt;&lt;BR /&gt;You will need to do a cd &lt;RETURN&gt; in between the find command and the umount commands, since you will not be able to umount the filesystem you are currently working out of.&lt;BR /&gt;&lt;BR /&gt;Also, if there are any open files on either filesystem the umount commabnds will not work, so you might have to use the fuser command if the umount commands fail to determine what processes are still using the filesystem.&lt;/RETURN&gt;&lt;/SNIP&gt;</description>
      <pubDate>Thu, 30 Mar 2006 06:27:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/migrate-old-filesystem-to-new-filesystem/m-p/3761242#M259462</guid>
      <dc:creator>Tom Henning</dc:creator>
      <dc:date>2006-03-30T06:27:06Z</dc:date>
    </item>
  </channel>
</rss>

