linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Don Buchholz <buchholz@easystreet.net>
To: linux-lvm@redhat.com
Subject: [linux-lvm] add mirror to already existing LV?
Date: Mon, 25 Feb 2008 13:46:42 -0800	[thread overview]
Message-ID: <47C33742.3000409@easystreet.net> (raw)


  I have Fedora 8 system with operating system installed on a small
(18GB) hard disk.  A second disk (320GB) is being added to hold
user data.  Now that there is a second disk, I would like to alter
the existing LVs so they have mirrors.  Is this possible?
  I couldn't find anything that looked promising on the lvchange(8)
man page.

- Don


=========================================================
Some of the gory details:
-------------------------
# lvmdiskscan
  /dev/sda1 [      196.08 MB]
  /dev/sda2 [       16.75 GB] LVM physical volume
  /dev/sdb1 [      196.08 MB]
  /dev/sdb2 [      297.90 GB] LVM physical volume
  0 disks
  2 partitions
  0 LVM physical volume whole disks
  2 LVM physical volumes

# pvscan
  PV /dev/sda2   VG vg00   lvm2 [16.75 GB / 32.00 MB free]
  PV /dev/sdb2   VG vg00   lvm2 [297.88 GB / 297.88 GB free]
  Total: 2 [314.62 GB] / in use: 2 [314.62 GB] / in no VG: 0 [0   ]

# vgs
  VG   #PV #LV #SN Attr   VSize   VFree 
  vg00   2   5   0 wz--n- 314.62G 297.91G

# lvscan
  ACTIVE            '/dev/vg00/lv00_root' [8.00 GB] inherit
  ACTIVE            '/dev/vg00/lv04_home' [4.22 GB] inherit
  ACTIVE            '/dev/vg00/lv02_var' [1.50 GB] inherit
  ACTIVE            '/dev/vg00/lv03_varlog' [2.00 GB] inherit
  ACTIVE            '/dev/vg00/lv01_swap' [1.00 GB] inherit




-- 
- Don Buchholz, Sr. Systems Admin.             <buchholz@imoveinc.com>
- iMove, Inc., 1732 NW Quimby St., Suite #200, Portland, Oregon  97209
- 503.273.2926 (phone)                              503.221.2172 (fax)

             reply	other threads:[~2008-02-25 21:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-25 21:46 Don Buchholz [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-02-26  7:50 [linux-lvm] add mirror to already existing LV? laurent.nicol

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=47C33742.3000409@easystreet.net \
    --to=buchholz@easystreet.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).