From: Sam Vilain <sam@vilain.net>
To: fromkth+lvm@fastmail.fm
Cc: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] Reducing/Resizing LVM where "/" filesystem is included in the LVM
Date: Mon, 31 Jan 2005 16:38:50 +1300 [thread overview]
Message-ID: <41FDA84A.7090405@vilain.net> (raw)
In-Reply-To: <1107131925.6822.213924115@webmail.messagingengine.com>
fromkth+lvm@fastmail.fm wrote:
> But now the problem is how to claim those 42 PEs from this Volume Group
> as i want to use that free space of this Volume Group to make
> hda7(fat32)
> which i can use(read/write)both in linux as well as in windows.
You can't just shrink a PV like that AFAIK.
What you are asking is pretty much voodoo. Remember the solution that
works every time is to back everything up to a tape or another
harddrive, then setup the disk the way you want it and copy everything
back. Trying to attempt voodoo as a self-admitted newbie is a sure-fire
way to end up with complete loss of data on a system.
The LVM was designed to avoid these problems; however it is not designed
to play well with other operating systems on the same box. So, you are
stuck with native partitioning and all the problems that go along with
it.
It is possible to do a lot of things by making more physical volumes,
and using "pvmove" to move the logical volumes between disks. Once
`pvdisplay -v' on a volume shows no data there you can safely
repartition the space (and probably reboot each time), but from
the sounds of it, you should not experiment with this approach. It
is very easy to make a mistake and lose everything.
--
Sam Vilain, sam /\T vilain |><>T net, PGP key ID: 0x05B52F13
(include my PGP key ID in personal replies to avoid spam filtering)
prev parent reply other threads:[~2005-01-31 3:38 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-23 21:55 [linux-lvm] Reducing/Resizing LVM where "/" filesystem is included in the LVM fromkth+lvm
2005-01-24 0:26 ` Robin Green
2005-01-24 0:38 ` Robin Green
2005-01-24 22:24 ` fromkth+lvm
2005-01-25 20:08 ` Sam Vilain
2005-01-31 0:38 ` fromkth+lvm
2005-01-31 3:38 ` Sam Vilain [this message]
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=41FDA84A.7090405@vilain.net \
--to=sam@vilain.net \
--cc=fromkth+lvm@fastmail.fm \
--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