Hello, Is there a way to find out what the timestamp is of a specific snapshot? Currently, I have a system with 5 snapshots, and would like to know the timestamp as to when it was created. Thanks JOr This message and its attachments may contain legally privileged or confidential information. It is intended solely for the named addressee. If you are not the addressee indicated in this message (or responsible for delivery of the message to the addressee), you may not copy or deliver this message or its attachments to anyone. Rather, you should permanently delete this message and its attachments and kindly notify the sender by reply e-mail. Any content of this message and its attachments that does not relate to the official business of News America Incorporated or its subsidiaries must be taken not to have been sent or endorsed by any of them. No warranty is made that the e-mail or attachment(s) are free from computer virus or other defect. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20070918/6653ed92/attachment.html>
Try zpool history -- richard Poulos, Joe wrote:> > > Hello, > > > > Is there a way to find out what the timestamp is of a specific > snapshot? Currently, I have a system with 5 snapshots, and would like > to know the timestamp as to when it was created. Thanks JOr > > This message and its attachments may contain legally privileged or > confidential information. It is intended solely for the named addressee. > If you are not the addressee indicated in this message (or responsible > for delivery of the message to the addressee), you may not copy or > deliver this message or its attachments to anyone. Rather, you should > permanently delete this message and its attachments and kindly notify > the sender by reply e-mail. Any content of this message and its > attachments that does not relate to the official business of News > America Incorporated or its subsidiaries must be taken not to have been > sent or endorsed by any of them. No warranty is made that the e-mail or > attachment(s) are free from computer virus or other defect. > > > ------------------------------------------------------------------------ > > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Or ''zfs list -t snapshot -o name,creation'' - Eric On Tue, Sep 18, 2007 at 01:41:19PM -0700, Richard Elling wrote:> Try zpool history > -- richard > > Poulos, Joe wrote: > > > > > > Hello, > > > > > > > > Is there a way to find out what the timestamp is of a specific > > snapshot? Currently, I have a system with 5 snapshots, and would like > > to know the timestamp as to when it was created. Thanks JOr > > > > This message and its attachments may contain legally privileged or > > confidential information. It is intended solely for the named addressee. > > If you are not the addressee indicated in this message (or responsible > > for delivery of the message to the addressee), you may not copy or > > deliver this message or its attachments to anyone. Rather, you should > > permanently delete this message and its attachments and kindly notify > > the sender by reply e-mail. Any content of this message and its > > attachments that does not relate to the official business of News > > America Incorporated or its subsidiaries must be taken not to have been > > sent or endorsed by any of them. No warranty is made that the e-mail or > > attachment(s) are free from computer virus or other defect. > > > > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > zfs-discuss mailing list > > zfs-discuss at opensolaris.org > > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss-- Eric Schrock, Solaris Kernel Development http://blogs.sun.com/eschrock
zfs get creation pool|filesystem|snapshot Poulos, Joe wrote:> > Hello, > > > > Is there a way to find out what the timestamp is of a specific > snapshot? Currently, I have a system with 5 snapshots, and would like > to know the timestamp as to when it was created. Thanks JOr > > This message and its attachments may contain legally privileged or > confidential information. It is intended solely for the named > addressee. If you are not the addressee indicated in this message (or > responsible for delivery of the message to the addressee), you may not > copy or deliver this message or its attachments to anyone. Rather, you > should permanently delete this message and its attachments and kindly > notify the sender by reply e-mail. Any content of this message and its > attachments that does not relate to the official business of News > America Incorporated or its subsidiaries must be taken not to have > been sent or endorsed by any of them. No warranty is made that the > e-mail or attachment(s) are free from computer virus or other defect. > > ------------------------------------------------------------------------ > > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss >
Along these lines, the creation time is provided to the nearest second. It is possible to have two snapshots (of the same file system) with the same time stamp. In this case, is there any way to determine which snapshot was created earlier? This would be helpful to know in order to predict the effect of a rollback or promote command. Fred Oliver Tim Spriggs wrote:> zfs get creation pool|filesystem|snapshot > > Poulos, Joe wrote: >> Hello, >> >> >> >> Is there a way to find out what the timestamp is of a specific >> snapshot? Currently, I have a system with 5 snapshots, and would like >> to know the timestamp as to when it was created. Thanks JOr >> >> This message and its attachments may contain legally privileged or >> confidential information. It is intended solely for the named >> addressee. If you are not the addressee indicated in this message (or >> responsible for delivery of the message to the addressee), you may not >> copy or deliver this message or its attachments to anyone. Rather, you >> should permanently delete this message and its attachments and kindly >> notify the sender by reply e-mail. Any content of this message and its >> attachments that does not relate to the official business of News >> America Incorporated or its subsidiaries must be taken not to have >> been sent or endorsed by any of them. No warranty is made that the >> e-mail or attachment(s) are free from computer virus or other defect. >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> zfs-discuss mailing list >> zfs-discuss at opensolaris.org >> http://mail.opensolaris.org/mailman/listinfo/zfs-discuss >> > > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
I think they are listed in order with "zfs list". Fred Oliver wrote:> Along these lines, the creation time is provided to the nearest second. > It is possible to have two snapshots (of the same file system) with the > same time stamp. > > In this case, is there any way to determine which snapshot was created > earlier? > > This would be helpful to know in order to predict the effect of a > rollback or promote command. > > Fred Oliver > > > Tim Spriggs wrote: > >> zfs get creation pool|filesystem|snapshot >> >> Poulos, Joe wrote: >> >>> Hello, >>> >>> >>> >>> Is there a way to find out what the timestamp is of a specific >>> snapshot? Currently, I have a system with 5 snapshots, and would like >>> to know the timestamp as to when it was created. Thanks JOr >>> >>> This message and its attachments may contain legally privileged or >>> confidential information. It is intended solely for the named >>> addressee. If you are not the addressee indicated in this message (or >>> responsible for delivery of the message to the addressee), you may not >>> copy or deliver this message or its attachments to anyone. Rather, you >>> should permanently delete this message and its attachments and kindly >>> notify the sender by reply e-mail. Any content of this message and its >>> attachments that does not relate to the official business of News >>> America Incorporated or its subsidiaries must be taken not to have >>> been sent or endorsed by any of them. No warranty is made that the >>> e-mail or attachment(s) are free from computer virus or other defect. >>> >>> ------------------------------------------------------------------------ >>> >>> _______________________________________________ >>> zfs-discuss mailing list >>> zfs-discuss at opensolaris.org >>> http://mail.opensolaris.org/mailman/listinfo/zfs-discuss >>> >>> >> _______________________________________________ >> zfs-discuss mailing list >> zfs-discuss at opensolaris.org >> http://mail.opensolaris.org/mailman/listinfo/zfs-discuss >> > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss >