[mythtv-users] Re:Requesting help regarding mythtv.org LVM documentation

Romel Llarena rdllarena at yahoo.com
Tue Dec 23 11:37:18 EST 2003


Well, I've made significant progress following the
Section 22.3 Logical Volume Manager (LVM). For those
newbie's like me, LVM allows you to span multiple
drives/partitions to make it appear as if it's one
device. Furthermore, you can adjust this "one"
device's size by issued commands to make it expand or
contract. In my case, I have two Western Digital
drives, hda and hdb.

A few observations followed by a series of questions
for anyone with LVM experience.

1. On a bare metal, I wouldn't suggest setting up LVM
at that point. Once again, assuming you are a newbie.
Sure it's GUI, but it creates a "disconnect" to the
22.3 documentation.
2. I belive the Primary partitions limit is 5. Of
those 5 Linux needs 3, root "/" which I set to 15G,
swap which I set to approx. my memory size + more in
the event of future RAM upgrades, and /boot which I
set to 100MB (default).
3. Here's the step that first snagged me. fdisk.
Assuming your box is up and running, run # fdisk
/dev/hda to view the partition tables on the first
drive.
4. Next p to print the partition table.
5. n for new partition, set to Primary if it's going
to be either 4 or 5. In my case, 4 as 1-3 are already
taken.
6. *TRICKY* part. That is to setup the partition type.
Never heard of this one. Select t for type (BTW m gets
you the list of commands), and enter 8e which has
fdisk set the partition to LVM.
7. w to write changes. At this point you might have to
reboot.
8. Assuming you have a second drive, # fdisk /dev/hdb
and follow steps 4-7. If you plan on using the entire
second drive, set it up as one partition, i.e. hdb1.

Reboot and continue with directions set in 22.3

A few additional snags. Can anyone point me in the
right direction?

1. ext2 or ext3 paragraph doesn't make sense to me.
Isn't this a similar step to the previous ReiserFS
section? Especially the reference to +50G?
2. Section 22.4 Advanced Partitioning Formatting. I
would like to go Ext3, but when I # umount
/dev/VGforMyth/vido, then # mkfs.ext3 -T largefile4 -m
0 /dev/VGforMyth/video I get the following:

mke2fs 1.34 (25-Jul-2003)
floating point exeception

3. I don't know if this is any relation, btw I did run
vgextend, but I can only see 97 MB of the 207 MB that
I was expecting. 97 MB being the exact size of what
was leftover from hda. I don't think the other 110
from hdb is coming up.

4. On reboot, the mounts are lost. I don't see any
reference in the documentation on how to make this
persistent.

Thanks everyone! I'm learning alot about LVM and it's
promising enough to stick to it.

__________________________________
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/


More information about the mythtv-users mailing list