Advice on Western Digital 'Advanced Format' hard drives
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Advice on Western Digital 'Advanced Format' hard drives
Recently I've set up a couple of Slackware-13 machines using Western Digital 'Green' drives, with software raiding based on the Slackware How-to. No real problems.
I'm setting up another, and just purchased 2 x 1-TB WD Green Drives, without realising that these newer drives are so-called 'Advanced Format', using 4K sector size.
There is a fair amount of comment regarding issues with this technology under linux, e.g:
Apparently Western Digital have not expressed any desire to sort out problems with linux - they don't support it.
I haven't yet opened the packaging and am considering exchanging for another brand using more conventional technology.
My Questions:
1. Is anyone aware of a definitive solution enabling these 'advanced format' drives to be used efficiently under linux.
2. As an alternative, can anyone suggest an alternative large-capacity drive (e.g. hitachi, seagate...) which is well behaved (and perhaps even supported!) under linux.
BTW, I use Samsung 1TB Raid Class drives, and have been replacing my Seagates with Samsungs as they die. Not that Seagate is bad - these drives are all at least 2 years + old. Seagate's RMA department wasn't that professional to me, so I've decided not to buy anymore of their products
You need to enable the sector based hard disk and not the cylinder based hdd use, when starting fdisk (append -u) or inside fdisk (press u). That is currently all you have to do.
Newer fdisk versions (which are currently not in slackware-13 or slackware-current) use that mode per default or the user is allowed to diable the old dos-compat mode with -c which includes the sector based use too.
That seems almost too easy to be true, considering how much online discussion this has attracted!
On the WD community thread quoted above one suggestion for forcing partitions to be
correctly aligned is to run fdisk using -H and -S options. They say:
"fdisk using these parameters creates all partitions aligned to 4 KByte blockboundaries:
fdisk -H 224 -S 56 /dev/sdb"
Are you saying that with the -u option I don't need to worry about the -H, -S options.
All I know about these drives is from non-Linux sites (eg here), but my impression was that there is a jumper on the back of the drive that you can set to put the drive back into a compatibility mode.
Now, it would seem that a consequence of doing this would be that you lose the extra capacity and performance benefits, if any, by doing this, but it sounds as if it should work, even if it would not be ideal.
BTW, I got the impression that it was only a matter of time before other drive manufacturers start to use these formats...any idea whether that is true?
I just upgraded my desktop with 2 1.5TB WD "Green" drives and noticed a similar performance hit. Everything in X seemed to freeze sporadically for about 10 seconds. It did this when I was copying things to the HD as well as when the system was idle.
After reading this thread, I re-installed Slackware partitioning the drives with the fdisk -u command. It seemed like the easiest solution, so I felt I'd try it out.
I don't understand how it displaying the size of the drive in sectors instead of cylinders would make any difference. It does, however, seem to have made the system more responsive. It does slow down every once in a while but nothing like it was doing (almost completely unresponsive). I'm not sure if this is due to the hard drives, or that I'm using a Dell Dimension 8400 P4 system. It only has 1GB of RAM currently, I'm thinking of upgrading to 2 or 4GB, perhaps that would help.
I am turning my desktop into a seedbox and am copying over 385GB of data to the new drive. I have read in another forum someone saying their Green drive had severely slow write speeds. I don't notice anything currently, but can anyone give me the process of doing a speed test once this transfer is through?
I think these "green" drives probably have some nasty firmware that tries to save energy in a stupid way ... just a theory, but why else would they call it "green". You won't find be buying anything "green".
Well, the future is to 4K sector size, because the available size grown quickly. Imagine that in the next years can be usual to have hardrives with size of 1000TB.
The software should adapt.
Anyways, a suggestion for guys with harddisk serial killer tendencies:
Nothing sinister here. "Green" is just a code for "under-powered" in this case.
Yeah, it could be that too. Either way choose black. Don't worry about green, you'll pay for your sins whether you like it or not.
Quote:
Originally Posted by LuckyCyborg
Well, the future is to 4K sector size, because the available size grown quickly. Imagine that in the next years can be usual to have hardrives with size of 1000TB.
Let's hope the pr0n industry won't crash (unlikely), otherwise that dream will not come true.
Anyway, back to the topic, maybe Pat V will get to the bottom of this issue when he gets his.
Last edited by H_TeXMeX_H; 05-20-2010 at 11:49 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.