<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>&quot;Craig Huff&quot; &lt;<a href="mailto:huffcslists@gmail.com">
huffcslists@gmail.com</a>&gt; wrote:<br><br>I have my BE running on one PATA harddrive and just took<br>the plunge to get a second HD, this time a SATA2 HD so I<br>can separate the video recording storage from the OS and<br>
mySQL storage.<br><br>How do I go about moving the /video partition, which is currently<br>in an LVM on the old drive onto the new drive in a normal ext3<br>partition and convert the LVM partition into a normal ext3 partition
<br>for other file storage?<br><br>My plan for the initial steps is to power down the system, connect<br>the new drive, and reboot to a live-CD based distro, like knoppix.<br>Then I use something like qtparted to format the new HD and make
<br>a single partition out of the whole disk for use as the new /video.<br><br>How do I get from there to where I&#39;m ready to add the new partition<br>to /etc/fstab with /video as it&#39;s mountpoint and reboot into the
<br>normal operating environment?<br><br>It seems that dd would be inappropriate since I want to move files,<br>not a disk image, but should I use tar, dump, or something else?<br><br>Also, how do I go about dismantling the LVM settings so I can
<br>redefine the partition as an ext3 partition?<br><br>Craig.<br><br></blockquote><div><br>I would simply power down, install the new hard drive, power up and check dmesg to see where it is in /dev. <br><br>Then I&#39;d use fdisk to partition it and mkfs to format it ext3. (or use gparted to do both)
<br><br>Mount the drive to a point of your choice&nbsp; and be sure to put it all into your /etc/fstab as well. <br><br>Once that&#39;s finished, use &quot;rsync -avz &lt;source&gt; &lt;dest&gt;&quot; to move the contents. (Read the rsync man file, it&#39;s one of the better man files out there). 
<br><br>Confirm your data is where it&#39;s supposed to be and it&#39;s all there. (Running rsync a second time with the exact same command is a good way to verify, other comparison tools exist I am sure, or you can use a combination of cat, ls and diff if you are a masochist).
<br><br>Unmount the original /video partition and use fdisk to delete the partition and create a new one. Use mkfs to format it ext3. (or use gparted to do both) <br><br>Remount it at the point of your choice and put the proper entries into /etc/fstab.
<br><br>Now use &quot;ln -s &lt;new video location&gt; /video&quot; to make a soft link that myth can use to get back to it&#39;s data.<br><br><br>I have my Myth box set up in a similar way, except I have a 30GB system drive and an 800GB RAID/LVM. My /video points to the RAID/LVM.
<br></div></div>