- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- fstyp change the timestamp of root (/) filessytem
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
Discussions
Discussions
Forums
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
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
тАО02-07-2011 04:40 AM
тАО02-07-2011 04:40 AM
fstyp change the timestamp of root (/) filessytem
# ll -d /
drwxr-xr-x 17 root root 8192 Feb 7 05:32 /
# fstyp /dev/vg00/lvol4
vxfs
# ll -d /
drwxr-xr-x 17 root root 8192 Feb 7 05:43 /
# date
Mon Feb 7 05:44:03 EST 2011
#
This does not happen on 11iv2 and 11iv1 systems.
Any idea is appreciated
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-07-2011 05:20 AM
тАО02-07-2011 05:20 AM
Re: fstyp change the timestamp of root (/) filessytem
If this is important, you'll need to contact the Response Center.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-07-2011 05:28 AM
тАО02-07-2011 05:28 AM
Re: fstyp change the timestamp of root (/) filessytem
socket(AF_UNIX, SOCK_STREAM, 0) .......................... = 5
getuid() ................................................. = 0 (0)
unlink("//fsdaemonSocket7540") ........................... ERR#2 ENOENT
bind(5, 0x7fffeea0, 94) .................................. = 0
chmod("//fsdaemonSocket7540", 0700) ...................... = 0
connect(5, 0x7fffeea0, 94) ............................... = 0
write(5, "\0\0\001\0\0\0\0\0\0\0\0\0\0\0\0".., 32) ....... = 32
sendmsg(5, "\0", O_RDONLY) ............................... = 1
read(5, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0".., 272) ....... = 272
unlink("//fsdaemonSocket7540") ........................... = 0
On a 11iv1 box, this doesn't happen... presumably in 11iv3 fstyp communciates with another daemon to accomplish its task...
Sockets are normally created in a temp directory, but as fstyp is a /sbin command that needs to be available at single user mode, presumably it creates the socket in root.
The action of creating and unlinking the socket will obviously update the timestamp on root.
HTH
Duncan
I am an HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-07-2011 07:07 AM
тАО02-07-2011 07:07 AM
Re: fstyp change the timestamp of root (/) filessytem
Are you really sure that this change occurs by fstyp command execution?
A lot of processes could be doing this update, the root filesystem is higly susceptible to changes. Could you try this behavior over a dummy mounting point?
Rgds.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-07-2011 07:12 AM
тАО02-07-2011 07:12 AM
Re: fstyp change the timestamp of root (/) filessytem
Everyone is now sure based on Duncan's tusc analysis.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-07-2011 07:48 AM
тАО02-07-2011 07:48 AM
Re: fstyp change the timestamp of root (/) filessytem
Rgds.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-07-2011 08:11 AM
тАО02-07-2011 08:11 AM
Re: fstyp change the timestamp of root (/) filessytem
> Could you try this behavior over a dummy mounting point?
How do you suggest we do that? fstyp is run against the block or raw device for the filesystem, not against a mount point. If you mean by trying the fstyp on another filesystem (non-root), you get the same result...
I can run this on a HP-UX system which is effectively idle (just me logged in on pretty much a fresh install) and still get the behaviour that skalai describes:
# date
Mon Feb 7 16:08:06 GMT 2011
# ll -d /
drwxr-xr-x 19 root root 8192 Feb 7 16:06 /
# fstyp /dev/vg00/rlvol1
vxfs
# ll -d /
drwxr-xr-x 19 root root 8192 Feb 7 16:08 /
# date
Mon Feb 7 16:09:31 GMT 2011
# ll -d /
drwxr-xr-x 19 root root 8192 Feb 7 16:08 /
# fstyp /dev/vg00/rlvol1
vxfs
# ll -d /
drwxr-xr-x 19 root root 8192 Feb 7 16:09 /
HTH
Duncan
I am an HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-07-2011 08:47 AM
тАО02-07-2011 08:47 AM
Re: fstyp change the timestamp of root (/) filessytem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-07-2011 11:24 AM
тАО02-07-2011 11:24 AM
Re: fstyp change the timestamp of root (/) filessytem
It is useful if you didn't have the tusc output. It says it has nothing to do with the FS in question. But doing a bdf on / to get the lvol would also indicate that.
>Jose: the root filesystem is highly susceptible to changes.
On one of my systems, / hasn't changed in 6 months.