[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
problem with creating new partition from free space from partition resiz
From: |
Brandon Simmons |
Subject: |
problem with creating new partition from free space from partition resize |
Date: |
Fri, 13 Jan 2006 04:15:07 -0500 |
Hi,
I have shrunk an ext3 partition so that I have a few gigs of free
space between 1 & 2 which I would like to partition (in v1.6.15):
/----------------------\
Using /dev/hda
(parted) print
Disk geometry for /dev/hda: 0.000-38154.375 megabytes
Disk label type: msdos
Minor Start End Type Filesystem Flags
1 0.031 25815.388 primary ext3 boot
2 32812.449 33840.043 primary linux-swap
3 33840.044 33942.019 primary ext3
4 33942.019 38154.375 extended
5 33942.050 38154.375 logical lvm
\----------------------/
However when I run:
(parted) mkpart logical ext3 25816 32812
parted claims the best it can do is some minuscule amount between
partitions two and three (I can get the exact message if you need it).
On my debian boot I am running the latest version 1.6.25.1 and this is
what I get with that:
/--------------------\
Using /dev/hda
(parted) mkpart logical 25817 32811
Error: Can't have overlapping partitions.
(parted) print
Disk geometry for /dev/hda: 0kB - 40GB
Disk label type: msdos
Number Start End Size Type File system Flags
1 32kB 27GB 27GB primary ext3 boot
2 34GB 35GB 1078MB primary linux-swap
3 35GB 36GB 107MB primary ext3
4 36GB 40GB 4417MB extended
5 36GB 40GB 4417MB logical lvm
(parted) mkpart logical 27GB 34GB
Error: Can't have overlapping partitions.
\--------------------------/
Am I missing something? I thought that I was basically trying to do
what is described in the manual entry here:
http://www.gnu.org/software/parted/manual/html_mono/parted.html#SEC31
Thanks,
Brandon
- problem with creating new partition from free space from partition resize,
Brandon Simmons <=