<div>Thanks! I haven't thought of mount bind. I just rechecked man mount and I think it will work just fine! </div>
<div> </div>
<div>Thanks!</div>
<div> </div>
<div>JP<br><br></div>
<div class="gmail_quote">On Sun, Jul 5, 2009 at 5:01 PM, Roberto Ragusa <span dir="ltr"><<a href="mailto:mail@robertoragusa.it">mail@robertoragusa.it</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div class="im">Javier Perez wrote:<br>> Hi<br>> I am changing  FC11 from a two-HDD setup to a larger one-HDD setup. The<br>> first setup is using LVM spanning both disks.<br>> What is the best way to move everything to one HDD?<br>
<br></div>If you want to move the logical volumes from the disk couple<br>to the large disk, you could add the large disk to your<br>current LVM and then use pvmove to force the relocation of all<br>your stuff to the large disk. After that, you can use vgreduce<br>
to remove the two disks from the volume group (from three disks<br>to one).<br>
<div class="im"><br>> Also, I want to have two partitions, one for the data and one for the<br>> programs. I know it is easy to put /home on its own partition,<br>> but what about MySQL? I am using MythTV and both MySQL and MythTV use<br>
> /var/lib to store their data.<br>> I'd rather not use hard links "ln- s bla bla bla". I am doing that with<br>> another pc and sometimes when I had trouble with LVM the<br>> data would be written on the wrong places.<br>
> Another option would be to move the data directories for  MythtV and/or<br>> MySQL, but I'd hate to break something that other programs<br>> are depending on.<br><br></div>One thing you can do is to use the bind option when mounting.<br>
You can have something in a place you like and then have it appear<br>somewhere else too (in a place that the rpms like).<br>For example, my system has this in /etc/fstab:<br> /dev/sda9               /mnt/data               reiserfs defaults        1 3<br>
 /mnt/data/wwwoffle      /var/cache/wwwoffle     auto    bind             0 0<br>
<div class="im"><br><br>><br>> I'd like to hear everyone's thoughts on this, I bet I'm not the only one<br>> doing something similar, but I guess this is kind of difficult<br>> to phrase for google.<br>
><br>> Thanks<br>><br>><br>><br>> --<br>> ------------------------------<br>> /\_/\<br></div>> |O O|  <a href="mailto:pepebuho@gmail.com">pepebuho@gmail.com</a> <mailto:<a href="mailto:pepebuho@gmail.com">pepebuho@gmail.com</a>><br>

<div class="im">> ~~~~ Javier Perez<br>> ~~~~   While the night runs<br>> ~~~~   toward the day...<br>>  m m   Pepebuho watches<br>>    from his high perch.<br>><br><br><br></div>--<br>  Roberto Ragusa    mail at <a href="http://robertoragusa.it/" target="_blank">robertoragusa.it</a><br>
<font color="#888888"><br>--<br>fedora-list mailing list<br><a href="mailto:fedora-list@redhat.com">fedora-list@redhat.com</a><br>To unsubscribe: <a href="https://www.redhat.com/mailman/listinfo/fedora-list" target="_blank">https://www.redhat.com/mailman/listinfo/fedora-list</a><br>
Guidelines: <a href="http://fedoraproject.org/wiki/Communicate/MailingListGuidelines" target="_blank">http://fedoraproject.org/wiki/Communicate/MailingListGuidelines</a><br></font></blockquote></div><br><br clear="all">
<div></div><br>-- <br>------------------------------<br>/\_/\   <br>|O O|  <a href="mailto:pepebuho@gmail.com">pepebuho@gmail.com</a><br>~~~~ Javier Perez<br>~~~~   While the night runs<br>~~~~   toward the day...<br> m m   Pepebuho watches <br>
   from his high perch. <br>