From: faryalb@telus.net
To: linux-lvm@redhat.com
Subject: [linux-lvm] Creating a new partition /dev/hda5
Date: Wed, 12 Apr 2006 21:25:47 -0700 [thread overview]
Message-ID: <1144902347.443dd2cb12d49@webmail.telus.net> (raw)
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
next reply other threads:[~2006-04-13 1:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-13 4:25 faryalb [this message]
2006-04-18 11:37 ` [linux-lvm] Creating a new partition /dev/hda5 Dieter Stüken
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1144902347.443dd2cb12d49@webmail.telus.net \
--to=faryalb@telus.net \
--cc=linux-lvm@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).