Creating a new partition /dev/hda5

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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


_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux