You are not logged in.

#26 2015-07-22 15:35:14

ccoffey
Member
Registered: 2014-11-04
Posts: 15

Re: Seagate SMR drive and Current 4.0.x Kernel

Great work.
Thank you for taking the time to look at this.

Offline

#27 2015-07-23 12:59:50

warped
Member
Registered: 2009-08-19
Posts: 41

Re: Seagate SMR drive and Current 4.0.x Kernel

oh - all pleasure on my side! :-)

Offline

#28 2015-07-23 13:46:42

R00KIE
Forum Moderator
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: Seagate SMR drive and Current 4.0.x Kernel

Did you report this upstream? If you haven't you should, otherwise it might not get fixed for quite a long time (until more people start using these drives).


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#29 2015-07-24 09:02:21

warped
Member
Registered: 2009-08-19
Posts: 41

Re: Seagate SMR drive and Current 4.0.x Kernel

R00KIE wrote:

Did you report this upstream? If you haven't you should, otherwise it might not get fixed for quite a long time (until more people start using these drives).

Yes. It is already reported to kernel guys.

Offline

#30 2015-08-12 18:14:56

dietzi96
Member
Registered: 2015-07-04
Posts: 11

Re: Seagate SMR drive and Current 4.0.x Kernel

Because the problem is reported now and hopefully going to be fixed soon, I switched to ext4 and the lts-kernel.
So really thank you for reporting this issue. May you post the link to this report, please? I'd just like to check, when and in which kernel version this issue (is or) will be fixed.

Offline

#31 2015-08-22 05:49:26

anatolik
Developer
Registered: 2012-09-27
Posts: 436

Re: Seagate SMR drive and Current 4.0.x Kernel

Did not find any discussions in the upstream maillist (linux-scsi) so decided to post the bug there. Let's see what SCSI maintainers reply

http://marc.info/?l=linux-scsi&m=144022231809026&w=2

Offline

#32 2015-08-26 04:55:08

anatolik
Developer
Registered: 2012-09-27
Posts: 436

Re: Seagate SMR drive and Current 4.0.x Kernel

Hi everyone.

Could you please test the patch provided in #25 and check if it fixes/doesn't fix the error for you? Thanks.

Offline

#33 2015-08-28 03:14:21

givemefive
Member
Registered: 2015-08-28
Posts: 3

Re: Seagate SMR drive and Current 4.0.x Kernel

Hi, I will try to apply that patch and whatever else tomorrow.

I'm on 4.1.6 and I have the same drive and the same errors.

Took me a week to figure out how to register for this forum as the captcha was bugged.  Oh well.

this is the command I use to saturate a drive if anyone wants to test with it:
openssl enc -aes-256-ctr -pass pass:"$(dd if=/dev/urandom bs=128 count=1 2>/dev/null | base64)" -nosalt </dev/zero | pv --progress --eta --rate --bytes --size 8000632782848 | dd of=/.../.... bs=2M

Last edited by givemefive (2015-08-28 03:19:22)

Offline

#34 2015-08-28 23:42:22

givemefive
Member
Registered: 2015-08-28
Posts: 3

Re: Seagate SMR drive and Current 4.0.x Kernel

I think the kernel permanently fucked my drive.  It won't be recognized in Linux and Windows sees it as a 1300 GB drive.  I applied that patch and was ready to test but it just wouldn't show up.

Vendor I bought it from has a really shitty return policy or I would have already sent it back...ugh.

Last edited by givemefive (2015-08-28 23:43:08)

Offline

#35 2015-08-29 17:43:05

R00KIE
Forum Moderator
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: Seagate SMR drive and Current 4.0.x Kernel

Check if Host Protected Area (HPA) isn't active. On the other hand if linux doesn't detect it something me be wrong, maybe check your bios/uefi setting and check if you have the sata ports in ahci mode.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#36 2015-09-18 15:30:41

godfuture
Member
Registered: 2015-09-18
Posts: 1

Re: Seagate SMR drive and Current 4.0.x Kernel

I have the same issue on Ubuntu 15.04 with kernel 3.19.0.26 x64.

How do I (reliably) apply the patch provided by #25?

Offline

#37 2015-11-05 08:49:50

overflyer
Member
Registered: 2015-11-05
Posts: 1

Re: Seagate SMR drive and Current 4.0.x Kernel

Hi guys,

I specifically registered and signed in because I thought I maybe able to help. I had some mail traffic for a while with adrian palmer who provides the EXT4-SMR git repo. To make it very simple and short in all those emails he told me that we possess currently the Drive Managed Version of this drive since the Host Aware versions will be released later. His project only concerns Host Aware drives. For our drive he uses following command to create a file system:

mke2fs -t ext4 -E packed_meta_blocks=1,ZBD,num_backup_sb=0 -O sparse_super2

Probably (total noob here concerning drives/filesystems) this requires the patched 1.42.12 version of e2fs from git. Im not quite sure.

Last edited by overflyer (2015-11-05 09:03:09)

Offline

#38 2015-11-05 13:39:07

anatolik
Developer
Registered: 2012-09-27
Posts: 436

Re: Seagate SMR drive and Current 4.0.x Kernel

I see this problem with my BTRFS volumes. So it is unrelated to ext4. The problem is somewhere at lower level (kernel block level or firmware).

Offline

#39 2015-12-12 00:27:24

gshearer
Member
From: Cincinnati, OH, USA
Registered: 2014-01-14
Posts: 50

Re: Seagate SMR drive and Current 4.0.x Kernel

FYI - I have several Seagate ST5000DM000 drives -- and I have this same issue on 4.2.5. (And all previously tried kernels). Bought these drives on Black Friday LAST YEAR for storing large media files.

I've tried ext2/3/4, jfs, zfs, xfs, btrfs, etc..  NO file system works reliably except NTFS, which seems to work without issue.


--
George Shearer
doc at lame dot org
Linux Nerd since the MCC Interim Days

Offline

#40 2015-12-12 00:33:06

anatolik
Developer
Registered: 2012-09-27
Posts: 436

Re: Seagate SMR drive and Current 4.0.x Kernel

The issue had been tracked down and merged to upstream Linux kernel version 4.4.

See https://bugzilla.kernel.org/show_bug.cgi?id=93581 for more info

Offline

#41 2015-12-14 14:44:27

givemefive
Member
Registered: 2015-08-28
Posts: 3

Re: Seagate SMR drive and Current 4.0.x Kernel

Thanks for the update. I wonder if I will be able to recover my drive or if I will have to rma it.

Offline

#42 2016-01-01 13:02:53

llaith
Member
Registered: 2016-01-01
Posts: 2

Re: Seagate SMR drive and Current 4.0.x Kernel

I have two of these drives. I can confirm exactly what ccoffee, dietzi96, and others have said.

I was using these without problem in Mint 17.2, and when I switched to Arch a few weeks ago, I started suffering those failures. I of course assumed the drive in question was bad, and RMA'd one of them, and put the other away to attempt to read the data off when I had a the replacement one (one is an offline backup of the other), but the very moment I got the replacement drive and plugged it in... the same problem... severe failures at ~150gb of transfers.

Now the drive has smart failures (end-to-end) which considering that particular metric seems to imply a drive electronics failure (which given the circumstances is highly implausible), I am hoping I can ignore for now, and I rebooted from the old mint live usb I had left over which uses kernel 3.16, and no problem at all. I've now copied 4TB of data from the other 8TB SMR drive to the replacement one with the Smart 'end-to-end' failures with no other problems at all. Speed is even good (~60 MB/s even with the frequent pauses for the drive to shuffle the data around internally).

I notice that the bug report that arose from this has been re-opened after the associated kernel patch didn't work, so I suppose will be looking at downgrading the Arch kernel to something that works (3.16 perhaps) until the problem is properly resolved.

Until then I would stay away from these drives (not an option for me unfortunately) and go with 2xWD 4TB instead... at least until the problems of kernel support are ironed out.

Last edited by llaith (2016-01-01 13:03:45)

Offline

#43 2016-03-23 17:15:34

craigdabbs
Member
Registered: 2011-07-01
Posts: 11

Re: Seagate SMR drive and Current 4.0.x Kernel

I have just installed one of these drives into my media server to replace 4 raid5 drives.  I have created a LVM and formatted to btrfs and started the copying of files.
I have a total of 5.2TB to copy over and its 1.8TB into the process without any errors at all.  Average transfer so far is around 150Mbs.

My current kernel is 4.4.5-1

I assume all the previous issues have been fixed and thought i would mention it here on the forums as there is still not much info around about these drives.

Last edited by craigdabbs (2016-03-23 17:17:59)

Offline

#44 2016-03-24 09:54:48

llaith
Member
Registered: 2016-01-01
Posts: 2

Re: Seagate SMR drive and Current 4.0.x Kernel

Agreed, the problem is resolved. A couple of months ago I ended up installing the mainline 4.5 kernel and had no problems since. Drive speed is up from 60 MB/s to 120MB/s and over. Also those end-to-end smart failures caused me no problems and have not reoccurred. According to the latest status of the patch, some people are experiencing a cascading failure if they have more than one drive attached to the same controller. I have two of these in my box plugged into normal SATA ports on the motherboard (I don't know if that qualifies as 'on the same controller' or not, and have done terrabyte sized copies from one to the other with no problems.

Last edited by llaith (2016-03-24 09:58:39)

Offline

Board footer

Powered by FluxBB