What is the best way to backup a file system like that with DVDs?<br>Later will ask the list.<br>thanks<br>-Seb<br><br><div><span class="gmail_quote">On 6/3/07, <b class="gmail_sendername">Tony Nelson</b> <<a href="mailto:tonynelson@georgeanelson.com">
tonynelson@georgeanelson.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">At 5:37 PM -0400 6/3/07, Robert L Cochran wrote:
<br>>I have one physical hard drive, a Western Digital 400 Gb which is<br>>currently 100% used by Fedora Core 5. It is an LVM volume that looks<br>>like this:<br>><br>>[rlc@bobcp4 ~]$ df -h<br>>Filesystem            Size  Used Avail Use% Mounted on
<br>>/dev/mapper/VolGroup00-LogVol00<br>>                      359G   58G  283G  17% /<br>>/dev/sda1              99M   16M   79M  17% /boot<br>>/dev/shm             1004M     0 1004M   0% /dev/shm<br>><br>
><br>>I want to resize and repartition this nondestructively so there are 5<br>>partitions. 3 of these will be the /boot, /, and swap partitions and<br>>together will total about 119 Gb. The other 2 partitions will each have
<br>>approximately 119 Gb each. My goal is to put 3 different operating<br>>systems on the hard drive.<br><br>/boot must be a Basic partition, not LVM.<br><br><br>>Here is what I believe I need to do.<br>><br>
>1. Boot the Fedora 7 DVD in rescue mode.<br>>2. Do not mount the file system, instead just go to a shell prompt and<br>>3. lvm vgscan<br>><br>>Gets the name of the volume group<br>><br>>4. lvm vgchange -a y /dev/VolGroup00
<br>><br>>Activates the volume<br>><br>>5. e2fsck -f /dev/VolGroup00/LogVol00<br>><br>>Checks file system for errors<br>><br>>6. resize2fs /dev/VolGroup00/LogVol00 119G<br>><br>>shrinks the file system down to 119 Gb
<br>><br>>7. fdisk<br>><br>>shrinks size of partition<br>><br>>8. lvresize -L -238G /dev/VolGroup00/LogVol00<br>><br>>Then reboot without the rescue CD and I should still be able to boot<br>>Fedora Core 5 but the disk will have 238G of unpartitioned free space.
<br>>Does this sequence seem correct?<br><br>I think so.  You should do a backup first.  It will only take about 20 or<br>so DVDs.<br><br><br>>Thanks for any help you can offer!<br>--<br>____________________________________________________________________
<br>TonyN.:'                       <mailto:<a href="mailto:tonynelson@georgeanelson.com">tonynelson@georgeanelson.com</a>><br>      '                              <<a href="http://www.georgeanelson.com/">
http://www.georgeanelson.com/</a>><br><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">
https://www.redhat.com/mailman/listinfo/fedora-list</a><br></blockquote></div><br>