<?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: LVM Migrate! in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-migrate/m-p/2438128#M656520</link>
    <description>Dear All:&lt;BR /&gt;&lt;BR /&gt;   How about command pvmove? any idea? Thanks</description>
    <pubDate>Mon, 21 Aug 2000 16:29:55 GMT</pubDate>
    <dc:creator>Sunny Chen</dc:creator>
    <dc:date>2000-08-21T16:29:55Z</dc:date>
    <item>
      <title>LVM Migrate!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-migrate/m-p/2438123#M656515</link>
      <description>Hi, I am a new guy on hp-ux, any help will be very appreciate. I have VG00, and I created by 2 disk /dev/dsk/c0t5d0 and /dev/dsk/c0t6d0, I want to migrate /home and /opt LVM to disk /dev/dsk/c0t6d0, since /dev/dsk/c0t5d0 is full, the reason why I need to do that, just for testing. My idea is create a new LVM on /dev/dsk/c0t6d0, than "cp" /home to the new LVM /mountdir, then "rm" /home and "home" LVM, but I don't want to do like that, because if the "/home" include the DB, that may cause data corrupt, is there any good solution or command I can migrate LVM to another disk directly? thanks a lot.</description>
      <pubDate>Mon, 21 Aug 2000 14:41:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-migrate/m-p/2438123#M656515</guid>
      <dc:creator>Sunny Chen</dc:creator>
      <dc:date>2000-08-21T14:41:04Z</dc:date>
    </item>
    <item>
      <title>Re: LVM Migrate!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-migrate/m-p/2438124#M656516</link>
      <description>what size disk are you using?, my advice would be: keep all system related in vg00 and put the rest in vgXX... like that when it comes to migrating or upgrade or system recovery you know what disks are concerned...&lt;BR /&gt;now copying a filesystem somewhere else is best done with cpio:&lt;BR /&gt;find . -print | cpio -pduml ~/dir2&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Victor</description>
      <pubDate>Mon, 21 Aug 2000 14:56:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-migrate/m-p/2438124#M656516</guid>
      <dc:creator>Victor BERRIDGE</dc:creator>
      <dc:date>2000-08-21T14:56:20Z</dc:date>
    </item>
    <item>
      <title>Re: LVM Migrate!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-migrate/m-p/2438125#M656517</link>
      <description>Backup your system first.&lt;BR /&gt;Create temporary filesystems /home1 and /opt1&lt;BR /&gt;Copy over opt and home to opt1 and home1 respectively( find .(opt or home) |cpio -dumplv /opt1 or /home1&lt;BR /&gt;modify /etc/fstab(/opt to /opt1 vice versa), reboot.</description>
      <pubDate>Mon, 21 Aug 2000 15:08:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-migrate/m-p/2438125#M656517</guid>
      <dc:creator>CHRIS_ANORUO</dc:creator>
      <dc:date>2000-08-21T15:08:35Z</dc:date>
    </item>
    <item>
      <title>Re: LVM Migrate!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-migrate/m-p/2438126#M656518</link>
      <description>Sunny,&lt;BR /&gt;&lt;BR /&gt;You need to get your system in a state where both filesystems /home and /opt are not being used by anything. This may involve (especially for /opt) dropping into single user mode (shutdown 0) or booting into single user mode.&lt;BR /&gt;&lt;BR /&gt;Create your new logical volumes (lvcreate) and filesystems (mkfs) and mount them at temporary mountpoints.&lt;BR /&gt;&lt;BR /&gt;Ensure that /home and /opt are mounted (if in single user mode) then you can either move the contents to the new volumes (using mv) or copy the contents with something like cpio (cd &lt;INPUT mountpoint="" /&gt;; find . -xdev -depth -print | cpio -puxdm &lt;OUTPUT mountpoint=""&gt;).&lt;BR /&gt;&lt;BR /&gt;Then unmount your old /home and /opt, edit /etc/fstab to change the volume names and test mount them with mount -a.&lt;BR /&gt;&lt;BR /&gt;If all is well, the new volumes will be mounted.&lt;BR /&gt;&lt;BR /&gt;Reboot and your new volumes should be in use. You can then remove the old volumes with lvremove.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;John&lt;/OUTPUT&gt;</description>
      <pubDate>Mon, 21 Aug 2000 15:11:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-migrate/m-p/2438126#M656518</guid>
      <dc:creator>John Palmer</dc:creator>
      <dc:date>2000-08-21T15:11:16Z</dc:date>
    </item>
    <item>
      <title>Re: LVM Migrate!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-migrate/m-p/2438127#M656519</link>
      <description>Thank you Victor, Sorry to let you feel confusion. I just want to play and do some test. I have 2 disks on that HP, and I am using hp-ux 11.0, one disk is 1.2G, another one is 2G, I created vg00 for first and created vg01 for second, it works fine. Then, I try to play, I want to create a LVM across 2 disks, so I have to rm vg01, and combine this disk with vg00, right now, I got one VG with 2 disks, after this, I want to create a new LVM across 2 disks, but I found the 1.2G dsk is full, so I just think I can migrate the "home" and "opt" to the second dsk, and I can get space from dsk1, maybe it is a stupid way, but just want to do some test. Thank you very much!</description>
      <pubDate>Mon, 21 Aug 2000 15:13:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-migrate/m-p/2438127#M656519</guid>
      <dc:creator>Sunny Chen</dc:creator>
      <dc:date>2000-08-21T15:13:36Z</dc:date>
    </item>
    <item>
      <title>Re: LVM Migrate!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-migrate/m-p/2438128#M656520</link>
      <description>Dear All:&lt;BR /&gt;&lt;BR /&gt;   How about command pvmove? any idea? Thanks</description>
      <pubDate>Mon, 21 Aug 2000 16:29:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-migrate/m-p/2438128#M656520</guid>
      <dc:creator>Sunny Chen</dc:creator>
      <dc:date>2000-08-21T16:29:55Z</dc:date>
    </item>
    <item>
      <title>Re: LVM Migrate!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-migrate/m-p/2438129#M656521</link>
      <description>since youre in test mood go ahead with pvmove, I never had trouble with this command, works fine but last time I used it was more than a year ago...&lt;BR /&gt;</description>
      <pubDate>Mon, 21 Aug 2000 16:39:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-migrate/m-p/2438129#M656521</guid>
      <dc:creator>Victor BERRIDGE</dc:creator>
      <dc:date>2000-08-21T16:39:36Z</dc:date>
    </item>
    <item>
      <title>Re: LVM Migrate!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-migrate/m-p/2438130#M656522</link>
      <description>Thanks, and I did use "pvmove", it is perfect.</description>
      <pubDate>Mon, 21 Aug 2000 18:36:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-migrate/m-p/2438130#M656522</guid>
      <dc:creator>Sunny Chen</dc:creator>
      <dc:date>2000-08-21T18:36:31Z</dc:date>
    </item>
  </channel>
</rss>

