linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] Creating a new partition /dev/hda5
@ 2006-04-13  4:25 faryalb
  2006-04-18 11:37 ` Dieter Stüken
  0 siblings, 1 reply; 2+ messages in thread
From: faryalb @ 2006-04-13  4:25 UTC (permalink / raw)
  To: linux-lvm



I have Fedora Core4 installed on my machine and trying to make mythtv work for
me. I understand I need to create a new partition /dev/hda5 and mount /video
file system. I've done some reading on LVM and come up with following commands
to install the new partition on my machine. I need to have them verified by
experts as I don't want to risk losing any data on my hard. 

#pvcreate /dev/hda5
#vgcreate VolGroup00 /dev/hda5
#lvcreate -L50G -name video VolGroup00
#mount /dev/hda5/video
#mount -0 remount,resize /video


Below is the information on my machine: 

[root@localhost mytv]# /sbin/lvm.static vgscan
  Reading all physical volumes.  This may take a while...
  Found volume group "VolGroup00" using metadata type lvm2
[root@localhost mytv]# /sbin/lvm.static vgdisplay
  --- Volume group ---
  VG Name               VolGroup00
  System ID
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  3
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                2
  Open LV               2
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               111.69 GB
  PE Size               32.00 MB
  Total PE              3574
  Alloc PE / Size       3573 / 111.66 GB
  Free  PE / Size       1 / 32.00 MB
  VG UUID               xdWgpi-74QQ-jgfK-EAzc-ojid-Geuo-HsyGA4

[root@localhost mytv]# /sbin/fdisk -l

Disk /dev/hda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1          13      104391   83  Linux
/dev/hda2              14       14593   117113850   8e  Linux LVM



Please let me know if the above commands are correct or not.


Thanks,

Bita

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-04-18 11:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-13  4:25 [linux-lvm] Creating a new partition /dev/hda5 faryalb
2006-04-18 11:37 ` Dieter Stüken

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).