Unix/Linux Go Back    


Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle.

Zpool status shows scrub date of Dec 31, 1969

Solaris


Tags
1969, scrub, zpool

Reply    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 05-01-2017   -   Original Discussion by jasonu
jasonu's Unix or Linux Image
jasonu jasonu is offline
Registered User
 
Join Date: Feb 2011
Last Activity: 13 September 2017, 7:13 AM EDT
Location: Toronto
Posts: 10
Thanks: 6
Thanked 0 Times in 0 Posts
Zpool status shows scrub date of Dec 31, 1969

hello,
We are using Solaris 11.3 on SPARC T5-2. The below is the actual output from "zpool status" command. The disks were scrubed last week, but it says the scrub repaired on Dec 31, 1969.
Does anyone know how to correct this to report the correct date?
Thanks


Code:
  pool: rpool
 state: ONLINE
  scan: scrub repaired 0 in 25m24s with 0 errors on Wed Dec 31 19:00:00 1969

config:

        NAME        STATE     READ WRITE CKSUM
        rpool       ONLINE       0     0     0
          mirror-0  ONLINE       0     0     0
            c1d0s0  ONLINE       0     0     0
            c1d2s0  ONLINE       0     0     0

errors: No known data errors

  pool: u02
 state: ONLINE
  scan: scrub repaired 0 in 21m44s with 0 errors on Wed Dec 31 19:00:00 1969

config:

        NAME      STATE     READ WRITE CKSUM
        u02       ONLINE       0     0     0
          c1d1s0  ONLINE       0     0     0
          c1d3s0  ONLINE       0     0     0

Sponsored Links
    #2  
Old Unix and Linux 05-01-2017   -   Original Discussion by jasonu
Peasant's Unix or Linux Image
Peasant Peasant is offline Forum Advisor  
Registered User
 
Join Date: Mar 2011
Last Activity: 12 December 2017, 12:09 AM EST
Posts: 1,099
Thanks: 31
Thanked 330 Times in 285 Posts
What is the output of date on that box ?

Regards
Peasant.
Sponsored Links
    #3  
Old Unix and Linux 05-02-2017   -   Original Discussion by jasonu
jasonu's Unix or Linux Image
jasonu jasonu is offline
Registered User
 
Join Date: Feb 2011
Last Activity: 13 September 2017, 7:13 AM EDT
Location: Toronto
Posts: 10
Thanks: 6
Thanked 0 Times in 0 Posts
The server has the corrected time. The server is synced with time server every day.

This is Oracle SPARC VM domain. I wonder if this has anything to do with this.

---------- Post updated 05-02-17 at 04:32 AM ---------- Previous update was 05-01-17 at 02:36 PM ----------

The server already had correct time, but the zpool status still shows Dec 31, 1969.
Has any one encountered this issue before?


Code:
root@T520:~# date
Tuesday, May  2, 2017 04:30:50 AM EDT
root@T520:~# zpool status
  pool: rpool
 state: ONLINE
  scan: scrub repaired 0 in 4m16s with 0 errors on Wed Dec 31 19:00:00 1969

config:

        NAME                         STATE     READ WRITE CKSUM
        rpool                        ONLINE       0     0     0
          mirror-0                   ONLINE       0     0     0
            c0t5000CCA0707CED20d0s0  ONLINE       0     0     0
            c0t5000CCA0707CF380d0s0  ONLINE       0     0     0

errors: No known data errors

  pool: u01
 state: ONLINE
  scan: scrub repaired 0 in 20m17s with 0 errors on Wed Dec 31 19:00:00 1969

config:

        NAME                         STATE     READ WRITE CKSUM
        u01                          ONLINE       0     0     0
          mirror-0                   ONLINE       0     0     0
            c0t5000CCA0707CED20d0s3  ONLINE       0     0     0
            c0t5000CCA0707CF380d0s3  ONLINE       0     0     0

    #4  
Old Unix and Linux 05-02-2017   -   Original Discussion by jasonu
Don Cragun's Unix or Linux Image
Don Cragun Don Cragun is online now Forum Staff  
Administrator
 
Join Date: Jul 2012
Last Activity: 12 December 2017, 5:19 AM EST
Location: San Jose, CA, USA
Posts: 10,769
Thanks: 590
Thanked 3,768 Times in 3,216 Posts
It looks like scrub cleared the counts and cleared the timestamp. Note that in the US Eastern timezone, the local time corresponding to the UNIX Epoch -- which is the time with timestamp 0 (midnight at the start of January 1, 1970 GMT) is Wed Dec 31 19:00:00 1969 EST.
Sponsored Links
    #5  
Old Unix and Linux 05-02-2017   -   Original Discussion by jasonu
Peasant's Unix or Linux Image
Peasant Peasant is offline Forum Advisor  
Registered User
 
Join Date: Mar 2011
Last Activity: 12 December 2017, 12:09 AM EST
Posts: 1,099
Thanks: 31
Thanked 330 Times in 285 Posts
zpool scrub/resilver timestamp is incorrect on SPARC systems running Solaris 11.3 (Doc ID 2131291.1)

Notice that this bug does not affect your system in any other way other then wrong display of timestamp in zpool commands.

You should update your system to Oracle Solaris 11.3.4.5.0 or greater.
Probably followed by a zpool upgrade for those pools (i cannot find info if that step is also required).

Notice that if you upgrade your rpool and pools, you will not be able to rollback to older release(s) via beadm.

Get your current release to verify :

Code:
pkg info entire

Execute that command on both hypervisor and LDOM.

Check out my oracle website for bug identification, workarounds and such.
You'll need an account and support for that server (to download patches as well).

Hope that helps
Regards
Peasant.
The Following User Says Thank You to Peasant For This Useful Post:
jasonu (09-07-2017)
Sponsored Links
    #6  
Old Unix and Linux 09-07-2017   -   Original Discussion by jasonu
jasonu's Unix or Linux Image
jasonu jasonu is offline
Registered User
 
Join Date: Feb 2011
Last Activity: 13 September 2017, 7:13 AM EDT
Location: Toronto
Posts: 10
Thanks: 6
Thanked 0 Times in 0 Posts
Thank you very much for the answer.
Sponsored Links
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
zpool status shows things NOT OK, but 3rd party raid says all is well jdigjudy Solaris 5 05-08-2012 04:33 AM
Assistance required when booting M3000, error shows; * MBU_A Status:Degraded; Ver:0701h; Serial: Touchpoint Hardware 4 03-19-2012 07:16 AM
zpool status -v erros message beginner Solaris 0 05-12-2011 03:05 AM
Shell Scripts - shows today’s date and time in a better format than ‘date’ (Uses positional paramete citizencro UNIX for Dummies Questions & Answers 3 04-11-2011 10:03 PM
Tape Status shows 2 Hard errors and 5 Underruns on new tape psytropic SCO 5 04-24-2008 02:29 PM



All times are GMT -4. The time now is 06:19 AM.