linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Thomas <thomas@meiwing.com>
To: linux-lvm@redhat.com
Subject: [linux-lvm] How to format a new hard disk using in LVM2 ?
Date: Sat, 10 Jun 2006 23:44:39 +0800	[thread overview]
Message-ID: <e6epd8$qi7$1@sea.gmane.org> (raw)

Given:
hdc is a 80G hard disk.
Only use 20G and mount as backup
===============================
Steps:
# Phyical Volume creation of hdc
pvcreate /dev/hdc

# Volume group creation as name VolGroup01
vgcreate VolGroup01 /dev/hdc

# Logical Volume Group creation as name LogVol00
lvcreate -n LogVol00 --size 20G VolGroup01

# Format as EXT3
mke2fs -j /dev/VolGroup01/LogVol00

# Mount as backup
mkdir /backup
mount /dev/VolGroup01/LogVol00 /backup

# Check result with
df -h
pvdisplay
vgdisplay
lvdisplay

Just my two cents.

                 reply	other threads:[~2006-06-10 15:45 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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='e6epd8$qi7$1@sea.gmane.org' \
    --to=thomas@meiwing.com \
    --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).