Sponsored Content
Operating Systems Solaris Zpool status shows scrub date of Dec 31, 1969 Post 302996789 by Peasant on Tuesday 2nd of May 2017 10:42:11 AM
Old 05-02-2017
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.
This User Gave Thanks to Peasant For This Post:
 

9 More Discussions You Might Find Interesting

1. SCO

Tape Status shows 2 Hard errors and 5 Underruns on new tape

when I do a tape status /dev/rStp0 I get the following on a new tape and I have tried several: Status : ready beginning-of-tape soft errors : 0 hard errors: 2 underruns: 5 My BackupEdge has stopped backing up my system because it asks for a new volume yet my total system data is under 20... (5 Replies)
Discussion started by: psytropic
5 Replies

2. UNIX for Dummies Questions & Answers

Shell Scripts - shows today’s date and time in a better format than ‘date’ (Uses positional paramete

Hello, I am trying to show today's date and time in a better format than ‘date' (Using positional parameters). I found a command mktime and am wondering if this is the best command to use or will this also show me the time elapse since 1/30/70? Any help would be greatly appreciated, Thanks... (3 Replies)
Discussion started by: citizencro
3 Replies

3. Solaris

zpool status -v erros message

# zpool status -v pool: pool1 state: ONLINE status: One or more devices has experienced an error resulting in data corruption. Applications may be affected. action: Restore the file in question if possible. Otherwise restore the entire pool from backup. see:... (0 Replies)
Discussion started by: beginner
0 Replies

4. Hardware

Assistance required when booting M3000, error shows; * MBU_A Status:Degraded; Ver:0701h; Serial:

Here is the error showing in the XCSF, can anyone recommend further diagnosis for this specific error?; XSCF> showhardconf SPARC Enterprise M3000; + Serial:PX61142029; Operator_Panel_Switch:Locked; + Power_Supply_System:Single; SCF-ID:XSCF#0; + System_Power:On;... (4 Replies)
Discussion started by: Touchpoint
4 Replies

5. Solaris

zpool status shows things NOT OK, but 3rd party raid says all is well

Hi, I've gone around with this on Oracle's site (and tech support) and ended up empty handed and without ideas of what to do to fix the problem. Background: V245, Solaris 10, has 2 12-disk infortrend RAIDs attached. Have replaced faulty disks many times - familiar with the routine. However,... (5 Replies)
Discussion started by: jdigjudy
5 Replies

6. Shell Programming and Scripting

How to add day of week at the end of each line that shows the date?

I have a file that looks like: file1: www_blank_com 20121008153552 www_blank_com 20121008162542 www_blank_com 20121009040540 www_blank_com 20121009041542 www_blank_com 20121010113548 www_blank_com 20121011113551 www_blank_com 20121012113542 I want the new file to show the day of... (3 Replies)
Discussion started by: castrojc
3 Replies

7. UNIX for Dummies Questions & Answers

How to scrub directory only if on own partition/drive?

Hi all, I've been working on a script to run a disk wipe (using Jim Garlick's scrub tool) on the filesystem in Xerox production printer RIPs. Easy enough if there's just one partition, but I need to cater for the possibility of multiple drives/partitions, and either ZFS or UFS (don't know if... (2 Replies)
Discussion started by: DavidDawesFXA
2 Replies

8. Solaris

Solaris 9 Zone : Date command in crontab shows delayed(One Hour) output

SOLARIS 9 Zone : date command in crontab shows delayed(One Hour) output Hi folks, the date command shows the correct date and time, How ever, if the date command executed through crontab in any form of scrip the output shows as one hour delayed, similar to date -u.. Can some one help in... (12 Replies)
Discussion started by: judi
12 Replies

9. Shell Programming and Scripting

• Write a shell script that upon invocation shows the time and date and lists all the logged-in user

help me (1 Reply)
Discussion started by: sonu pandey
1 Replies
DATEFMT_FORMAT(3)							 1							 DATEFMT_FORMAT(3)

IntlDateFormatter::format - Format the date/time value as a string

	Object oriented style

SYNOPSIS
public string IntlDateFormatter::format (mixed $value) DESCRIPTION
Procedural style string datefmt_format (IntlDateFormatter $fmt, mixed $value) Formats the time value as a string. PARAMETERS
o $fmt - The date formatter resource. o $value - Value to format. This may be a DateTime object, an IntlCalendar object, a numeric type representing a (possibly fractional) num- ber of seconds since epoch or an array in the format output by localtime(3). If a DateTime or an IntlCalendar object is passed, its timezone is not considered. The object will be formatted using the formaters configured timezone. If one wants to use the timezone of the object to be formatted, IntlDateFormatter.setTimeZone(3) must be called before with the objects timezone. Alterna- tively, the static function datefmt_formatObject(3) may be used instead. RETURN VALUES
The formatted string or, if an error occurred, FALSE. CHANGELOG
+-----------------+---------------------------------------------------+ | Version | | | | | | | Description | | | | +-----------------+---------------------------------------------------+ |5.5.0/PECL 3.0.0 | | | | | | | Support for providing IntlCalendar objects to | | | the $value parameter was added. | | | | | 5.3.4 | | | | | | | Support for providing DateTime objects to the | | | $value parameter was added. | | | | +-----------------+---------------------------------------------------+ EXAMPLES
Example #1 datefmt_format(3) example <?php $fmt = datefmt_create( 'en_US', IntlDateFormatter::FULL, IntlDateFormatter::FULL, 'America/Los_Angeles', IntlDateFormatter::GREGORIAN ); echo 'First Formatted output is ' . datefmt_format($fmt, 0); $fmt = datefmt_create( 'de-DE', IntlDateFormatter::FULL, IntlDateFormatter::FULL, 'America/Los_Angeles', IntlDateFormatter::GREGORIAN ); echo 'Second Formatted output is ' . datefmt_format($fmt, 0); $fmt = datefmt_create( 'en_US', IntlDateFormatter::FULL, IntlDateFormatter::FULL, 'America/Los_Angeles', IntlDateFormatter::GREGORIAN, 'MM/dd/yyyy' ); echo 'First Formatted output with pattern is ' . datefmt_format($fmt, 0); $fmt = datefmt_create( 'de-DE', IntlDateFormatter::FULL, IntlDateFormatter::FULL, 'America/Los_Angeles', IntlDateFormatter::GREGORIAN, 'MM/dd/yyyy' ); echo "Second Formatted output with pattern is " . datefmt_format($fmt, 0); ?> Example #2 OO example <?php $fmt = new IntlDateFormatter( 'en_US', IntlDateFormatter::FULL, IntlDateFormatter::FULL, 'America/Los_Angeles', IntlDateFormatter::GREGORIAN ); echo 'First Formatted output is ' . $fmt->format(0); $fmt = new IntlDateFormatter( 'de-DE', IntlDateFormatter::FULL, IntlDateFormatter::FULL, 'America/Los_Angeles', IntlDateFormatter::GREGORIAN ); echo 'Second Formatted output is ' . $fmt->format(0); $fmt = new IntlDateFormatter( 'en_US', IntlDateFormatter::FULL, IntlDateFormatter::FULL, 'America/Los_Angeles', IntlDateFormatter::GREGORIAN, 'MM/dd/yyyy' ); echo 'First Formatted output with pattern is ' . $fmt->format(0); $fmt = new IntlDateFormatter( 'de-DE', IntlDateFormatter::FULL, IntlDateFormatter::FULL, 'America/Los_Angeles', IntlDateFormatter::GREGORIAN, 'MM/dd/yyyy' ); echo 'Second Formatted output with pattern is ' . $fmt->format(0); ?> The above example will output: First Formatted output is Wednesday, December 31, 1969 4:00:00 PM PT Second Formatted output is Mittwoch, 31. Dezember 1969 16:00 Uhr GMT-08:00 First Formatted output with pattern is 12/31/1969 Second Formatted output with pattern is 12/31/1969 Example #3 With IntlCalendar object <?php $tz = reset(iterator_to_array(IntlTimeZone::createEnumeration('FR'))); $formatter = IntlDateFormatter::create( 'fr_FR', IntlDateFormatter::FULL, IntlDateFormatter::FULL, $tz, IntlDateFormatter::GREGORIAN ); $cal = IntlCalendar::createInstance($tz, '@calendar=islamic-civil'); $cal->set(IntlCalendar::FIELD_MONTH, 8); //9th month, Ramadan $cal->set(IntlCalendar::FIELD_DAY_OF_MONTH, 1); //1st day $cal->clear(IntlCalendar::FIELD_HOUR_OF_DAY); $cal->clear(IntlCalendar::FIELD_MINUTE); $cal->clear(IntlCalendar::FIELD_SECOND); $cal->clear(IntlCalendar::FIELD_MILLISECOND); echo "In this islamic year, Ramadan started/will start on: ", $formatter->format($cal), " "; //Its the formatters timezone that is used: $formatter->setTimeZone('Asia/Tokyo'); echo "After changing timezone: ", $formatter->format($cal), " "; The above example will output: In this islamic year, Ramadan started/will start on: mardi 9 juillet 2013 19:00:00 heure avancee d'Europe centrale After changing timezone: mercredi 10 juillet 2013 02:00:00 heure normale du Japon SEE ALSO
datefmt_create(3), datefmt_parse(3), datefmt_get_error_code(3), datefmt_get_error_message(3), datefmt_format_object(3). PHP Documentation Group DATEFMT_FORMAT(3)
All times are GMT -4. The time now is 08:44 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy