kernixski
May 23rd, 2010, 12:55 AM
Hi,
I have a 6TB external eSata bay (Lacie BigQuadra). I made a GPT table with only one big ext4 partition. All was ok. I resized the ext4 partition and I created a 1TB NTFS partition. I can use it on Kubuntu but Windows 7 tell me the partition is not formated. When I go back to Kubuntu, parted tell me that the secondary GPT table is not at the end of the disk and tell me it's probably an other OS that thinks the disk is smaller that its real size. It seems Windows 7 thinks the disk size is 2 TB (and modify automaticaly the GPT table and create a secondary GPT table on the middle of the disk).
What can I do to make my NTFS partition visible in Windows 7?
What can I do to prevent Windows 7 to move the secondary partition table on the middle of the disk and to modify the primary GPT table ?
Thank you,
Steve
gdisk informations
------------------
$ sudo gdisk -l /dev/sd
sda sda1 sda2 sda3 sdb sdb1 sdb2 sdb3 sdb5 sdb6 sdc sdd sdd1 sdd2
kernixski@kernixski-01:~$ sudo gdisk -l /dev/sdd
GPT fdisk (gdisk) version 0.5.1
Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: present
Found valid GPT with protective MBR; using GPT.
Warning! Secondary partition table overlaps the last partition by 8589930146 blocks
Try reducing the partition table size by 34359720584 entries.
(Use the 's' item on the experts' menu.)
Disk /dev/sdd: 11720787504 sectors, 5.5 TiB
Disk identifier (GUID): 28F64C9E-7B00-4BB2-B333-3A28A8F4D773
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 3130852878
Total free space is 0 sectors (0 bytes)
Number Start (sector) End (sector) Size Code Name
1 34 9573294149 4.5 TiB 0700
2 9573294150 11720783024 1.0 TiB 0700
fix with parted
---------------
$ sudo parted -l
Modèle: ATA ST9500420ASG (scsi)
Disque /dev/sda : 500GB
Taille des secteurs (logique/physique) : 512o/512o
Table de partitions : msdos
Numéro Début Fin Taille Type Système de fichiers Fanions
1 1049kB 107GB 107GB primary ntfs démarrage
2 107GB 322GB 215GB primary ext4
3 322GB 430GB 107GB primary ntfs
Modèle: ATA INTEL SSDSA2M160 (scsi)
Disque /dev/sdb : 160GB
Taille des secteurs (logique/physique) : 512o/512o
Table de partitions : msdos
Numéro Début Fin Taille Type Système de fichiers Fanions
1 32,3kB 255MB 255MB primary ext4 démarrage
2 255MB 51,5GB 51,2GB extended
5 255MB 263MB 8193kB logical linux-swap(v1)
6 263MB 51,5GB 51,2GB logical ext4
3 51,5GB 116GB 65,0GB primary ext4
Erreur: La sauvegarde de la table GPT n'est pas à la fin du disque ainsi qu'elle
le devrait. Cela peut vouloir dire qu'un autre sytème d'exploitation croit que
le disque est plus petit. Faut-il corriger en déplaçant la copie à la fin du
disque (et enlever la vieille sauvegarde) ?
Réparer/Fix/Ignorer/Ignore/Annuler/Cancel? fix
Avertissement: Il semble que l'espace disponible sur /dev/sdd ne soit pas totalement utilisé, voulez-vous ajuster la table GPT pour utiliser tout l'espace (8589934592 blocs en plus) ou continuer ainsi ?
Réparer/Fix/Ignorer/Ignore? fix
Modèle: ATA LaCie 4big Qua (scsi)
Disque /dev/sdd : 6001GB
Taille des secteurs (logique/physique) : 512o/512o
Table de partitions : gpt
Numéro Début Fin Taille Système de fichiers Nom Fanions
1 17,4kB 4902GB 4902GB ext4
2 4902GB 6001GB 1100GB ntfs
gdisk info after fix
--------------------
$ sudo gdisk -l /dev/sdc
GPT fdisk (gdisk) version 0.5.1
NOTE: Write test failed with error number 123. It will be impossible to save
changes to this disk's partition table!
Problem opening /dev/sdc for reading! Error is 123
kernixski@kernixski-01:~$ sudo gdisk -l /dev/sdd
GPT fdisk (gdisk) version 0.5.1
Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: present
Found valid GPT with protective MBR; using GPT.
Disk /dev/sdd: 11720787504 sectors, 5.5 TiB
Disk identifier (GUID): 28F64C9E-7B00-4BB2-B333-3A28A8F4D773
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 11720787470
Total free space is 4446 sectors (2.2 MiB)
Number Start (sector) End (sector) Size Code Name
1 34 9573294149 4.5 TiB 0700
2 9573294150 11720783024 1.0 TiB 0700
I have a 6TB external eSata bay (Lacie BigQuadra). I made a GPT table with only one big ext4 partition. All was ok. I resized the ext4 partition and I created a 1TB NTFS partition. I can use it on Kubuntu but Windows 7 tell me the partition is not formated. When I go back to Kubuntu, parted tell me that the secondary GPT table is not at the end of the disk and tell me it's probably an other OS that thinks the disk is smaller that its real size. It seems Windows 7 thinks the disk size is 2 TB (and modify automaticaly the GPT table and create a secondary GPT table on the middle of the disk).
What can I do to make my NTFS partition visible in Windows 7?
What can I do to prevent Windows 7 to move the secondary partition table on the middle of the disk and to modify the primary GPT table ?
Thank you,
Steve
gdisk informations
------------------
$ sudo gdisk -l /dev/sd
sda sda1 sda2 sda3 sdb sdb1 sdb2 sdb3 sdb5 sdb6 sdc sdd sdd1 sdd2
kernixski@kernixski-01:~$ sudo gdisk -l /dev/sdd
GPT fdisk (gdisk) version 0.5.1
Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: present
Found valid GPT with protective MBR; using GPT.
Warning! Secondary partition table overlaps the last partition by 8589930146 blocks
Try reducing the partition table size by 34359720584 entries.
(Use the 's' item on the experts' menu.)
Disk /dev/sdd: 11720787504 sectors, 5.5 TiB
Disk identifier (GUID): 28F64C9E-7B00-4BB2-B333-3A28A8F4D773
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 3130852878
Total free space is 0 sectors (0 bytes)
Number Start (sector) End (sector) Size Code Name
1 34 9573294149 4.5 TiB 0700
2 9573294150 11720783024 1.0 TiB 0700
fix with parted
---------------
$ sudo parted -l
Modèle: ATA ST9500420ASG (scsi)
Disque /dev/sda : 500GB
Taille des secteurs (logique/physique) : 512o/512o
Table de partitions : msdos
Numéro Début Fin Taille Type Système de fichiers Fanions
1 1049kB 107GB 107GB primary ntfs démarrage
2 107GB 322GB 215GB primary ext4
3 322GB 430GB 107GB primary ntfs
Modèle: ATA INTEL SSDSA2M160 (scsi)
Disque /dev/sdb : 160GB
Taille des secteurs (logique/physique) : 512o/512o
Table de partitions : msdos
Numéro Début Fin Taille Type Système de fichiers Fanions
1 32,3kB 255MB 255MB primary ext4 démarrage
2 255MB 51,5GB 51,2GB extended
5 255MB 263MB 8193kB logical linux-swap(v1)
6 263MB 51,5GB 51,2GB logical ext4
3 51,5GB 116GB 65,0GB primary ext4
Erreur: La sauvegarde de la table GPT n'est pas à la fin du disque ainsi qu'elle
le devrait. Cela peut vouloir dire qu'un autre sytème d'exploitation croit que
le disque est plus petit. Faut-il corriger en déplaçant la copie à la fin du
disque (et enlever la vieille sauvegarde) ?
Réparer/Fix/Ignorer/Ignore/Annuler/Cancel? fix
Avertissement: Il semble que l'espace disponible sur /dev/sdd ne soit pas totalement utilisé, voulez-vous ajuster la table GPT pour utiliser tout l'espace (8589934592 blocs en plus) ou continuer ainsi ?
Réparer/Fix/Ignorer/Ignore? fix
Modèle: ATA LaCie 4big Qua (scsi)
Disque /dev/sdd : 6001GB
Taille des secteurs (logique/physique) : 512o/512o
Table de partitions : gpt
Numéro Début Fin Taille Système de fichiers Nom Fanions
1 17,4kB 4902GB 4902GB ext4
2 4902GB 6001GB 1100GB ntfs
gdisk info after fix
--------------------
$ sudo gdisk -l /dev/sdc
GPT fdisk (gdisk) version 0.5.1
NOTE: Write test failed with error number 123. It will be impossible to save
changes to this disk's partition table!
Problem opening /dev/sdc for reading! Error is 123
kernixski@kernixski-01:~$ sudo gdisk -l /dev/sdd
GPT fdisk (gdisk) version 0.5.1
Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: present
Found valid GPT with protective MBR; using GPT.
Disk /dev/sdd: 11720787504 sectors, 5.5 TiB
Disk identifier (GUID): 28F64C9E-7B00-4BB2-B333-3A28A8F4D773
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 11720787470
Total free space is 4446 sectors (2.2 MiB)
Number Start (sector) End (sector) Size Code Name
1 34 9573294149 4.5 TiB 0700
2 9573294150 11720783024 1.0 TiB 0700