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 13:22:59 +0900
- From: Curt Sampson <cjs@example.com>
- Subject: Re: [tlug] LVM2 and resizing partition
- References: <4fefd6340911041729t2e4e0f9hf08352f150dda3d0@example.com> <4AF236C6.8080908@example.com> <20091105035415.GA12995@example.com>
- User-agent: Mutt/1.5.18 (2008-05-17)
On 2009-11-05 04:54 +0100 (Thu), Tobias Diedrich wrote: > To resize the actual partition I'd use fdisk and delete and then > recreate it smaller. I would probably create a new, overlapping partition, verify that that works (booting up in single-user read-only mode or from a CD, and doing an fsck on volume and dd from the volume to /dev/null--I assume that Linux will check partition boundaries and generate an error if one tries to read past them), and then switch the system to that before deleting the old one. This ensures that you always have the unmodified original partition entry around in case you mess up the new one. I also forgot to reply to the original note regarding having four primary partitions and wanting to create an extended one. Do remember that you need to use one primary partition entry to point to the extended partition table, and that takes up space on the disk just like any other partition. If you already have four primary partitions, you'll have to delete one, create the extended partition table, and recreate the deleted primary partition (which will now be slightly smaller) as an extended partition. cjs -- Curt Sampson <cjs@example.com> +81 90 7737 2974 Functional programming in all senses of the word: http://www.starling-software.com
- Follow-Ups:
- Re: [tlug] LVM2 and resizing partition
- From: Tobias Diedrich
- References:
- [tlug] LVM2 and resizing partition
- From: Gernot Hassenpflug
- Re: [tlug] LVM2 and resizing partition
- From: Edward Middleton
- Re: [tlug] LVM2 and resizing partition
- From: Tobias Diedrich
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