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

drescher0110-mythtv at yahoo.com drescher0110-mythtv at yahoo.com
Fri Jun 9 02:46:57 UTC 2006



--- Mat Kyne <matkyne at hotmail.com> 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
> 
> 
Can you post the output of pvs?

Here is what it looks like on my myth backend:

store # pvs
  /dev/cdrom: open failed: No medium found
  Attempt to close device '/dev/cdrom' which is not open.
  PV         VG   Fmt  Attr PSize   PFree
  /dev/sda5  vg   lvm2 a-    21.80G    0
  /dev/sda7  vg   lvm2 a-   232.84G    0
  /dev/sda8  vg   lvm2 a-    82.50G    0
jmd0 store #                                   
John


More information about the mythtv-users mailing list