Topic: Problem: "Unable to satisfy all constraints on the partition."
Hi,
I tried to resize and move a partition (NTFS) with gparted 0.6.2 and got the following error:
GParted 0.6.2
libparted 2.3
/dev/sda5 nach rechts verschieben und von 81.05 GiB auf 76.17 GiB verkleinern 03:14:42 ( ERFOLG )
/dev/sda5 kalibrieren 00:00:00 ( ERFOLG )
Pfad: /dev/sda5
Anfang: 40965813
Ende: 210949514
Größe: 169983702 (81.05 GiB)
Dateisystem auf /dev/sda5 auf Fehler überprüfen und (falls möglich) diese beheben 00:00:11 ( ERFOLG )
ntfsresize -P -i -f -v /dev/sda5
ntfsresize v2.0.0 (libntfs 10:0:0)
Device name : /dev/sda5
NTFS volume version: 3.1
Cluster size : 4096 bytes
Current volume size: 87031652864 bytes (87032 MB)
Current device size: 87031655424 bytes (87032 MB)
Checking for bad sectors ...
Checking filesystem consistency ...
Accounting clusters ...
Space in use : 73819 MB (84,8%)
Collecting resizing constraints ...
Estimating smallest shrunken size supported ...
File feature Last used at By inode
$MFT : 77704 MB 0
Multi-Record : 86886 MB 17266
$MFTMirr : 43516 MB 1
Compressed : 85969 MB 3636
Sparse : 2431 MB 1640
Ordinary : 86946 MB 82518
You might resize at 73818189824 bytes or 73819 MB (freeing 13213 MB).
Please make a test run using both the -n and -s options before real resizing!
Dateisystem verkleinern 00:05:02 ( ERFOLG )
Simulation starten 00:00:11 ( ERFOLG )
ntfsresize -P --force /dev/sda5 -s 81787879423 --no-action
ntfsresize v2.0.0 (libntfs 10:0:0)
Device name : /dev/sda5
NTFS volume version: 3.1
Cluster size : 4096 bytes
Current volume size: 87031652864 bytes (87032 MB)
Current device size: 87031655424 bytes (87032 MB)
New volume size : 81787871744 bytes (81788 MB)
Checking filesystem consistency ...
Accounting clusters ...
Space in use : 73819 MB (84,8%)
Collecting resizing constraints ...
Needed relocations : 670451 (2747 MB)
Schedule chkdsk for NTFS consistency check at Windows boot time ...
Resetting $LogFile ... (this might take a while)
Relocating needed data ...
Updating $BadClust file ...
Updating $Bitmap file ...
Updating Boot record ...
The read-only test run ended successfully.
Echtes Vergrößern/Verkleinern 00:04:51 ( ERFOLG )
ntfsresize -P --force /dev/sda5 -s 81787879423
ntfsresize v2.0.0 (libntfs 10:0:0)
Device name : /dev/sda5
NTFS volume version: 3.1
Cluster size : 4096 bytes
Current volume size: 87031652864 bytes (87032 MB)
Current device size: 87031655424 bytes (87032 MB)
New volume size : 81787871744 bytes (81788 MB)
Checking filesystem consistency ...
Accounting clusters ...
Space in use : 73819 MB (84,8%)
Collecting resizing constraints ...
Needed relocations : 670451 (2747 MB)
Schedule chkdsk for NTFS consistency check at Windows boot time ...
Resetting $LogFile ... (this might take a while)
Relocating needed data ...
Updating $BadClust file ...
Updating $Bitmap file ...
Updating Boot record ...
Syncing device ...
Successfully resized NTFS on device '/dev/sda5'.
You can go on to shrink the device for example with Linux fdisk.
IMPORTANT: When recreating the partition, make sure that you
1) create it at the same disk sector (use sector as the unit!)
2) create it with the same partition type (usually 7, HPFS/NTFS)
3) do not make it smaller than the new NTFS filesystem size
4) set the bootable flag for the partition if it existed before
Otherwise you won't be able to access NTFS or can't boot from the disk!
If you make a mistake and don't have a partition table backup then you
can recover the partition table by TestDisk or Parted's rescue mode.
Partition von 81.05 GiB auf 76.17 GiB verkleinern 00:00:01 ( ERFOLG )
Alter Anfang: 40965813
Altes Ende: 210949514
Alte Größe: 169983702 (81.05 GiB)
Neuer Anfang: 40965813
Neues Ende: 200707764
Neue Größe: 159741952 (76.17 GiB)
Dateisystem auf /dev/sda5 auf Fehler überprüfen und (falls möglich) diese beheben 00:00:07 ( ERFOLG )
ntfsresize -P -i -f -v /dev/sda5
ntfsresize v2.0.0 (libntfs 10:0:0)
Device name : /dev/sda5
NTFS volume version: 3.1
Cluster size : 4096 bytes
Current volume size: 81787871744 bytes (81788 MB)
Current device size: 81787879424 bytes (81788 MB)
Checking for bad sectors ...
Checking filesystem consistency ...
Accounting clusters ...
Space in use : 73819 MB (90,3%)
Collecting resizing constraints ...
Estimating smallest shrunken size supported ...
File feature Last used at By inode
$MFT : 77704 MB 0
Multi-Record : 80865 MB 184057
$MFTMirr : 43516 MB 1
Compressed : 73881 MB 1161
Sparse : 2431 MB 1640
Ordinary : 81788 MB 822
You might resize at 73818030080 bytes or 73819 MB (freeing 7969 MB).
Please make a test run using both the -n and -s options before real resizing!
Dateisystem bis zum Auffüllen der Partition vergrößern 00:00:16 ( ERFOLG )
Simulation starten 00:00:09 ( ERFOLG )
ntfsresize -P --force /dev/sda5 --no-action
ntfsresize v2.0.0 (libntfs 10:0:0)
Device name : /dev/sda5
NTFS volume version: 3.1
Cluster size : 4096 bytes
Current volume size: 81787871744 bytes (81788 MB)
Current device size: 81787879424 bytes (81788 MB)
New volume size : 81787875840 bytes (81788 MB)
Checking filesystem consistency ...
Accounting clusters ...
Space in use : 73819 MB (90,3%)
Collecting resizing constraints ...
Schedule chkdsk for NTFS consistency check at Windows boot time ...
Resetting $LogFile ... (this might take a while)
Updating $BadClust file ...
Updating $Bitmap file ...
Updating Boot record ...
The read-only test run ended successfully.
Echtes Vergrößern/Verkleinern 00:00:07 ( ERFOLG )
ntfsresize -P --force /dev/sda5
ntfsresize v2.0.0 (libntfs 10:0:0)
Device name : /dev/sda5
NTFS volume version: 3.1
Cluster size : 4096 bytes
Current volume size: 81787871744 bytes (81788 MB)
Current device size: 81787879424 bytes (81788 MB)
New volume size : 81787875840 bytes (81788 MB)
Checking filesystem consistency ...
Accounting clusters ...
Space in use : 73819 MB (90,3%)
Collecting resizing constraints ...
WARNING: Every sanity check passed and only the dangerous operations left.
Make sure that important data has been backed up! Power outage or computer
crash may result major data loss!
Are you sure you want to proceed (y/[n])? Schedule chkdsk for NTFS consistency check at Windows boot time ...
Resetting $LogFile ... (this might take a while)
Updating $BadClust file ...
Updating $Bitmap file ...
Updating Boot record ...
Syncing device ...
Successfully resized NTFS on device '/dev/sda5'.
Dateisystem auf /dev/sda5 auf Fehler überprüfen und (falls möglich) diese beheben 00:00:07 ( ERFOLG )
ntfsresize -P -i -f -v /dev/sda5
ntfsresize v2.0.0 (libntfs 10:0:0)
Device name : /dev/sda5
NTFS volume version: 3.1
Cluster size : 4096 bytes
Current volume size: 81787875840 bytes (81788 MB)
Current device size: 81787879424 bytes (81788 MB)
Checking for bad sectors ...
Checking filesystem consistency ...
Accounting clusters ...
Space in use : 73819 MB (90,3%)
Collecting resizing constraints ...
Estimating smallest shrunken size supported ...
File feature Last used at By inode
$MFT : 77704 MB 0
Multi-Record : 80865 MB 184057
$MFTMirr : 43516 MB 1
Compressed : 73881 MB 1161
Sparse : 2431 MB 1640
Ordinary : 81788 MB 822
You might resize at 73818030080 bytes or 73819 MB (freeing 7969 MB).
Please make a test run using both the -n and -s options before real resizing!
Partition von 76.17 GiB auf 77.15 GiB vergrößern 00:00:01 ( ERFOLG )
Alter Anfang: 40965813
Altes Ende: 200707764
Alte Größe: 159741952 (76.17 GiB)
Neuer Anfang: 40965813
Neues Ende: 202756095
Neue Größe: 161790283 (77.15 GiB)
Dateisystem nach rechts verschieben 03:08:49 ( ERFOLG )
Schreibgeschützter Test wird durchgeführt 00:47:44 ( ERFOLG )
Interner Algorithmus wird verwendet
76.17 GiB lesen
Optimale Blockgröße wird ermittelt
16.00 MiB mit einer Blockgröße von 2.00 MiB lesen 00:00:01 ( ERFOLG )
16.00 MiB von 16.00 MiB gelesen
1.0929 Sekunden
16.00 MiB mit einer Blockgröße von 4.00 MiB lesen 00:00:01 ( ERFOLG )
16.00 MiB von 16.00 MiB gelesen
0.944694 Sekunden
16.00 MiB mit einer Blockgröße von 8.00 MiB lesen 00:00:01 ( ERFOLG )
16.00 MiB von 16.00 MiB gelesen
0.881823 Sekunden
16.00 MiB mit einer Blockgröße von 16.00 MiB lesen 00:00:00 ( ERFOLG )
16.00 MiB von 16.00 MiB gelesen
0.906772 Sekunden
Optimale Blockgröße beträgt 8.00 MiB
76.11 GiB mit einer Blockgröße von 8.00 MiB lesen 00:47:41 ( ERFOLG )
76.11 GiB von 76.11 GiB gelesen
76.17 GiB (81787879424 B) gelesen
Echtes Verschieben durchführen 02:21:05 ( ERFOLG )
Interner Algorithmus wird verwendet
76.17 GiB kopieren
Optimale Blockgröße wird ermittelt
16.00 MiB mit einer Blockgröße von 1.00 MiB kopieren 00:00:02 ( ERFOLG )
16.00 MiB von 16.00 MiB kopiert
1.67332 Sekunden
16.00 MiB mit einer Blockgröße von 2.00 MiB kopieren 00:00:02 ( ERFOLG )
16.00 MiB von 16.00 MiB kopiert
2.09891 Sekunden
16.00 MiB mit einer Blockgröße von 4.00 MiB kopieren 00:00:02 ( ERFOLG )
16.00 MiB von 16.00 MiB kopiert
2.11434 Sekunden
16.00 MiB mit einer Blockgröße von 8.00 MiB kopieren 00:00:02 ( ERFOLG )
16.00 MiB von 16.00 MiB kopiert
2.03264 Sekunden
16.00 MiB mit einer Blockgröße von 16.00 MiB kopieren 00:00:02 ( ERFOLG )
16.00 MiB von 16.00 MiB kopiert
2.15489 Sekunden
Optimale Blockgröße beträgt 1.00 MiB
76.09 GiB mit einer Blockgröße von 1.00 MiB kopieren 02:20:55 ( ERFOLG )
76.09 GiB von 76.09 GiB kopiert
76.17 GiB (81787879424 B) kopiert
Partition von 77.15 GiB auf 76.17 GiB verkleinern 00:00:01 ( ERFOLG )
Alter Anfang: 40965813
Altes Ende: 202756095
Alte Größe: 161790283 (77.15 GiB)
Neuer Anfang: 43014144
Neues Ende: 202756095
Neue Größe: 159741952 (76.17 GiB)
Bootsektor von ntfs mit Dateisystem auf /dev/sda5 aktualisieren 00:00:00 ( ERFOLG )
Dateisystem auf /dev/sda5 auf Fehler überprüfen und (falls möglich) diese beheben 00:00:07 ( ERFOLG )
ntfsresize -P -i -f -v /dev/sda5
ntfsresize v2.0.0 (libntfs 10:0:0)
Device name : /dev/sda5
NTFS volume version: 3.1
Cluster size : 4096 bytes
Current volume size: 81787875840 bytes (81788 MB)
Current device size: 81787879424 bytes (81788 MB)
Checking for bad sectors ...
Checking filesystem consistency ...
Accounting clusters ...
Space in use : 73819 MB (90,3%)
Collecting resizing constraints ...
Estimating smallest shrunken size supported ...
File feature Last used at By inode
$MFT : 77704 MB 0
Multi-Record : 80865 MB 184057
$MFTMirr : 43516 MB 1
Compressed : 73881 MB 1161
Sparse : 2431 MB 1640
Ordinary : 81788 MB 822
You might resize at 73818030080 bytes or 73819 MB (freeing 7969 MB).
Please make a test run using both the -n and -s options before real resizing!
Dateisystem bis zum Auffüllen der Partition vergrößern 00:00:00 ( ERFOLG )
Simulation starten 00:00:00 ( ERFOLG )
ntfsresize -P --force /dev/sda5 --no-action
ntfsresize v2.0.0 (libntfs 10:0:0)
Device name : /dev/sda5
NTFS volume version: 3.1
Cluster size : 4096 bytes
Current volume size: 81787875840 bytes (81788 MB)
Current device size: 81787879424 bytes (81788 MB)
New volume size : 81787875840 bytes (81788 MB)
Nothing to do: NTFS volume size is already OK.
Echtes Vergrößern/Verkleinern 00:00:00 ( ERFOLG )
ntfsresize -P --force /dev/sda5
ntfsresize v2.0.0 (libntfs 10:0:0)
Device name : /dev/sda5
NTFS volume version: 3.1
Cluster size : 4096 bytes
Current volume size: 81787875840 bytes (81788 MB)
Current device size: 81787879424 bytes (81788 MB)
New volume size : 81787875840 bytes (81788 MB)
Nothing to do: NTFS volume size is already OK.
========================================
/dev/sda2 nach rechts verschieben und von 92.25 GiB auf 91.27 GiB verkleinern 00:00:01 ( FEHLER )
/dev/sda2 kalibrieren 00:00:01 ( ERFOLG )
Pfad: /dev/sda2
Anfang: 40965750
Ende: 234420479
Größe: 193454730 (92.25 GiB)
Partition von 92.25 GiB auf 91.27 GiB verkleinern 00:00:00 ( FEHLER )
Alter Anfang: 40965750
Altes Ende: 234420479
Alte Größe: 193454730 (92.25 GiB)
libparted-Benachrichtigungen ( INFO )
Unable to satisfy all constraints on the partition.
========================================
/dev/sda1 von 19.53 GiB auf 20.51 GiB vergrößern
========================================
/dev/sda6 nach links verschieben und von 7.91 GiB auf 11.82 GiB vergrößern
========================================
What can I do to resolve this?
Please help me!
Thanks,
MyKey_