Partitioning: "no space left"
Hi, I tested systematically when partitioning works and when I get "no space left": - The destination disk (8GB) contains already two logical partitions 3GB (ext2, 5 Knoppix) and 300MB (3, swap) at the beginning of the disc which should be preserved. - I definied /dev/hda in autoyast with "Nur frei verfügbaren Speicherplatz verwenden" - I define no partitions Result: "Kein freier Speicherplatz auf /dev/hda vefügbar". I think 5BG should be enough for a basic Suse Installation! BTW: It is not possible to save the click "Festplatte initialisieren". When I return to this page the check mark has gone. Is this a bug or a feature? Regards, Kurt
Hi,
I tested systematically when partitioning works and when I get "no space left":
- The destination disk (8GB) contains already two logical partitions 3GB (ext2, 5 Knoppix) and 300MB (3, swap) at the beginning of the disc which should be preserved. - I definied /dev/hda in autoyast with "Nur frei verfügbaren Speicherplatz verwenden" - I define no partitions
Result: "Kein freier Speicherplatz auf /dev/hda vefügbar".
I think 5BG should be enough for a basic Suse Installation! Yes, I tried reproducing it, with no success, could you please send me
Kurt Kronschnabl wrote: the partitioning portion of the control file you are using?
BTW: It is not possible to save the click "Festplatte initialisieren". When I return to this page the check mark has gone.
Is this a bug or a feature?
Can't reproduce, and if, it would be a bug. Anas
Regards, Kurt
Hello Anas,
Anas Nashif schrieb:
Yes, I tried reproducing it, with no success, could you please send me the partitioning portion of the >control file you are using?
<partitioning config:type="list"> <drive> <device>/dev/hda</device> <initialize config:type="boolean">false</initialize> <partitions config:type="list"/> <use>free</use> </drive> </partitioning>
The Output of sfdisk is: Festplatte /dev/hda: 1027 Zylinder, 255 Köpfe, 63 Sektoren/Spur Warnung: erweiterte Partition beginnt nicht an einer Zylindergrenze DOS und Linux werden den Inhalt unterschiedlich interpretieren. Einheit = Zylinder von 8225280 Bytes, Blöcke von 1024 Bytes, Zählung beginnt bei 0 Gerät boot. Anfang Ende #Zyl. #Blöcke Id System /dev/hda1 0+ 339 340- 2731018+ 5 Erweiterte /dev/hda2 0 - 0 0 0 Leer /dev/hda3 0 - 0 0 0 Leer /dev/hda4 0 - 0 0 0 Leer /dev/hda5 0+ 303 304- 2441817 83 Linux /dev/hda6 304+ 339 36- 289138+ 82 Linux Swap
BTW: It is not possible to save the click "Festplatte initialisieren". When I return to this page the >>check mark has gone.
Is this a bug or a feature?
Can't reproduce, and if, it would be a bug.
Strange! I hope I'll never need it!
Regards, Kurt
Kurt Kronschnabl wrote:
Hello Anas,
Anas Nashif schrieb:
Yes, I tried reproducing it, with no success, could you please send me the partitioning portion of the >control file you are using?
<partitioning config:type="list"> <drive> <device>/dev/hda</device> <initialize config:type="boolean">false</initialize> <partitions config:type="list"/> <use>free</use> </drive> </partitioning>
The Output of sfdisk is:
Festplatte /dev/hda: 1027 Zylinder, 255 Köpfe, 63 Sektoren/Spur Warnung: erweiterte Partition beginnt nicht an einer Zylindergrenze DOS und Linux werden den Inhalt unterschiedlich interpretieren. Einheit = Zylinder von 8225280 Bytes, Blöcke von 1024 Bytes, Zählung beginnt bei 0
Gerät boot. Anfang Ende #Zyl. #Blöcke Id System /dev/hda1 0+ 339 340- 2731018+ 5 Erweiterte /dev/hda2 0 - 0 0 0 Leer /dev/hda3 0 - 0 0 0 Leer /dev/hda4 0 - 0 0 0 Leer /dev/hda5 0+ 303 304- 2441817 83 Linux /dev/hda6 304+ 339 36- 289138+ 82 Linux Swap
This will not work, free space has to be at the end of the device. What you can do however is resue the existing partitions by only formatting them without creating them. This is possible with 8.2 Anas (...)
Regards, Kurt
Anas Nashif schrieb: Hello Anas
The Output of sfdisk is:
Festplatte /dev/hda: 1027 Zylinder, 255 Köpfe, 63 Sektoren/Spur Warnung: erweiterte Partition beginnt nicht an einer Zylindergrenze DOS und Linux werden den Inhalt unterschiedlich interpretieren. Einheit = Zylinder von 8225280 Bytes, Blöcke von 1024 Bytes, Zählung beginnt bei 0
Gerät boot. Anfang Ende #Zyl. #Blöcke Id System /dev/hda1 0+ 339 340- 2731018+ 5 Erweiterte /dev/hda2 0 - 0 0 0 Leer /dev/hda3 0 - 0 0 0 Leer /dev/hda4 0 - 0 0 0 Leer /dev/hda5 0+ 303 304- 2441817 83 Linux /dev/hda6 304+ 339 36- 289138+ 82 Linux Swap
This will not work, free space has to be at the end of the device. What you can do however is resue the existing partitions by only formatting them without creating them. This is possible with 8.2
Do I understand something wrong? When sfdisk reports "Start 0, End 303 and Start 304 End 339" then free space IS at the end I thought.
Please tell me I have to learn something some more about partitioning. I tested this before with occupied space at the end (lets say the opposit situation as I interpreted it) and had the same Effect. Regards, Kurt
Anas Nashif schrieb:
This will not work, free space has to be at the end of the device.
When I interpret the sfdisk table right, at the end the harddisk is 5 GB free. Is my assupmtion wrong? Regards, Kurt
<partitioning config:type="list"> <drive> <device>/dev/hda</device> <initialize config:type="boolean">false</initialize> <partitions config:type="list"/> <use>free</use> </drive> </partitioning>
The Output of sfdisk is:
Festplatte /dev/hda: 1027 Zylinder, 255 Köpfe, 63 Sektoren/Spur Warnung: erweiterte Partition beginnt nicht an einer Zylindergrenze DOS und Linux werden den Inhalt unterschiedlich interpretieren. Einheit = Zylinder von 8225280 Bytes, Blöcke von 1024 Bytes, Zählung beginnt bei 0
Gerät boot. Anfang Ende #Zyl. #Blöcke Id System /dev/hda1 0+ 339 340- 2731018+ 5 Erweiterte /dev/hda2 0 - 0 0 0 Leer /dev/hda3 0 - 0 0 0 Leer /dev/hda4 0 - 0 0 0 Leer /dev/hda5 0+ 303 304- 2441817 83 Linux /dev/hda6 304+ 339 36- 289138+ 82 Linux Swap
Am Mittwoch 17 September 2003 14:49 schrieb Kurt Kronschnabl:
Anas Nashif schrieb:
This will not work, free space has to be at the end of the device.
When I interpret the sfdisk table right, at the end the harddisk is 5 GB free.
Is my assupmtion wrong?
You have one extended partition from cylinder 0 to 339. As you cannot have any partition AFTER an extended partition, cylinders 340 to 1026 cannot be used. So you end up with a situation, where there is no more space available on the disk. Regards, Thomas Mack TU Braunschweig, Abt. Informationssysteme.
Festplatte /dev/hda: 1027 Zylinder, 255 Köpfe, 63 Sektoren/Spur Warnung: erweiterte Partition beginnt nicht an einer Zylindergrenze DOS und Linux werden den Inhalt unterschiedlich interpretieren. Einheit = Zylinder von 8225280 Bytes, Blöcke von 1024 Bytes, Zählung beginnt bei 0
Gerät boot. Anfang Ende #Zyl. #Blöcke Id System /dev/hda1 0+ 339 340- 2731018+ 5 Erweiterte /dev/hda2 0 - 0 0 0 Leer /dev/hda3 0 - 0 0 0 Leer /dev/hda4 0 - 0 0 0 Leer /dev/hda5 0+ 303 304- 2441817 83 Linux /dev/hda6 304+ 339 36- 289138+ 82 Linux Swap
Thomas Mack wrote:
Am Mittwoch 17 September 2003 14:49 schrieb Kurt Kronschnabl:
Anas Nashif schrieb:
This will not work, free space has to be at the end of the device.
When I interpret the sfdisk table right, at the end the harddisk is 5 GB free.
Is my assupmtion wrong?
You have one extended partition from cylinder 0 to 339. As you cannot have any partition AFTER an extended partition, cylinders 340 to 1026 cannot be used.
So you end up with a situation, where there is no more space available on the disk.
Exactly, the extended partition has to have the total size of the disk in order to be able to create new logical partitions. Basically these is no way around this but to delete everything and repartition your disk. Anas
Regards,
Thomas Mack TU Braunschweig, Abt. Informationssysteme.
Festplatte /dev/hda: 1027 Zylinder, 255 Köpfe, 63 Sektoren/Spur Warnung: erweiterte Partition beginnt nicht an einer Zylindergrenze DOS und Linux werden den Inhalt unterschiedlich interpretieren. Einheit = Zylinder von 8225280 Bytes, Blöcke von 1024 Bytes, Zählung beginnt bei 0
Gerät boot. Anfang Ende #Zyl. #Blöcke Id System /dev/hda1 0+ 339 340- 2731018+ 5 Erweiterte /dev/hda2 0 - 0 0 0 Leer /dev/hda3 0 - 0 0 0 Leer /dev/hda4 0 - 0 0 0 Leer /dev/hda5 0+ 303 304- 2441817 83 Linux /dev/hda6 304+ 339 36- 289138+ 82 Linux Swap
Anas Nashif schrieb:
Thomas Mack wrote:
You have one extended partition from cylinder 0 to 339. As you cannot have any partition AFTER an extended partition, cylinders 340 to 1026 cannot be used.
So you end up with a situation, where there is no more space available on the disk.
Exactly, the extended partition has to have the total size of the disk in order to be able to create new logical partitions. Basically these is no way around this but to delete everything and repartition your disk.
Anas
Oh no! That's it! I really was the opinion that I can have more than one Extended! But now as you write it I remember that this is indeed not possible! The solution would be to make the extended Partition as big as the whole disk. Will autoyast be able to generate further logical partitons? Thank you for your assistance! Regards, Kurt
participants (3)
-
Anas Nashif
-
Kurt Kronschnabl
-
Thomas Mack