Go Back   AnandTech Forums > Hardware and Technology > Memory and Storage

Forums
· Hardware and Technology
· CPUs and Overclocking
· Motherboards
· Video Cards and Graphics
· Memory and Storage
· Power Supplies
· Cases & Cooling
· SFF, Notebooks, Pre-Built/Barebones PCs
· Networking
· Peripherals
· General Hardware
· Highly Technical
· Computer Help
· Home Theater PCs
· Consumer Electronics
· Digital and Video Cameras
· Mobile Devices & Gadgets
· Audio/Video & Home Theater
· Software
· Software for Windows
· All Things Apple
· *nix Software
· Operating Systems
· Programming
· PC Gaming
· Console Gaming
· Distributed Computing
· Security
· Social
· Off Topic
· Politics and News
· Discussion Club
· Love and Relationships
· The Garage
· Health and Fitness
· Merchandise and Shopping
· For Sale/Trade
· Hot Deals with Free Stuff/Contests
· Black Friday 2014
· Forum Issues
· Technical Forum Issues
· Personal Forum Issues
· Suggestion Box
· Moderator Resources
· Moderator Discussions
   

Reply
 
Thread Tools
Old 02-22-2012, 01:09 PM   #1
techvslife
Junior Member
 
Join Date: Aug 2009
Posts: 8
Default SSDs are incompatible with GPT partitioning?!

I'd welcome any advice, thoughts, confirmation, etc. for this problem:
I bought some new Samsung 830 SSDs for use as boot drives in new x79 windows 7 x64 pcs with UEFI bioses, so I had to partition them as GPT. (windows requires GPT partitioning for booting when you have a UEFI BIOS.)

I then discovered that the backup GPT partition area was being corrupted every few minutes by random information.

This is the reply I received from Samsung:
Dear Customer,
It is recommended that the unit be placed in an MBR format as the unit was made to work in a MBR. The cause of the corruption is for this very reason. We apologize for the inconvenience.
Thank you.


I wonder if this happens to any SSD with a GPT format, because of SSD use of unallocated space for "overprovisioning" purposes. The last few sectors of the drive, where the GPT backup partition header and table are, are unallocated space.

I ran the gpt fdisk utility to discover the corruption, but other utilities also discover it, such as mbrwizard. I inspected the last sectors and saw random data being written over the backup GPT partition information. I also confirmed this behavior with the author of the gpt fdisk utility. (it could be the cause is the Intel RSTe drivers instead.)

Here are the links to the windows utilities that confirm ongoing corruption:
http://sourceforge.net/projects/gptfdisk/
http://firesage.com/mbrwizard.php
The command by the way to check with gpt fdisk is simply:
gdisk -l 0:
and with mbrwizard it is:
mbrwiz /list /disk=0
In both cases replace the zero with zero, one, two, etc. depending on the configuration of your GPT SSD hard drive. Typically a boot drive will be zero or one. If anyone has tried this on a Samsung 830 ssd, that would be particularly helpful.

Thanks.

Last edited by techvslife; 03-02-2012 at 06:30 PM. Reason: add command syntax
techvslife is offline   Reply With Quote
Old 02-22-2012, 01:29 PM   #2
Coup27
Golden Member
 
Coup27's Avatar
 
Join Date: Jul 2010
Location: England, UK
Posts: 1,803
Default

I have an 830 and a UEFI capable motherboard and recently I installed my system in UEFI mode as an experiment.

Firstly, if you have the capable hardware, you are not required to install in UEFI mode. If I insert my Windows 7 installation media and go into UEFI, I have two boot options:

Sony Optiarc
UEFI: Sony Optiarc

If I use the first one, Windows will use MBR. If I use the second one, Windows will use GPT.

I ran my system in UEFI mode for 4 weeks and I did not have a single error. My system worked fine. I secure erased my drive and entered the Windows 7 partition editor at the installer stage. I requested to create a single partition which was 12GB less than my overall space. Windows made the 3 necessary partitions and left me 12GB unallocated to use for overprovisioning (as the SSD Magician requests).

My system did work fine. The only thing which did not work was the SSD Magicians TRIM and overprovisioning features. A few emails back and forth with Samsungs contact centre and Samsung finally responded and said:
Quote:
The current version of Samsung SSD Magician (v3.1.1) does not support GPT partitions .

On PC with GPT partitions "Over provisioning" and "Performance Optimization" features
will not work as these features depends on partition type

We will analyze and implement the support for GPT partitions in next version.
This reads to me that the only thing preventing 100% GPT support is their current Magician software.

In summary, I successfully ran my system in UEFI with GPT for 4 weeks without issue so I don't believe that the 830 cannot run in this mode, the fact Samsung have said that in your contact with them may only be a reference to their Magician software.

__________________
Intel i5 4670 | Asus H87I-PLUS | Corsair XMS3 2x4GB | Samsung 840 Evo 120GB SSD | WD Green 3TB HDD | Seasonic SS-360GP | Lian-Li PC-Q27B mITX | Dell 23" IPS Monitor

Last edited by Coup27; 02-22-2012 at 01:34 PM.
Coup27 is offline   Reply With Quote
Old 02-22-2012, 01:46 PM   #3
techvslife
Junior Member
 
Join Date: Aug 2009
Posts: 8
Default

Coup27,
Thank you very much for your reply. The corruption occurs (so far) ONLY in the last few sectors, so the question is:
Is your GPT backup partition header and table valid and uncorrupted?

The easiest way to check is to run gdisk or mbrwiz:
http://sourceforge.net/projects/gptfdisk/
http://firesage.com/mbrwizard.php
I would be grateful if you could check that, if you are still using GPT on any SSD. Typically I see it valid for about fifteen minutes after correction or boot or writing a new partition, then it goes invalid after that.

I don't think the Samsung email was a reference to the Samsung Magician software because my email to them was specific in pointing out where and how the corruption occurs, and their reply mentioned that data corruption would result.

It is interesting that they say to you that overprovisioning won't work with GPT partitions. It is a little weird that low level SSD functions "know" so much about logical OS structures--it seems a recipe for disaster frankly, since those higher-level structures vary by OS and change so much.

(As far as windows, Microsoft says it cannot boot the OS, when you have a UEFI bios, from a hard drive partitioned with MBR--I don't know about installation though:
"Systems that support UEFI require that [the] boot partition must reside on a GPT disk. Other hard disks can be either MBR or GPT.")
http://msdn.microsoft.com/en-us/wind...dware/gg463525
Perhaps your uefi bios has the option of accessing the internal hard drive without using uefi methods; I don't know much about that.

Thanks.

Last edited by techvslife; 02-22-2012 at 02:05 PM.
techvslife is offline   Reply With Quote
Old 02-22-2012, 02:05 PM   #4
Jocelyn84
Senior Member
 
Jocelyn84's Avatar
 
Join Date: Mar 2010
Location: Orlando, FL
Posts: 231
Default

I own an Asus P8H67-I Deluxe and for GPT partitioning, I just hit Shift + F10 at the windows installer then do the following.

Type diskpart, press Enter
Type lis dis , press Enter
Type sel dis X (where X is the number your drive shows up as), press Enter
Type cle, press Enter
Type convert gpt, press Enter
Type cre par efi size=100, press Enter
Type for quick fs=fat32 label="ESP", press Enter
Type cre par msr size=128, press Enter
Type cre par pri align=4096 , press Enter
Type for quick fs=ntfs label="SYSTEM", press Enter
Type ass letter=C noerr, press Enter
Type exi, press Enter
Close command then install to "System" (Name can be changed after install).

Anyway, that's kind of disappointing Samsung's features don't work with GPT disks.
__________________
Samsung Series 7 Chronos (700Z7C-S01US) - i7 3615QM - GT 650M - 12GB DDR3 - Plextor M5 Pro 256GB - Plextor M3 256GB
Macbook Pro 5,1 w/ Samsung 830 256GB| Samsung Galaxy Note II
Heatware: MissJ84
Jocelyn84 is offline   Reply With Quote
Old 02-22-2012, 02:07 PM   #5
beginner99
Platinum Member
 
Join Date: Jun 2009
Posts: 2,196
Default

in my laptop (X220) I use intel mSata ssd as os drive with UEFI and it is GPT. Haven't noticed any abnormalities.
beginner99 is offline   Reply With Quote
Old 02-22-2012, 02:09 PM   #6
techvslife
Junior Member
 
Join Date: Aug 2009
Posts: 8
Default

Thanks for that information. If anyone has an SSD drive that is partitioned in the new GPT style, I'm checking to see if you are experiencing corruption of the very last sectors, of the backup GPT partition header and table. The easiest way to check is to run gdisk or mbrwiz:
http://sourceforge.net/projects/gptfdisk/
http://firesage.com/mbrwizard.php

Again, I am checking about corruption specific to this area of the drive with SSDs that are partitioned GPT style, although of course information on corruption in any other sector is helpful. However, so far I have seen corruption only in the last sectors of the drive, where the GPT backup partition is stored.
Thanks.

Last edited by techvslife; 02-22-2012 at 02:12 PM.
techvslife is offline   Reply With Quote
Old 02-22-2012, 02:19 PM   #7
Burner27
Moderator
Memory and Storage
Video Cards and Graphics
 
Join Date: Jul 2001
Posts: 3,666
Default

Can someone explain to me why one would want to run in UEFI mode? Isn't that on by default on EFI enabled mobos?
Burner27 is offline   Reply With Quote
Old 02-22-2012, 02:34 PM   #8
Coup27
Golden Member
 
Coup27's Avatar
 
Join Date: Jul 2010
Location: England, UK
Posts: 1,803
Default

techvslife I think there are a few bits in your post that you have gotten the wrong end of the stick of.

I am no longer running in UEFI and GPT. I changed back to BIOS and MBR a little while ago. I did this because occasionally I do like to run my SSD Magician TRIM feature and as this was broken in UEFI and GPT mode, I decided to switch back. It was an experiement to see if there were any differences. Had the Magician supported GPT I would have remained with it.

I am suprised Samsung say it does not work with GPT as mine clearly did. Also the support advice I got back only said it was the Magician which did not support GPT and not the product as a whole.

My comment about overprovisioning refers to the Samsung overprovisioing feature within Magician. This feature allows you to shrink down a partition to create some unallocated space. As the Magician does not work with GPT, you cannot use this feature to shrink down a partition. This is why I made a partition 12GB less at the installer stage.

Regarding Windows, as I said previously if you have a UEFI board you can install Windows in either mode, you simply select which mode to boot from within UEFI. If you choose MBR, then UEFI is acting in "BIOS" mode. If you choose UEFI [boot device] then UEFI is acting in UEFI mode.

What MS is saying is that if you want to boot in UEFI mode with GPT, then Windows must reside on a GPT disk. This is a bit of a silly statement because when you install Windows in UEFI mode then it automatically uses GPT anyway. Any subsequent disks you use for data or whatever else can be MBR or GPT. My storage drive I left in MBR and I had no issue.

Personally unless there is an odd hardware combination error I do not believe the drive is not compatible with GPT.

If you still have no joy debugging further, insert your Windows installation media into your DVD drive and go into UEFI and there should be an option similar to mine on being able to boot the device, or boot the device with UEFI in front of it. If you have this option, I would secure erase the drive and then install in BIOS and MBR and you will have a stable system.

Burner27, in summary UEFI is the replacement for BIOS. While there is no visible difference to the user once your system is loaded, UEFI is a lot more secure and has many behind the scenes differences. BIOS also does not support GPT partitions where as UEFI does. Eventually it will replace BIOS but my Asus board allows me the flexibility to run in either mode depending on how I choose to install Windows.
__________________
Intel i5 4670 | Asus H87I-PLUS | Corsair XMS3 2x4GB | Samsung 840 Evo 120GB SSD | WD Green 3TB HDD | Seasonic SS-360GP | Lian-Li PC-Q27B mITX | Dell 23" IPS Monitor
Coup27 is offline   Reply With Quote
Old 02-22-2012, 02:35 PM   #9
Jocelyn84
Senior Member
 
Jocelyn84's Avatar
 
Join Date: Mar 2010
Location: Orlando, FL
Posts: 231
Default

Quote:
Originally Posted by techvslife View Post
Thanks for that information. If anyone has an SSD drive that is partitioned in the new GPT style, I'm checking to see if you are experiencing corruption of the very last sectors, of the backup GPT partition header and table. The easiest way to check is to run gdisk or mbrwiz:
http://sourceforge.net/projects/gptfdisk/
http://firesage.com/mbrwizard.php

Again, I am checking about corruption specific to this area of the drive with SSDs that are partitioned GPT style, although of course information on corruption in any other sector is helpful. However, so far I have seen corruption only in the last sectors of the drive, where the GPT backup partition is stored.
Thanks.
Is this what you're looking for?


Quote:
Originally Posted by Burner27 View Post
Can someone explain to me why one would want to run in UEFI mode? Isn't that on by default on EFI enabled mobos?
You actually have to choose UEFI: DVD Drive instead of DVD Drive during boot. Coup27 touched on this above.
In term benefits, here is a bit quoted from a rather good guide on OCN - http://www.overclock.net/t/1156654/s...-for-ssds-hdds

Quote:
Benefits of a UEFI/GPT boot disk vs. MBR:
Although not currently applicable to SSDs, GPT disks can exceed the 2.2TB bootable limit of a MBR partitioned drive. MBR drives are limited to four partition table entries, unless a secondary "extended" partition structure is created.
Data critical to platform operation is located in partitions, and not in un-partitioned or "hidden" sectors which in certain instances, can lead to system instability. Data contained in hidden sectors that result in system problems are difficult to debug.
GPT disks use primary and backup partition tables for redundancy and 32-bit cyclic redundancy check (CRC32) fields for improved partition data structure integrity.
A UEFI boot is more secure, and less vulnerable to pre-boot malware.
A system utilizing a UEFI boot, will boot and recover from sleep faster than the same machine using MBR.
UEFI is the future, and as different implementations of UEFI mature, UEFI will be used for much more than just booting a computer.
__________________
Samsung Series 7 Chronos (700Z7C-S01US) - i7 3615QM - GT 650M - 12GB DDR3 - Plextor M5 Pro 256GB - Plextor M3 256GB
Macbook Pro 5,1 w/ Samsung 830 256GB| Samsung Galaxy Note II
Heatware: MissJ84

Last edited by Jocelyn84; 02-22-2012 at 02:38 PM.
Jocelyn84 is offline   Reply With Quote
Old 02-22-2012, 02:54 PM   #10
Burner27
Moderator
Memory and Storage
Video Cards and Graphics
 
Join Date: Jul 2001
Posts: 3,666
Default

I have an Asus P8P67 Pro and my computer boots to UEFI mode and i installed windows from there. Yes, it looks prettier than regular BIOS but I really don't notice the benefits over a regular BIOS.
Burner27 is offline   Reply With Quote
Old 02-22-2012, 02:56 PM   #11
Coup27
Golden Member
 
Coup27's Avatar
 
Join Date: Jul 2010
Location: England, UK
Posts: 1,803
Default

Burner, go into device manager and expand disk drives. Double click on your boot drive and go into volumes. Click on populate and what does it say in the partition style row?

The noticeable difference between BIOS and UEFI is the graphical interface and boot support for GPT partitions. The rest of the differences are largely behind the scenes.
__________________
Intel i5 4670 | Asus H87I-PLUS | Corsair XMS3 2x4GB | Samsung 840 Evo 120GB SSD | WD Green 3TB HDD | Seasonic SS-360GP | Lian-Li PC-Q27B mITX | Dell 23" IPS Monitor
Coup27 is offline   Reply With Quote
Old 02-22-2012, 03:11 PM   #12
techvslife
Junior Member
 
Join Date: Aug 2009
Posts: 8
Default

The command by the way to check with gpt fdisk is simply:
gdisk -l 0:
with mbrwizard it is:
mbrwiz /list /disk=0
In both cases replace the zero with zero, one, two, etc. depending on the configuration of your GPT SSD hard drive. Typically a boot drive will be zero or one. If anyone has tried this on a Samsung 830 ssd, that would be particularly helpful.

@jocelyn27,
Yes, that's it, thanks; it seems that you are not experiencing the Samsung corruption issue. One caution is in my testing the corruption only occurs some twenty or thirty minutes into operation, and you get cycles back and forth, but if you run it three or four times over a couple of hours and always pass (no error), then you're probably fine. Your ssd drive is attached to the motherboard Intel SATA port I assume?

I should add that I'm using an Asus p9x79 deluxe uefi motherboard, and two Samsung 830 SSD drives in GPT partition are connected to the Intel SATA6 ports in RAID 1 config. I have a few factors to check out, but Samsung seems to be confirming that it is the SSD drives themselves that are the source of the corruption, which fits into some speculation I have about overprovisioning as a cause.

I didn't select any BIOS emulation mode during installation, and it's too late to change back to MBR without of course reformatting and redoing everything--and not sure how well my uefi supports that mode, so I'll stick with uefi for now. Again, I am NOT seeing general corruption, only limited corruption in the backup GPT sector at the end of the drive, which is not essential for operation. However, I'm of course worried that there's more to this than meets the eye.

@coup27,
I'm referring to manual overprovisioning, not the one done in the Magician. In any case, all the Magician does, I believe, is set unallocated space; which you can manually do by setting partitions to a total size that end up smaller than total drive size (so there is a dead zone at the end). However, I'm a little hazy on how ssds do the overprovisioning magic. Anyway, if Samsung SSD does not know about gpt, it's possible it might not know not to overwrite certain unallocated structures at the end of the drive used by GPT. At least that's my current theory.

Last edited by techvslife; 02-22-2012 at 08:01 PM.
techvslife is offline   Reply With Quote
Old 02-22-2012, 03:22 PM   #13
Coup27
Golden Member
 
Coup27's Avatar
 
Join Date: Jul 2010
Location: England, UK
Posts: 1,803
Default

"Again, I am NOT seeing general corruption, only limited corruption in the backup GPT sector at the end of the drive, which is not essential for operation."

When I did all this, I just used my system and did not notice any errors outside of the Magician software.

What errors are you discovering and are they only present if you go and find them? I don't know the ins and outs on GPT partitioning and after booting a secure erased drive I let the Windows installer take care of everything and then didn't look at the partitions at all once I confirmed it was all in GPT, so I don't actually fully understand the errors you are getting.

Regarding BIOS emulation, my Z68 Asus board supports this feature fine so it's unlikely you will have problems with an Asus X79.
__________________
Intel i5 4670 | Asus H87I-PLUS | Corsair XMS3 2x4GB | Samsung 840 Evo 120GB SSD | WD Green 3TB HDD | Seasonic SS-360GP | Lian-Li PC-Q27B mITX | Dell 23" IPS Monitor
Coup27 is offline   Reply With Quote
Old 02-22-2012, 04:28 PM   #14
techvslife
Junior Member
 
Join Date: Aug 2009
Posts: 8
Default

What errors are you discovering and are they only present if you go and find them?

The errors are consistent: corruption in the GPT backup partition header and table, those reside in the very last sectors of the disk. The utilities I mentioned will report that the backup partition is invalid or corrupt, or that there are CRC errors. When I inspect, the backup GPT header or table has been overwritten with information, sometimes random, sometimes readable, from other sectors of the drive. If I force a good GPT partition to be written, then it holds for about fifteen or twenty minutes, before the backup partition table & header gets overwritten by junk again.

Since only the backup partition is involved so far, it would not affect normal operation of the drive, but I'm worried other parts of the drive may be affected in a subtle way over time that hasn't showed up yet.

At this point, it would be useful to know if anyone else sees this issue with ssd gpt drives, but it may be limited to samsung 830 ssds, or to my configuration--hard to know.
techvslife is offline   Reply With Quote
Old 02-22-2012, 09:25 PM   #15
Burner27
Moderator
Memory and Storage
Video Cards and Graphics
 
Join Date: Jul 2001
Posts: 3,666
Default

Quote:
Originally Posted by Coup27 View Post
Burner, go into device manager and expand disk drives. Double click on your boot drive and go into volumes. Click on populate and what does it say in the partition style row?

The noticeable difference between BIOS and UEFI is the graphical interface and boot support for GPT partitions. The rest of the differences are largely behind the scenes.
Mine all say MBR but I have the option to select GPT.
Burner27 is offline   Reply With Quote
Old 02-23-2012, 03:29 PM   #16
Coup27
Golden Member
 
Coup27's Avatar
 
Join Date: Jul 2010
Location: England, UK
Posts: 1,803
Default

To be honest I still don't really understand what's going on here.

Looking at a GUID partition structure image, the last section is "Backup GUID Partition table header". Are you saying that this area is being overwrote with jibberish?

Does the system still operate without issue but if you check via some tool or command line, you notice that this area is not how it should be? If so, what are the implications of this? What is it used for? As I said, my 830 "appeared" to work fine but I never checked any partition structure to ensure stability because surely if there was an issue with my partition structure I'm sure a BSOD of Windows error would have came about.

Burner, although you have an UEFI based motherboard you have installed Windows in BIOS emulation mode with MBR as your partition structure. To the best of my knowledge if you convert a disk to GPT it wipes it clean in the process so there really isn't any point. Although next time you clean install you may want to give it a go.
__________________
Intel i5 4670 | Asus H87I-PLUS | Corsair XMS3 2x4GB | Samsung 840 Evo 120GB SSD | WD Green 3TB HDD | Seasonic SS-360GP | Lian-Li PC-Q27B mITX | Dell 23" IPS Monitor
Coup27 is offline   Reply With Quote
Old 02-23-2012, 05:45 PM   #17
techvslife
Junior Member
 
Join Date: Aug 2009
Posts: 8
Default

Quote:
Looking at a GUID partition structure image, the last section is "Backup GUID Partition table header". Are you saying that this area is being overwrote with jibberish?
Yes that is it: that area, really several sectors at the end of the drive, are being overwritten with jibberish or with data from other parts of the drive. As appears confirmed by Samsung, the drive overwrites at least the last sector of the drive, perhaps because it is wrongly seen as unused or safe to do so. It seems to be using that area as a scratchpad space or some space to do some sort of housekeeping or garbage collection. If it is by design, it is a very bad or foolish decision, as even with MBR disks, the last sector is often not safe to overwrite (for example, Microsoft uses the last sector to write critical metadata for dynamic disks). However, I have seen this behavior only with Samsung 830 drives using GPT partitions.

Quote:
Does the system still operate without issue but if you check via some tool or command line, you notice that this area is not how it should be? If so, what are the implications of this? What is it used for?
Writing over the area means you lose one of the main advantages of GPT over MBR: the ability to restore the partition from the backup if the main copy is altered either by accident, or malware, or by a hardware failure. That means you lose an important safeguard against loss of all your data. You would not see a boot failure or operation problem if ONLY the backup partition was overwritten -- though you would if you needed to use it because for whatever reason the primary partition area was not correct or fully readable. Backup copies of file allocation tables operate in a similar way, and those areas should not be overwritten by third parties either.

It is also not clear what other "unallocated areas" of disk the hard drive is writing to; I simply don't know what the drive is doing here, and whether it is by design or some defect. There may be undetected corruption at this point. The only corruption I know for sure is happening so far are on those last sectors, and it is happening regularly.

For now, it would be good to get confirmation from other Samsung 830 drive owners, if they use GPT partitions, of whether their drives are also corrupting these last sectors. The easiest way to do that is to run one of the two GPT utilities I mentioned earlier, checking to see if the backup partition tables are intact. If they do show as corrupt, I would recommend as a minimum saving the primary good GPT partition table and header to a file on a different drive, which those utilities can do.

I also caution that it may turn out that the Intel RSTe drivers are at fault instead, or some other cause; I have done only preliminary testing, as this is a production machine.

Last edited by techvslife; 02-23-2012 at 05:53 PM.
techvslife is offline   Reply With Quote
Old 03-02-2012, 04:08 PM   #18
Coup27
Golden Member
 
Coup27's Avatar
 
Join Date: Jul 2010
Location: England, UK
Posts: 1,803
Default

techvslife, firstly thank you for taking the time to explain that. I did read it the day after you posted it but I haven't had time to do anything lately let alone any forum posting.

From the issues I had with my Magician software and GPT, I made a "friend" at the Samsung contact centre ran by Hanaro in The Netherlands. I emailed her this thread and asked her for her thoughts. She said she did not know but passed it onto Samsung for a response and this is what I got back today:

"Hi please refer to the below (answer from our korean engineer):

To tell the conclusion first, it is not SSD related issue. SSD cannot make any corruption in GPT patition.


The user (techvslife) is worried about SSD can change the data on backup area in GPT partition, because GPT partition makes backup area on last sectors of the SSD.

It is known that the last sectors of SSD is reserved for data recovery, and that's why he is worried.
Howerver, the reserved area is unaccesible actually. Either MBR or GPT, user cannot make any partions on that area.
SSD do not chage backup area but chage reserved area.

As you may know, user can use overprovisioning for increasing the reserved area in MBR. that is additinal reserved area in only MBR. GPT may not support overprovisioining.


The user said that the backup area is overwritten, but it is not related on SSD operation. (It might be a normal operation of GPT)."



I don't know if that helps you at all?
__________________
Intel i5 4670 | Asus H87I-PLUS | Corsair XMS3 2x4GB | Samsung 840 Evo 120GB SSD | WD Green 3TB HDD | Seasonic SS-360GP | Lian-Li PC-Q27B mITX | Dell 23" IPS Monitor
Coup27 is offline   Reply With Quote
Old 03-02-2012, 06:13 PM   #19
techvslife
Junior Member
 
Join Date: Aug 2009
Posts: 8
Default

Coup27,
Thank you for forwarding that to someone at Samsung; that was certainly above and beyond.

I'm afraid though it doesn't end up shedding much light, perhaps because something is getting lost in the translation(s). (All my replies from Samsung have that problem; I guess I'll have to acquire a friend who knows Korean.) This looks erroneous if I understand it right:
Quote:
It might be a normal operation of GPT.
GPT is only a partition style and doesn't write anywhere; and its partition tables, even its backup copies, should not be overwritten unless of course partitions are being added, removed, or altered. (that's the same as MBR.) I have no doubt that the backup GPT area is being constantly corrupted with junk data, completely invalid for GPT partitions or any other partitioning structure; every tool I use confirms it is junk, and I've inspected its contents and can confirm that.

I have no idea how Samsung does overprovisioning--the whole area is dark to me. But we do know that the Samsung 830 SSD uses overprovisioning and that if an area is left unallocated in a MBR system, that area of the drive (what is being called the "reserved area" in the reply you received) will be used for overprovisioning and hence presumably will get written with some kind of "garbage" or shuffled data by the SSD. I don't know how the SSD "understands" a higher logical structure like MBR, but it looks like it must in some way. While this is a guess, it may be that, exactly because the Samsung SSD doesn't understand GPT, it is overwriting the backup GPT header and partition table. (That last sector location is also not covered by the GPT's "protective MBR," its fictional MBR partition table to protect non-MBR apps from fooling around with the GPT data). That is, it looks like with GPT partitions, Samsung is mixing up the "backup areas" (where backup GPT header and partitions are, areas that are unallocated AND unsafe to overwrite) with the overprovisioning "reserved areas" (areas that are unallocated AND safe to overwrite). At any rate, the backup GPT area is getting overwritten with random data that is not coming from any app (as far as I can see) but from random other places on the drive.

I still leave open the possibility it has something to do with the new intel rste drivers, since that also could explain random information from elsewhere, though it's somewhat unlikely if the intel rste drivers were the cause that it would be confined to the unallocated areas of the drive.

Anyway, it's true it is minor if that area is the only area getting corrupted; I have a manual backup copy of the GPT tables. I'll post back here if I discover anything else going on.

Last edited by techvslife; 03-02-2012 at 06:20 PM.
techvslife is offline   Reply With Quote
Old 03-31-2012, 03:18 PM   #20
Coup27
Golden Member
 
Coup27's Avatar
 
Join Date: Jul 2010
Location: England, UK
Posts: 1,803
Default

Sorry to thread bump people but techvslife if you're still around these parts, log in and check your PM's. I've been doing my own investigation into SSDs and UEFI/GPT and have sent you a couple of PMs.

Cheers.
__________________
Intel i5 4670 | Asus H87I-PLUS | Corsair XMS3 2x4GB | Samsung 840 Evo 120GB SSD | WD Green 3TB HDD | Seasonic SS-360GP | Lian-Li PC-Q27B mITX | Dell 23" IPS Monitor
Coup27 is offline   Reply With Quote
Old 09-02-2012, 05:19 AM   #21
nilsoli
Junior Member
 
Join Date: Sep 2012
Posts: 2
Default

Hello,

This thread seems a little dead, but as I've just installed w8 on a samsung 830 in uefI mod, I will share here my experience :

First when installing windows I didn't reserved some unallocated space for overprovisionning.

Install went fine, but as everyone said here, it was impossible to use magician to create some unallocated space on my disk.

I tried to launch gdisk but it doesn't seem to work on w8 (Problem opening \\.\physicaldrive0 for reading!), so I don't know if I have a corrupted disk.


For safety, I used windows's disk manager to reduce my C: partition and create 12GB unallocated space. I hope this is enough for overprovisionning to work.

Can someone tell me if there is another way to check my disk ?
nilsoli is offline   Reply With Quote
Old 09-02-2012, 08:25 AM   #22
Coup27
Golden Member
 
Coup27's Avatar
 
Join Date: Jul 2010
Location: England, UK
Posts: 1,803
Default

According to the communications I had with Samsung's support centre at the time, leaving unallocated space under GPT does not actually get used as spare area aka over provisioning.

The partition structure of GPT is very different than MBR. MBR has nothing at the end of the disk. Either a partition takes up all the space or there is a lump of space at the end. At the end of a GPT disk there are GPT related entries such as GUID partition entries and the GUID backup partition header. See this link.

This is what this thread was about. The OP was claiming the 830 was corrupting the overall GPT disk structure because what it assumed to be spare area, wasn't. Samsung said to me in one email "the unit is designed for MBR use only" but never expanded on that. They did tell me they were working on an SSD Magician release which supported GPT. That was scheduled for April, then July, and now it's pushed back to October I think. The latest version should also display SSD life as Samsung have disabled the SMART values from 3rd party apps displaying this. I would assume this release would be coupled with a GPT aware firmware update.

There is an argument to suggest that over provisioning is working, but at the expense of the GPT structure integrity.

Ultimately I gave up on UEFI/GPT and went back to BIOS/MBR. I think UEFI/GPT is a good 6 months ahead of it's time. Software support needs to catch up.
__________________
Intel i5 4670 | Asus H87I-PLUS | Corsair XMS3 2x4GB | Samsung 840 Evo 120GB SSD | WD Green 3TB HDD | Seasonic SS-360GP | Lian-Li PC-Q27B mITX | Dell 23" IPS Monitor
Coup27 is offline   Reply With Quote
Old 09-03-2012, 04:25 AM   #23
nilsoli
Junior Member
 
Join Date: Sep 2012
Posts: 2
Default

As my system seems to work as it is supposed, I'll keep running with UEFI/GPT.
I'm not affraid of having to format and reinstall everything.

Just waiting for Samsung now...
nilsoli is offline   Reply With Quote
Old 09-07-2012, 11:36 PM   #24
BFG10K
Lifer
 
BFG10K's Avatar
 
Join Date: Aug 2000
Posts: 20,461
Default

Quote:
Originally Posted by Coup27 View Post

Ultimately I gave up on UEFI/GPT and went back to BIOS/MBR. I think UEFI/GPT is a good 6 months ahead of it's time. Software support needs to catch up.
Yeah, I personally wouldn’t bother with GPT unless I had drives bigger than 2TB.
__________________
4790K | Titan | 16GB DDR3-1600 | Z97-K | 128GB Samsung 830 | 960GB Crucial M500 | 1TB VelociRaptor | X-Fi XtremeMusic | Seasonic X 560W | Fractal Arc R2 Midi | 30" HP LP3065
BFG10K is offline   Reply With Quote
Old 09-08-2012, 04:54 AM   #25
gillesv
Junior Member
 
Join Date: Sep 2012
Posts: 2
Default

I installed my SSD as GPT because I wanted to try UEFI.
I never had any problem though I cannot use 'Over provisioning" and "Performance Optimization" in SSD Magician.
I will install the new firmware and software that support UEFI when available (but I think I will wait one month or two after it is available)

My Config:
Asus P8P67 Pro
SSD 830 256 GB Firmware: CXM01B1Q (I know it is not the latest one)
Dual boot W7 x64 / W8 x64 RTM (MSDN)
SSD Magician ver 3.1 (only installed in W7)

Code:
>gdisk  0:
GPT fdisk (gdisk) version 0.8.5

Partition table scan:
  MBR: protective
  BSD: not present
  APM: not present
  GPT: present

Found valid GPT with protective MBR; using GPT.

Command (? for help): v

No problems found. 49916525 free sectors (23.8 GiB) available in 2
segments, the largest of which is 49914511 (23.8 GiB) in size.

Command (? for help): p
Disk 0:: 500118192 sectors, 238.5 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 7951441E-D707-4C3E-B999-11B6E544A3AB
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 500118158
Partitions will be aligned on 2048-sector boundaries
Total free space is 49916525 sectors (23.8 GiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   1            2048          206847   100.0 MiB   EF00  EFI system partition
   2          206848          468991   128.0 MiB   0C01  Microsoft reserved part
   3          468992       104083455   49.4 GiB    0700  Basic data partition
   4       104083456       345755647   115.2 GiB   0700  Basic data partition
   5       345755648       450203647   49.8 GiB    0700  Basic data partition
gillesv is offline   Reply With Quote
Reply

Tags
gpt, raid, ssd, uefi, windows 7 64

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 02:45 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.