From: Sverre Rabbelier <sverrerabbelier@tiscali.nl>
To: linux-lvm@redhat.com
Subject: [linux-lvm] Shrinking what part of a PV a VG uses, Is it possible?
Date: Tue, 04 Apr 2006 14:16:08 +0200 [thread overview]
Message-ID: <44326388.90001@tiscali.nl> (raw)
Heya,
I've got two Harddisks, a 250GB (hdb) and a 120GB (hda).
HDB is fully in use by only one VG (unknowingly named "lvg").
Which consists of threre LV, being:
lvm> lvscan
ACTIVE '/dev/lvg/root' [117.19 GB] inherit
ACTIVE '/dev/lvg/home' [78.12 GB] inherit
ACTIVE '/dev/lvg/swap' [4.06 GB] inherit
Also, it's not fully in use (the VG):
lvm> vgs
VG #PV #LV #SN Attr VSize VFree
lvg 1 3 0 wz--n 233.66G 34.28G
The trouble is, that on hda I have a Windows XP installation.. (you know
what's going to be next right?).
Indeed, I want to have the data on hdb (or at least, some 20GB of it) to
be readable by Windows.
I know of only one way to do that, which would be to format a part of
hdb as FAT, which is OK by me.
Point being, all of hdb is LVG partitioned, so how am I going to format
any of it as FAT?
My first choice would be to partition a part of the VG as
Windows-readable, but I didn't think that's possible (if it is, please
tell me!).
My second choice would be to shrink the VG 'lvg', making it not use all
of the disk, and partition the remainder (the 34.28G), as FAT.
But when reading the help files, I ran into:
lvm> help pvresize
pvresize: Resize a physical volume in use by a volume group
Not implemented. Use pvcreate options.
But reading 'info pvcreate' didn't point me in the right direction... at
all!
My last option would be to remove LVM from hdb, but I have no idea how
to do that without losing all my data...
So my question is, how do I achieve my goal? How do I get Windows to be
able to read some (or all?!) of hdb?
Thanks in advance,
Sverre Rabbelier.
next reply other threads:[~2006-04-04 12:16 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-04 12:16 Sverre Rabbelier [this message]
2006-04-04 12:35 ` [linux-lvm] Shrinking what part of a PV a VG uses, Is it possible? gwood
2006-04-04 18:58 ` [linux-lvm] pvmove on a root partition Christopher Probst
2006-04-05 8:48 ` Ralf Müller
2006-04-05 13:51 ` Christopher Probst
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=44326388.90001@tiscali.nl \
--to=sverrerabbelier@tiscali.nl \
--cc=linux-lvm@redhat.com \
--cc=sverre@rabbelier.nl \
/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).