[mythtv-users] LVM problem

griz_quattro griz_quattro at tx.rr.com
Sun Dec 24 18:35:42 UTC 2006



Warren Sturm wrote:

> On Sun, 2006-12-24 at 12:10 -0600, griz_quattro wrote:
> 
>>Warren Sturm wrote:
>>
>>
>>>On Sun, 2006-12-24 at 11:47 -0600, griz_quattro wrote:
>>>
>>>
>>>>I am a newb to Linux. Been following FC6 guide at
>>>>http://wilsonet.com/mythtv/fcmyth.php but cannot
>>>>get my volume group "seen".
>>>>
>>>>Searching and using http://mythtv.org/docs/mythtv-HOWTO.html#toc24.1
>>>>and http://tldp.org/HOWTO/LVM-HOWTO/ for answers to where I missed a
>>>>step but I am at a loss. Google seemed to point to recovering from a 
>>>>failed LVM drive
>>>>
>>>>I setup LVM at install when loading FC6 (Fedora) on two 300gb hdd,
>>>>using both for Volume Group called "Video_Vol". First HDD is sda
>>>>has the system partitions on sda1 thru sda5, second HDD is sdb
>>>>with partition sdb1, and third HDD is sdc with partition sdc1. The
>>>>second and third HDD are the Volume Group called "Video_Vol".
>>>>
>>>>I am not certain of what nor how to get the VG "seen". Any pointers
>>>>would be appreciated. If I am posting to the wrong list, please,
>>>>let me know and I will move on.
>>>>*****************************************************************
>>>
>>>	At what point did you create the logical volume(s)?  This is
>>>	showing that none were created and all the space in the volume
>>>	group is showing as free (unused).
>>>
>>>	You need to do the lvcreate.  for example:
>>>
>>>		lvcreate -n video -L 558.88G Video_Vol
>>>
>>>	this will create 1 logical volume that should pretty well take
>>>	up all the volume group space.
>>>
>>>	Then you can put on the filesystem
>>>
>>>	mke2fs -m0 -L/video -j /dev/Video_Vol/video
>>>
>>
>>Tried it, but don't understand it.
>>
>>[root at mythtv /]# lvcreate -n video -L 558.88G Video_Vol
>>   Rounding up size to full physical extent 558.91 GB
>>   Insufficient free extents (17884) in volume group Video_Vol: 17885 
>>required
>>
> 
> 
> ok.  maybe try this
> 
> 	lvcreate -n video -l 17884 Video_Vol
> 
> then create whichever filesystem type you are comfortable with.  Doesn't
> necessarily have to be ext3.
> 

OK, that made it work. i'll post the results after the
"Writing inode tables:" completes.

I see now what I did. I assumed that since the installer created
the physical volumes (pv) and the volume groups (vg) that is also 
created the logical volumes (lv). I assumed wrong.




More information about the mythtv-users mailing list