- Feb 15, 2003
- 693
- 0
- 0
I am working on a mythtv system with Fedora Core 3. I would like the ability to easily add harddrive space to the system and the how to I was using to install myth said to use LVM so I could add drives without making any other changes.
So i had managed to get one working I think, vgdisplay -v said the LV size was 82gigs, but df didnt show anything to that effect. But now I managed to muck it all up. So I need to know how to remove the previous VG from the system.
I want my system to have a Volume group called VGforMyth
and my first partition of the VG would be /dev/hda5, then I need to configure /dev/hdb somehow to be included in the volume group. And I want my mount point for the volume group to be /video.
Any help would be great
edit:
I got it fixed kinda. I know have /dev/hda4 as Linux LVM under fdisk and I managed to get rid of the old LVM VGforMyth, and I have added my /dev/hdb1 with vgextend /dev/hdb1 as per my instructions. I have also done lvextend -L80G /dev/VGforMyth/video. But I still cannot see that I actually have 80gigs of storage. I have tried df and this is the output:
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda3 11084668 2349300 8172292 23% /
/dev/hda1 101086 11509 84358 13% /boot
none 111720 0 111720 0% /dev/shm
then I tried df /dev/VGforMyth/video:
Filesystem 1K-blocks Used Available Use% Mounted on
- 111720 216 111504 1% /dev
And this is what I get from the MythTV Web interface
Disk Usage:
* Total Space: 10,274 MB
* Space Used: 2,294 MB
* Space Free: 7,980 MB
I'm at a loss as of what I need to do to get this working.
So i had managed to get one working I think, vgdisplay -v said the LV size was 82gigs, but df didnt show anything to that effect. But now I managed to muck it all up. So I need to know how to remove the previous VG from the system.
I want my system to have a Volume group called VGforMyth
and my first partition of the VG would be /dev/hda5, then I need to configure /dev/hdb somehow to be included in the volume group. And I want my mount point for the volume group to be /video.
Any help would be great
edit:
I got it fixed kinda. I know have /dev/hda4 as Linux LVM under fdisk and I managed to get rid of the old LVM VGforMyth, and I have added my /dev/hdb1 with vgextend /dev/hdb1 as per my instructions. I have also done lvextend -L80G /dev/VGforMyth/video. But I still cannot see that I actually have 80gigs of storage. I have tried df and this is the output:
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda3 11084668 2349300 8172292 23% /
/dev/hda1 101086 11509 84358 13% /boot
none 111720 0 111720 0% /dev/shm
then I tried df /dev/VGforMyth/video:
Filesystem 1K-blocks Used Available Use% Mounted on
- 111720 216 111504 1% /dev
And this is what I get from the MythTV Web interface
Disk Usage:
* Total Space: 10,274 MB
* Space Used: 2,294 MB
* Space Free: 7,980 MB
I'm at a loss as of what I need to do to get this working.