summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-discuss/2012-November/008925.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-discuss/2012-November/008925.html')
-rw-r--r--zarb-ml/mageia-discuss/2012-November/008925.html114
1 files changed, 114 insertions, 0 deletions
diff --git a/zarb-ml/mageia-discuss/2012-November/008925.html b/zarb-ml/mageia-discuss/2012-November/008925.html
new file mode 100644
index 000000000..f9d4dc105
--- /dev/null
+++ b/zarb-ml/mageia-discuss/2012-November/008925.html
@@ -0,0 +1,114 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [Mageia-discuss] software-induced hard disk sector reallocation problem
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:mageia-discuss%40mageia.org?Subject=Re%3A%20%5BMageia-discuss%5D%20software-induced%20hard%20disk%20sector%20reallocation%0A%09problem&In-Reply-To=%3C50A093DE.8090005%40bigpond.com%3E">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="008921.html">
+ <LINK REL="Next" HREF="008926.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-discuss] software-induced hard disk sector reallocation problem</H1>
+ <B>Tony Blackwell</B>
+ <A HREF="mailto:mageia-discuss%40mageia.org?Subject=Re%3A%20%5BMageia-discuss%5D%20software-induced%20hard%20disk%20sector%20reallocation%0A%09problem&In-Reply-To=%3C50A093DE.8090005%40bigpond.com%3E"
+ TITLE="[Mageia-discuss] software-induced hard disk sector reallocation problem">tablackwell at bigpond.com
+ </A><BR>
+ <I>Mon Nov 12 07:14:54 CET 2012</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="008921.html">[Mageia-discuss] Anyone here that feel interested &amp; that have time to.......
+</A></li>
+ <LI>Next message: <A HREF="008926.html">[Mageia-discuss] software-induced hard disk sector reallocation problem
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#8925">[ date ]</a>
+ <a href="thread.html#8925">[ thread ]</a>
+ <a href="subject.html#8925">[ subject ]</a>
+ <a href="author.html#8925">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>Greetings all,
+I've stumbled on what seems like a really nasty problem, where after
+adding a new disk, a different perfectly good disk (as of a few minutes
+prior) comes to have a large number of reallocated sectors and the
+mageia 'smart' software is screaming at me that the disk is about to
+fail _now_ and to back it up.
+
+Context:
+mageia 1
+7 sata disks.
+bought a new (my first) 3TB disk, used gdisk to partition it, 'L' for
+partition types, chose the last option for MBR (was this wrong?) Next
+created an encrypted filesystem on this:
+
+a) modprobe dm-mod
+/usr/local/bin/cryptsetup.sh -c aes -h ripemd160 -y -b `blockdev
+--getsize /dev/
+sdg1` create cryptvol2 /dev/sdg1
+
+b) mke2fs -j /dev/mapper cryptvol2
+
+c) after completion, dmsetup remove cryptvol2
+
+d) mount the new filesystem with;
+
+modprobe dm-mod
+/usr/local/bin/cryptsetup.sh -c aes -h ripemd160 -y -b `blockdev
+--getsize /dev/
+sdg1` create cryptvol2 /dev/sdg1
+mount /dev/mapper/cryptvol2 /mnt/crypt2
+
+All looked good, but there was a 'smart' warning icon about a disk about
+to fail. The 3 TB disk I'd just done happened to be /dev/sdg. The disk
+reporting errors was /dev/sdh, a 2TB disk.
+
+Device: /dev/sdh
+SMART status: enabled
+Automatic Offline Data Collection status: enabled
+ALERT: The drive is reporting that it will FAIL very soon.
+Please back up as soon as possible!
+
+I grumbled, thought it a strange coincidence that this just appeared,
+took out the 'faulty' disk, bought another 3TB disk to replace it, did
+it all again. The new 3TB disk as again seen as /dev/sdg. Did same
+stuff again, up came the same error message about yet _another_ disk.
+Having had zero reallocated sectors only a few minutes before, it now
+reports 3975 reallocated sectors, the identical number to the first
+'normal' disk, and same error messages. The 'faulty' disk was again the
+one seen as /dev/sdg. This reallocation seems to have welded itself into
+the disk; persists after reboot.
+
+Help! I've no idea where to go next. Looks like a major bug, but in what?
+
+
+
+
+
+
+</PRE>
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="008921.html">[Mageia-discuss] Anyone here that feel interested &amp; that have time to.......
+</A></li>
+ <LI>Next message: <A HREF="008926.html">[Mageia-discuss] software-induced hard disk sector reallocation problem
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#8925">[ date ]</a>
+ <a href="thread.html#8925">[ thread ]</a>
+ <a href="subject.html#8925">[ subject ]</a>
+ <a href="author.html#8925">[ author ]</a>
+ </LI>
+ </UL>
+
+<hr>
+<a href="https://www.mageia.org/mailman/listinfo/mageia-discuss">More information about the Mageia-discuss
+mailing list</a><br>
+</body></html>