Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: AIX 5.3 03 - strange time or ls issue

17 views
Skip to first unread message

Blazej Antczak

unread,
Oct 27, 2009, 2:24:53 PM10/27/09
to
Blazej Antczak pisze:
<CUT>

one add:

behavior of istat against these test files (p[0...5]) is correct:

istat /tmp/test/p0.p

Inode 10360 on device 10/6 File
Protection: rwxr--r--
Owner: 301(test) Group: 301(test)
Link count: 0 Length 0 bytes

Last updated: Mon Oct 26 21:08:13 2009
Last modified: Mon Oct 26 21:08:13 2009
Last accessed: Mon Oct 26 21:08:13 2009

PS> Don't look at these Sep 26 date in previous post - ls outputs we're
little 'created' just to give you a point of view - don't have access to
these systems now.

Any answers welcome :)

Blazej Antczak

unread,
Oct 27, 2009, 2:16:03 PM10/27/09
to
Hello all,

I have 6 LPAR's based on 3 servers (2 x p570 and p520). Each LPAR is
based on AIX 5.3 ML 3 - don't remember exact patch level number now - no
access to system.
After winter time change - I noticed very strange ls behavior on 3 of
these LPAR's.

1. Timezone is set to: NST

1. There's directory - let say /tmp/test with some files not changed
after time change. We use loop to create by touch some test files -
p[0...5].p. Look at ls -la /tmp/test output:

-rw-r--r-- 1 test test 3212 Apr 17 2007 old_file
-rw-r--r-- 1 test test 0 Sep 26 21:08 p0.p
-rw-r--r-- 1 test test 0 Sep 26 21:08 p1.p
-rw-r--r-- 1 test test 0 Sep 26 21:08 p2.p
-rw-r--r-- 1 test test 0 Sep 26 21:08 p3.p
-rw-r--r-- 1 test test 0 Sep 26 21:08 p4.p
-rw-r--r-- 1 test test 0 Sep 26 21:08 p5.p

NOW - the funny part - look at ls -ltr output:

-rw-r--r-- 1 test test 3212 Apr 17 2007 old_file
-rw-r--r-- 1 test test 0 Sep 26 22:08 p0.p
-rw-r--r-- 1 test test 0 Sep 26 22:08 p1.p
-rw-r--r-- 1 test test 0 Sep 26 22:08 p2.p
-rw-r--r-- 1 test test 0 Sep 26 22:08 p3.p
-rw-r--r-- 1 test test 0 Sep 26 22:08 p4.p
-rw-r--r-- 1 test test 0 Sep 26 22:08 p5.p

LOOK - this '1 hour ahead' ls behavior is ONLY when:

a. i use -t switch to ls command
b. i use ls in entire directory with old files

STRANGE PART ############

If

I use ls -ltr aginst absolute path to file - OUTPUT is correct :D

ls -ltr /tmp/test/p0.p


-rw-r--r-- 1 test test 0 Sep 26 21:08 p0.p

If

i create e.g. TST subdir in /tmp/test dir and there will be not old
files and then we create few files - again p[0...5].p in /tmp/test/TST
dir - now ls -ltr output is correct - even issued from non-absolute path

If

i create file by command output redirection - ls -ltr behaves strange
again. Same if file is created by scp/ftp transfer

##############

NOW - what we've done:

1. set time by hand - date command - NO JOY.
2. change TZ using smitty chtz and reboot - NO JOY
3. check env between 3 'normal behaving' and 3 'strange' servers - NO
DIFF's. All servers os the same oslevel
4. Check IBM sites for TZ/time TL 03 issues - NO JOY
5. Raised SEV1 with IBM - no answer till now :(

FOLKS - any ideas?

Regards,
Blazej Antczak
System Enginner
CPX Poland
mailto: bl.antczak<REMOVE>@gmail.com

Blazej Antczak

unread,
Oct 28, 2009, 4:39:57 AM10/28/09
to
Blazej Antczak pisze:
> Blazej Antczak pisze:
> <CUT>
>
<CUT...2>

Issue will be solved - PROBABLY - for furture references - IBM gave me
eFix for this problem - will let you all know about number later on.

Regards,
Blazej

0 new messages