- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Don´t show me hour when creating file in files...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2007 07:19 AM
04-17-2007 07:19 AM
I have a problem, when I created(way touch, vi and cat) one file in the filesystem mounted way NFS, don´t show me the hour the file created.
Note: This filesystem is mounted way NFS of the one NAS.
Thanks.
Claudemir.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2007 07:27 AM
04-17-2007 07:27 AM
SolutionOther information that would be helpful: HP-UX version, NFS version, tcp or udp
Do you have the latest NFS patches for whatever version of HP-UX you are using?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2007 08:04 AM
04-17-2007 08:04 AM
Re: Don´t show me hour when creating file in filesystem mounted NFS
tks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2007 09:07 AM
04-17-2007 09:07 AM
Re: Don´t show me hour when creating file in filesystem mounted NFS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2007 09:16 AM
04-17-2007 09:16 AM
Re: Don´t show me hour when creating file in filesystem mounted NFS
sgfho02:/prodbrt# date
Tue Apr 17 18:15:42 SAT 2007
sgfho02:/prodbrt# locale
LANG=
LC_CTYPE="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_MESSAGES="C"
LC_ALL=
This is correct?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2007 09:38 AM
04-17-2007 09:38 AM
Re: Don´t show me hour when creating file in filesystem mounted NFS
perl -e '$a = (stat("/xxx/yyy/filename")) [9]; print scalar localtime($a),"\n";'
This will print the modification time of file /xxx/yyy/filename in the same format as the date command.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2007 09:49 AM
04-17-2007 09:49 AM
Re: Don´t show me hour when creating file in filesystem mounted NFS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2007 09:53 AM
04-17-2007 09:53 AM
Re: Don´t show me hour when creating file in filesystem mounted NFS
okay, take a look in the output command line:
sgfho02:/home/root# perl -e '$a = (stat("/xxx/yyy/filename")) [9]; print scalar localtime($a),"\n";'
Wed Dec 31 21:00:00 1969
thanks a lot of
C.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2007 09:55 AM
04-17-2007 09:55 AM
Re: Don´t show me hour when creating file in filesystem mounted NFS
Replace "/xxx/yyy/filename" with one of your NFS mounted files. For comparison, I would also try one of your local files.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2007 09:59 AM
04-17-2007 09:59 AM
Re: Don´t show me hour when creating file in filesystem mounted NFS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2007 10:13 AM
04-17-2007 10:13 AM
Re: Don´t show me hour when creating file in filesystem mounted NFS
I´m so sorry....I am sleeping (heheeh)...
sgfho02:/prodbrt# perl -e '$a = (stat("/prodbrt/trash1"))[9]; print scalar localtime($a),"\n";'
Tue Apr 17 22:08:26 2007
thanks.
Sandman,
In filesystem /tmp show me hour when I created file, for i.e.
C.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2007 10:36 AM
04-17-2007 10:36 AM
Re: Don´t show me hour when creating file in filesystem mounted NFS
This could also be caused if the NFS server and client are not running NTP and the times are not in sync. It is vital that these systems synchronize their times (even if running in different timezones because the systems keep time in seconds since 00:00:00 1-Jan-1970 UTC) or chaotic behavior will result.
It appears that my original hypothesis was correct.