From: hadi motamedi on
Dear All
My Debian server shows three primary partitions and one extended partition
but when I try to add a new partition via fdisk for installing another os it
is returning as 'no free sectors available' . It seems that I have a vast
amount of free space on my disk so please let me know why I cannot add a
partition ?
Thank you
From: Alain Baeckeroot on

Le 10/08/2010 à 08:12, hadi motamedi a écrit :
> Dear All
> My Debian server shows three primary partitions and one extended partition
> but when I try to add a new partition via fdisk for installing another os it
> is returning as 'no free sectors available' . It seems that I have a vast
> amount of free space on my disk so please let me know why I cannot add a
> partition ?
> Thank you
>

what is displayed with
sfdisk -l

or
sfdisk -l /dev/yourdevice




--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/201008100928.28861.alain.baeckeroot(a)laposte.net
From: Camaleón on
On Tue, 10 Aug 2010 10:42:23 +0430, hadi motamedi wrote:

> My Debian server shows three primary partitions and one extended
> partition but when I try to add a new partition via fdisk for installing
> another os it is returning as 'no free sectors available' . It seems
> that I have a vast amount of free space on my disk so please let me know
> why I cannot add a partition ?

Better than "fdisk", use "cfdisk" or "gparted" to create partitions.

Show us what is the output of "fdisk -l".

Greetings,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/pan.2010.08.10.07.49.55(a)gmail.com
From: hadi motamedi on
On Tue, Aug 10, 2010 at 12:19 PM, Camaleón <noelamac(a)gmail.com> wrote:

>
> Better than "fdisk", use "cfdisk" or "gparted" to create partitions.
>
> Show us what is the output of "fdisk -l".
>
> Greetings,
>
> --
> Camaleón
>
>
> --
>

Please find below the output of 'fdisk -l' :
#fdisk -l /dev/sda
Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
/dev/sda1 * 1 15 120456 83 Linux
/dev/sda2 16 1320 10482412+ 82 Linux swap / Solaris
/dev/sda3 1321 1957 5116702 83 Linux
/dev/sda4 1958 30401 228476430 5 Extended
/dev/sda5 1958 2339 3068383 83 Linux
/dev/sda6 2340 30401 225407983 83 Linux
From: Camaleón on
On Tue, 10 Aug 2010 13:41:52 +0430, hadi motamedi wrote:

> On Tue, Aug 10, 2010 at 12:19 PM, Camaleón wrote:
>
>
>> Better than "fdisk", use "cfdisk" or "gparted" to create partitions.
>>
>> Show us what is the output of "fdisk -l".
>>
> Please find below the output of 'fdisk -l' :
> #fdisk -l /dev/sda
> Disk /dev/sda: 250.0 GB, 250059350016 bytes 255 heads, 63 sectors/track,
> 30401 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes
> /dev/sda1 * 1 15 120456 83 Linux
> /dev/sda2 16 1320 10482412+ 82 Linux swap /
Solaris
^^^^^^^^
Am I reading that right? Do you have a 10 GiB swap? :-?

> /dev/sda3 1321 1957 5116702 83 Linux
> /dev/sda4 1958 30401 228476430 5 Extended
> /dev/sda5 1958 2339 3068383 83 Linux
> /dev/sda6 2340 30401 225407983 83 Linux

So, you have 2 logical partitions: sda5 (3 GiB) and sda6 (225 GiB) and I
guess you want to "split/resize" sda6 into smaller ones (sda7, sda8...).
You can do it with "gparted" (or cfdisk) but:

1/ Make a copy of the data on it (if any) before making any change.

2/ You have to work offline, the volume you are splitting cannot be
mounted. You can manually unmount it or just use a Live medium and make
the partitions from there.

Greetings,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/pan.2010.08.10.10.27.36(a)gmail.com