[mythtv-users] I Added two 320 GB hard drives to my system, but I cant use them. LVM Problem.

jDeGraw coffee412 at comcast.net
Fri Jun 9 03:59:54 UTC 2006


Hello;

Just caught your post and thought I could help.

What your talking about doing is alot easier than you would think it is.
Its not that hard even for a novice. That is why we have LVM. 

What your going to do is GROW the LVM.

The basic steps are:

1. Install the drives and partition them.
2. Then your going to add them one at a time to the volume group.

Here is the LVM Howto. It has examples you can use. Might just head
right to them unless you want an indepth study of LVM.


http://www.tldp.org/HOWTO/LVM-HOWTO/


jdegraw




On Thu, 2006-06-08 at 21:31 -0500, Mat Kyne wrote:
> My wife told me that we needed to put our entire DVD library on Myth TV. So 
> I got two 320 GB drives, and a PCI-IDE adapter and installed the new drives. 
> Before this I had  two 200 GB drives set up for dual boot, with 7 partitions 
> on hda, with about 120 GB for use in LVM with hdb, giving me a logical 
> volume of about 320 GB. What I would like to do is extend the Logical Volume 
> to include two  320 GB drives. (one TerraByte - - Wa hoo!).  Here is the 
> problem. Everything that I have learned about Linux is because of Myth TV. 
> (so I'm not a total Noob, more like a Nubian . . .) When I installed FC4 I 
> used the Disk Druid to partition my hdd's. I have no idea how to get this to 
> work, I need a recipe, AKA step by step instructions. I have searched the 
> lists, and used Google, and I am coming here almost as a last resort. If 
> someone could either explaine it to me or point me in the righ direction  
> that would be great!
> 
> Here is all the information that I think you might need.
> 
> [root at localhost ~]# fdisk -l
> 
> Disk /dev/hda: 200.0 GB, 200049647616 bytes
> 255 heads, 63 sectors/track, 24321 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> 
>    Device Boot      Start         End      Blocks   Id  System
> /dev/hda1   *           1         637     5116671    7  HPFS/NTFS
> /dev/hda2             638         650      104422+  83  Linux
> /dev/hda3             651        5112    35841015    b  W95 FAT32
> /dev/hda4            5113       24321   154296292+   5  Extended
> /dev/hda5            5113        6387    10241406   83  Linux
> /dev/hda6            6388        6452      522081   82  Linux swap / Solaris
> /dev/hda7            6453       24321   143532711   8e  Linux LVM
> 
> Disk /dev/hdb: 200.0 GB, 200049647616 bytes
> 255 heads, 63 sectors/track, 24321 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> 
>    Device Boot      Start         End      Blocks   Id  System
> /dev/hdb1   *           1       24321   195358401   8e  Linux LVM
> 
> Disk /dev/hde: 320.0 GB, 320072933376 bytes
> 255 heads, 63 sectors/track, 38913 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> 
>    Device Boot      Start         End      Blocks   Id  System
> /dev/hde1               1       38913   312568641   8e  Linux LVM
> 
> Disk /dev/hdg: 320.0 GB, 320072933376 bytes
> 255 heads, 63 sectors/track, 38913 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> 
>    Device Boot      Start         End      Blocks   Id  System
> /dev/hdg1               1       38913   312568641   8e  Linux LVM
> 
> [root at localhost ~]# df -h
> Filesystem            Size  Used Avail Use% Mounted on
> /dev/hda5             9.5G  4.4G  4.7G  49% /
> /dev/hda2              99M   13M   81M  14% /boot
> /dev/shm              252M     0  252M   0% /dev/shm
> /dev/hda3              35G  2.8G   32G   9% /share
> /dev/mapper/VolGroup00-LogVol00
>                       324G  231G   93G  72% /video
> 
> [root at localhost ~]# lvm lvdisplay
>   --- Logical volume ---
>   LV Name                /dev/VolGroup00/LogVol00
>   VG Name                VolGroup00
>   LV UUID                s2l2DR-TjYC-BVBP-cj9n-6Tq5-9GlP-tMrp16
>   LV Write Access        read/write
>   LV Status              available
>   # open                 1
>   LV Size                323.09 GB
>   Current LE             10339
>   Segments               2
>   Allocation             inherit
>   Read ahead sectors     0
>   Block device           253:0
> [root at localhost ~]# lvscan
>   ACTIVE            '/dev/VolGroup00/LogVol00' [323.09 GB] inherit
> 
> 
> If you need more info, I will try to comply, -Mat
> 
> 
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users



More information about the mythtv-users mailing list