All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] Reducing the Linux LVM(8e) partition itself (not PV, VG or LV)
@ 2005-03-06 13:30 Ajeet Nankani
  2005-03-07 13:54 ` Delian Krustev
  0 siblings, 1 reply; 2+ messages in thread
From: Ajeet Nankani @ 2005-03-06 13:30 UTC (permalink / raw)
  To: LVM general discussion & development

Hi,

I have a /dev/hda6 partition as Linux LVM(8e), its size is around 8GB.
I have one PV(no free PEs in it all are allocated) in this partition.
This PV has a total size of around 7GB.
I have also made sure that this PV is contiguous from the start of the
LVM partition hence it is confirmed that the free 1GB is at the end of
LVM partition.
I want to reduce this Linux LVM(8e) partition and recover this 1GB free
space to create a fat32 partition.
When i tried to print partition table of this /dev/hda6 through gnu
parted, it gave error "Error: Could not detect file system." and so
qtparted does not work either.

Is there anyway to reduce this linux LVM (8e) partition safely?

I have FC3 and gnu parted 1.6.15.

Regrads,

-ajeet.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [linux-lvm] Reducing the Linux LVM(8e) partition itself (not PV, VG or LV)
  2005-03-06 13:30 [linux-lvm] Reducing the Linux LVM(8e) partition itself (not PV, VG or LV) Ajeet Nankani
@ 2005-03-07 13:54 ` Delian Krustev
  0 siblings, 0 replies; 2+ messages in thread
From: Delian Krustev @ 2005-03-07 13:54 UTC (permalink / raw)
  To: LVM general discussion and development

On Sunday 06 March 2005 15:30, Ajeet Nankani wrote:
> I have a /dev/hda6 partition as Linux LVM(8e), its size is around 8GB.
> I have one PV(no free PEs in it all are allocated) in this partition.
> This PV has a total size of around 7GB.
> I have also made sure that this PV is contiguous from the start of the
> LVM partition hence it is confirmed that the free 1GB is at the end of
> LVM partition.
> I want to reduce this Linux LVM(8e) partition and recover this 1GB free
> space to create a fat32 partition.
> When i tried to print partition table of this /dev/hda6 through gnu
> parted, it gave error "Error: Could not detect file system." and so
> qtparted does not work either.

There's no partition table or filesystem on a LVM partiton.

>
> Is there anyway to reduce this linux LVM (8e) partition safely?

Here are the steps. I hope I won't miss one:

lvreduce ..(if You don't have enough free PE)
pvmove ..
vgreduce ..
repartition(fdisk, cfdisk, parted .. )
possible reboot(reread the partition table)
pvcreate ..
vgextend ..
possibly lvextend ..
mkdosfs ..


Cheers,
Delian

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-03-07 13:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-06 13:30 [linux-lvm] Reducing the Linux LVM(8e) partition itself (not PV, VG or LV) Ajeet Nankani
2005-03-07 13:54 ` Delian Krustev

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.