From: Matthew Gillen <me@mattgillen.net>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] Newbie of LVM
Date: Fri, 09 Dec 2005 14:12:43 -0500 [thread overview]
Message-ID: <4399D72B.80408@mattgillen.net> (raw)
In-Reply-To: <20051209033914.33441.qmail@web32605.mail.mud.yahoo.com>
Way Loss wrote:
> Hi all,
>
> I am very new to LVM. Here is the detail of my
> current fs.
> Filesystem Size Used Avail Use% Mounted on
> /dev/md1 9.4G 2.5G 6.5G 28% /
> /dev/md2 9.4G 7.6G 1.4G 85% /home
> /dev/md3 9.4G 6.6G 2.4G 74% /var
> /dev/md4 958M 18M 892M 2% /tmp
> /dev/md5 153G 119G 27G 82% /www
>
> My md5 is almost full and I wanna use LVM to merge
> my md5 with a new partition from a new hdd. I wanna
> ask if this possible for LVM to merge 2 partition
> together while one of them have data on it? I can't
> suffer any data loss and want to make sure that LVM
> works perfectly to what I want.
> Thanks all.
You're out of luck. You can't take an existing partition and keep the
data yet switch it over to LVM. It's like RAID that way: you need to
set up the lower level stuff *before* you format the disk/partition with
your filesystem and start putting data on it.
To do what you want is possible, provided that you created an LVM from
the beginning that had md5 as a PhysicalVolume, then created your
filesystem on the Logical Volume. But it seems clear from your fstab
that you didn't do that.
Sorry,
--Matt
next prev parent reply other threads:[~2005-12-09 19:13 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-09 3:39 [linux-lvm] Newbie of LVM Way Loss
2005-12-09 18:50 ` Anil Kumar Sharma
2005-12-09 19:12 ` Matthew Gillen [this message]
2005-12-09 19:38 ` Jeff Cousino
2005-12-09 19:43 ` Matthew Gillen
2005-12-09 19:48 ` Graham Wood
2005-12-09 19:42 ` Matthew Gillen
2005-12-09 19:57 ` Anil Kumar Sharma
2005-12-09 20:03 ` Anil Kumar Sharma
2005-12-12 15:21 ` Alasdair G Kergon
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=4399D72B.80408@mattgillen.net \
--to=me@mattgillen.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).