All of lore.kernel.org
 help / color / mirror / Atom feed
* error: "Your hard drive is failing" ???
@ 2017-09-03  2:48 ToddAndMargo
  2017-09-03  3:08 ` Eric Sandeen
  0 siblings, 1 reply; 9+ messages in thread
From: ToddAndMargo @ 2017-09-03  2:48 UTC (permalink / raw)
  To: linux-xfs

Dear Xfs,

Scientific Linux 7.3

$ rpm -qa \*xfsdump\*
xfsdump-3.1.4-1.el7.x86_64


When I do a backup to /dev/sda1 (/lin-bak), I get told

     WARNING: Your hard drive is failing
     Device: /dev/sda [SAT], unable to open device

xfs_repair finda nothing wrong with /dev/sda1.
gsmartcontrol -- both the long and short test -- find
nothing either.

Any words of wisdom?  Is this a false positive?


Many thanks,
-T

/home
      /dev/dm-2
      xfs
      RAID 1 and resides on an LSI 3ware LSI00216 SAS 9750-4i

/lin-bak
     /dev/sda1


/usr/sbin/xfsdump -v verbose -M 1 -L 1 -l 0 -f 
/lin-bak/2017-09-02_13-59-28_homeXfsDump  /home
/usr/sbin/xfsdump: using file dump (drive_simple) strategy
/usr/sbin/xfsdump: version 3.1.4 (dump format 3.0) - type ^C for status 
and control
/usr/sbin/xfsdump: level 0 dump of rn4.rent-a-nerd.local:/home
/usr/sbin/xfsdump: dump date: Sat Sep  2 13:59:36 2017
/usr/sbin/xfsdump: session id: bcaf0ce7-e742-41bc-ad9d-2db722c69e74
/usr/sbin/xfsdump: session label: "1"
/usr/sbin/xfsdump: ino map phase 1: constructing initial dump list
/usr/sbin/xfsdump: ino map phase 2: skipping (no pruning necessary)
/usr/sbin/xfsdump: ino map phase 3: skipping (only one dump stream)
/usr/sbin/xfsdump: ino map construction complete
/usr/sbin/xfsdump: estimated dump size: 659337362880 bytes
/usr/sbin/xfsdump: creating dump session media file 0 (media 0, file 0)
/usr/sbin/xfsdump: dumping ino map
/usr/sbin/xfsdump: dumping directories
/usr/sbin/xfsdump: dumping non-directory files
WARNING: Your hard drive is failing
Device: /dev/sda [SAT], unable to open device

umount: /lin-bak (/dev/mapper/lin-bak) unmounted
/sbin/xfs_repair /dev/sda1
Phase 1 - find and verify superblock...
Phase 2 - using internal log
         - zero log...
         - scan filesystem freespace and inode maps...
         - found root inode chunk
Phase 3 - for each AG...
         - scan and clear agi unlinked lists...
         - process known inodes and perform inode discovery...
         - agno = 0
         - agno = 1
         - agno = 2
         - agno = 3
         - process newly discovered inodes...
Phase 4 - check for duplicate blocks...
         - setting up duplicate extent list...
         - check for inodes claiming duplicate blocks...
         - agno = 1
         - agno = 3
         - agno = 2
         - agno = 0
Phase 5 - rebuild AG headers and trees...
         - reset superblock...
Phase 6 - check inode connectivity...
         - resetting contents of realtime bitmap and summary inodes
         - traversing filesystem ...
         - traversal finished ...
         - moving disconnected inodes to lost+found ...
Phase 7 - verify and correct link counts...
done

/lin-bak dismounted
           starting capacaity (used space): 65%
           stopping capacaity (used space): 68% Remaining space: 620224 MB


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: error: "Your hard drive is failing" ???
  2017-09-03  2:48 error: "Your hard drive is failing" ??? ToddAndMargo
@ 2017-09-03  3:08 ` Eric Sandeen
  2017-09-03  3:18   ` ToddAndMargo
  2017-09-03  5:00   ` ToddAndMargo
  0 siblings, 2 replies; 9+ messages in thread
From: Eric Sandeen @ 2017-09-03  3:08 UTC (permalink / raw)
  To: ToddAndMargo, linux-xfs

On 9/2/17 9:48 PM, ToddAndMargo wrote:
> Dear Xfs,
> 
> Scientific Linux 7.3
> 
> $ rpm -qa \*xfsdump\*
> xfsdump-3.1.4-1.el7.x86_64
> 
> When I do a backup to /dev/sda1 (/lin-bak), I get told
> 
>     WARNING: Your hard drive is failing
>     Device: /dev/sda [SAT], unable to open device

That's a message from smartctl, it has nothing to do with 
xfs or xfsdump.  It's probably related to your creative use
of hotplug.

-Eric

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: error: "Your hard drive is failing" ???
  2017-09-03  3:08 ` Eric Sandeen
@ 2017-09-03  3:18   ` ToddAndMargo
  2017-09-03  5:07     ` ToddAndMargo
  2017-09-03 12:32     ` Carlos E. R.
  2017-09-03  5:00   ` ToddAndMargo
  1 sibling, 2 replies; 9+ messages in thread
From: ToddAndMargo @ 2017-09-03  3:18 UTC (permalink / raw)
  To: linux-xfs

On 09/02/2017 08:08 PM, Eric Sandeen wrote:
> On 9/2/17 9:48 PM, ToddAndMargo wrote:
>> Dear Xfs,
>>
>> Scientific Linux 7.3
>>
>> $ rpm -qa \*xfsdump\*
>> xfsdump-3.1.4-1.el7.x86_64
>>
>> When I do a backup to /dev/sda1 (/lin-bak), I get told
>>
>>      WARNING: Your hard drive is failing
>>      Device: /dev/sda [SAT], unable to open device
> 
> That's a message from smartctl, it has nothing to do with
> xfs or xfsdump.  It's probably related to your creative use
> of hotplug.
> 
> -Eric
> 

Then I am just going to ignore it then.

/dev/sda1 is always dismounted unless it is doing a backup
(or I am restoring something).  It is always dismounted
when I change it.

Thank you for the help!


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: error: "Your hard drive is failing" ???
  2017-09-03  3:08 ` Eric Sandeen
  2017-09-03  3:18   ` ToddAndMargo
@ 2017-09-03  5:00   ` ToddAndMargo
  2017-09-03  5:08     ` Eric Sandeen
  1 sibling, 1 reply; 9+ messages in thread
From: ToddAndMargo @ 2017-09-03  5:00 UTC (permalink / raw)
  To: linux-xfs

On 09/02/2017 08:08 PM, Eric Sandeen wrote:
> It's probably related to your creative use
> of hotplug.

Here is a nice list of hot swap carriages:
https://www.cru-inc.com/products/removable/

This is the carriage I am using:
https://www.cru-inc.com/products/dataport/dp10_sassata_6g/


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: error: "Your hard drive is failing" ???
  2017-09-03  3:18   ` ToddAndMargo
@ 2017-09-03  5:07     ` ToddAndMargo
  2017-09-03 12:32     ` Carlos E. R.
  1 sibling, 0 replies; 9+ messages in thread
From: ToddAndMargo @ 2017-09-03  5:07 UTC (permalink / raw)
  To: linux-xfs

On 09/02/2017 08:18 PM, ToddAndMargo wrote:
> /dev/sda1 is always dismounted unless it is doing a backup
> (or I am restoring something).  It is always dismounted
> when I change it.

Powered off before removing too


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: error: "Your hard drive is failing" ???
  2017-09-03  5:00   ` ToddAndMargo
@ 2017-09-03  5:08     ` Eric Sandeen
  0 siblings, 0 replies; 9+ messages in thread
From: Eric Sandeen @ 2017-09-03  5:08 UTC (permalink / raw)
  To: ToddAndMargo, linux-xfs

On 9/3/17 12:00 AM, ToddAndMargo wrote:
> On 09/02/2017 08:08 PM, Eric Sandeen wrote:
>> It's probably related to your creative use
>> of hotplug.
> 
> Here is a nice list of hot swap carriages:
> https://www.cru-inc.com/products/removable/
> 
> This is the carriage I am using:
> https://www.cru-inc.com/products/dataport/dp10_sassata_6g/

Please restrict your emails to linux-xfs to topics which are
relevant to the XFS filesystem.  There are hundreds of subscribers
to this list, and it's important to stay on topic to keep it
manageable.

Thanks,
-Eric

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: error: "Your hard drive is failing" ???
  2017-09-03  3:18   ` ToddAndMargo
  2017-09-03  5:07     ` ToddAndMargo
@ 2017-09-03 12:32     ` Carlos E. R.
  2017-09-03 23:59       ` ToddAndMargo
  1 sibling, 1 reply; 9+ messages in thread
From: Carlos E. R. @ 2017-09-03 12:32 UTC (permalink / raw)
  To: Linux-XFS mailing list


[-- Attachment #1.1: Type: text/plain, Size: 804 bytes --]

On 2017-09-03 05:18, ToddAndMargo wrote:
> On 09/02/2017 08:08 PM, Eric Sandeen wrote:
>> On 9/2/17 9:48 PM, ToddAndMargo wrote:
>>> Dear Xfs,
>>>
>>> Scientific Linux 7.3
>>>
>>> $ rpm -qa \*xfsdump\*
>>> xfsdump-3.1.4-1.el7.x86_64
>>>
>>> When I do a backup to /dev/sda1 (/lin-bak), I get told
>>>
>>>      WARNING: Your hard drive is failing
>>>      Device: /dev/sda [SAT], unable to open device
>>
>> That's a message from smartctl, it has nothing to do with
>> xfs or xfsdump.  It's probably related to your creative use
>> of hotplug.

> Then I am just going to ignore it then.

smartctl daemon may not be aware that you swapped a disk and be
confused. You may have to restart it.

-- 
Cheers / Saludos,

		Carlos E. R.
		(from 42.2 x86_64 "Malachite" at Telcontar)


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: error: "Your hard drive is failing" ???
  2017-09-03 12:32     ` Carlos E. R.
@ 2017-09-03 23:59       ` ToddAndMargo
  2017-09-04  0:05         ` Carlos E. R.
  0 siblings, 1 reply; 9+ messages in thread
From: ToddAndMargo @ 2017-09-03 23:59 UTC (permalink / raw)
  To: Carlos E. R., Linux-XFS mailing list

On 09/03/2017 05:32 AM, Carlos E. R. wrote:
> On 2017-09-03 05:18, ToddAndMargo wrote:
>> On 09/02/2017 08:08 PM, Eric Sandeen wrote:
>>> On 9/2/17 9:48 PM, ToddAndMargo wrote:
>>>> Dear Xfs,
>>>>
>>>> Scientific Linux 7.3
>>>>
>>>> $ rpm -qa \*xfsdump\*
>>>> xfsdump-3.1.4-1.el7.x86_64
>>>>
>>>> When I do a backup to /dev/sda1 (/lin-bak), I get told
>>>>
>>>>       WARNING: Your hard drive is failing
>>>>       Device: /dev/sda [SAT], unable to open device
>>>
>>> That's a message from smartctl, it has nothing to do with
>>> xfs or xfsdump.  It's probably related to your creative use
>>> of hotplug.
> 
>> Then I am just going to ignore it then.
> 
> smartctl daemon may not be aware that you swapped a disk and be
> confused. You may have to restart it.
> 

Hi Carlos,

I am not finding a smartctl daemon running.  Is it
known by another name?

# systemctl status smartctld
Unit smartctld.service could not be found.

# systemctl status smartctl
Unit smartctl.service could not be found.

# ps ax | grep -i [s]martctl
<nothing>

And can I just do a "systemctl restart xxx" on it?  Or will
it just confuse the issue.


-T


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: error: "Your hard drive is failing" ???
  2017-09-03 23:59       ` ToddAndMargo
@ 2017-09-04  0:05         ` Carlos E. R.
  0 siblings, 0 replies; 9+ messages in thread
From: Carlos E. R. @ 2017-09-04  0:05 UTC (permalink / raw)
  To: Linux-XFS mailing list


[-- Attachment #1.1: Type: text/plain, Size: 1231 bytes --]

On 2017-09-04 01:59, ToddAndMargo wrote:
> On 09/03/2017 05:32 AM, Carlos E. R. wrote:
>> On 2017-09-03 05:18, ToddAndMargo wrote:


>>> Then I am just going to ignore it then.
>>
>> smartctl daemon may not be aware that you swapped a disk and be
>> confused. You may have to restart it.
>>
> 
> Hi Carlos,
> 
> I am not finding a smartctl daemon running.  Is it
> known by another name?
> 
> # systemctl status smartctld
> Unit smartctld.service could not be found.

Telcontar:~ # systemctl status smartd.service 
● smartd.service - Self Monitoring and Reporting Technology (SMART) Daemon
   Loaded: loaded (/usr/lib/systemd/system/smartd.service; enabled; vendor preset: enabled)
   Active: active (running) since Thu 2017-08-17 04:13:21 CEST; 2 weeks 3 days ago
     Docs: man:smartd(8)
           man:smartd.conf(5)
 Main PID: 1588 (smartd)
    Tasks: 1 (limit: 512)
   CGroup: /system.slice/smartd.service
           └─1588 /usr/sbin/smartd -n


> And can I just do a "systemctl restart xxx" on it?  Or will
> it just confuse the issue.

I would try a reload first, it works here (openSUSE).

-- 
Cheers / Saludos,

		Carlos E. R.
		(from 42.2 x86_64 "Malachite" at Telcontar)


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2017-09-04  0:05 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-03  2:48 error: "Your hard drive is failing" ??? ToddAndMargo
2017-09-03  3:08 ` Eric Sandeen
2017-09-03  3:18   ` ToddAndMargo
2017-09-03  5:07     ` ToddAndMargo
2017-09-03 12:32     ` Carlos E. R.
2017-09-03 23:59       ` ToddAndMargo
2017-09-04  0:05         ` Carlos E. R.
2017-09-03  5:00   ` ToddAndMargo
2017-09-03  5:08     ` Eric Sandeen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.