Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] LVM2 and resizing partition
- Date: Thu, 5 Nov 2009 04:54:15 +0100
- From: Tobias Diedrich <ranma@example.com>
- Subject: Re: [tlug] LVM2 and resizing partition
- References: <4fefd6340911041729t2e4e0f9hf08352f150dda3d0@example.com> <4AF236C6.8080908@example.com>
- User-agent: Mutt/1.5.18 (2008-05-17)
Edward Middleton wrote: > What you have done doesn't really help. You have reduce the number of > physical extents allocated to the LogVol00 logical volume, from the > 500G VolGroup00 volume group, but you don't know where in the volume > group (i.e. the partition) they are allocated. He also said he used pvresize to shrink the physical volume, that should allow him to reduce the partition size with fdisk afterwards. No need to use an additional hard disk. Just like the pvresize man page states: |Shrink the PV on /dev/sda1 prior to shrinking the partition with |fdisk (ensure that the PV size is appropriate for your intended new |partition size): | |pvresize --setphysicalvolumesize 40G /dev/sda1 To resize the actual partition I'd use fdisk and delete and then recreate it smaller. However you'd want to make sure the new partition starts on the same sector as the old one. fdisk in expert mode will show the starting sector in addition to the size if you want to be sure. -- Tobias PGP: http://8ef7ddba.uguu.de
- Follow-Ups:
- Re: [tlug] LVM2 and resizing partition
- From: Curt Sampson
- Re: [tlug] LVM2 and resizing partition
- From: Edward Middleton
- References:
- [tlug] LVM2 and resizing partition
- From: Gernot Hassenpflug
- Re: [tlug] LVM2 and resizing partition
- From: Edward Middleton
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] LVM2 and resizing partition
- Next by Date: Re: [tlug] LVM2 and resizing partition
- Previous by thread: Re: [tlug] LVM2 and resizing partition
- Next by thread: Re: [tlug] LVM2 and resizing partition
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links