Hello All, This is my zfs list: # zfs list NAME USED AVAIL REFER MOUNTPOINT rpool 10,5G 3,85G 61K /rpool rpool/ROOT 9,04G 3,85G 18K legacy rpool/ROOT/opensolaris 89,7M 3,85G 5,44G legacy rpool/ROOT/opensolaris-1 8,95G 3,85G 5,52G legacy rpool/dump 256M 3,85G 256M - rpool/export 747M 3,85G 19K /export rpool/export/home 747M 3,85G 747M /export/home rpool/swap 524M 3,85G 524M - Today I''ve created one snapshot as below: # zfs snapshot rpool/ROOT/opensolaris-1 at backup Ufortunately I can''t see it, because `zfs list` command doesn''t show it: # zfs list NAME USED AVAIL REFER MOUNTPOINT rpool 10,5G 3,85G 61K /rpool rpool/ROOT 9,04G 3,85G 18K legacy rpool/ROOT/opensolaris 89,7M 3,85G 5,44G legacy rpool/ROOT/opensolaris-1 8,95G 3,85G 5,52G legacy rpool/dump 256M 3,85G 256M - rpool/export 747M 3,85G 19K /export rpool/export/home 747M 3,85G 747M /export/home rpool/swap 524M 3,85G 524M - I know the snapshot exists, because I can''t create the same again: # zfs snapshot rpool/ROOT/opensolaris-1 at backup cannot create snapshot ''rpool/ROOT/opensolaris-1 at backup'': dataset already exists Is it a strange? How can you explain that? I use OpenSolaris 2008.11 snv_101a: # uname -a SunOS oklahoma 5.11 snv_101a i86pc i386 i86pc Solaris My best regards, Pawel
zfs list -t snapshot ? On Sat, Nov 22, 2008 at 1:14 AM, Pawel Tecza <ptecza at uw.edu.pl> wrote:> Hello All, > > This is my zfs list: > > # zfs list > NAME USED AVAIL REFER MOUNTPOINT > rpool 10,5G 3,85G 61K /rpool > rpool/ROOT 9,04G 3,85G 18K legacy > rpool/ROOT/opensolaris 89,7M 3,85G 5,44G legacy > rpool/ROOT/opensolaris-1 8,95G 3,85G 5,52G legacy > rpool/dump 256M 3,85G 256M - > rpool/export 747M 3,85G 19K /export > rpool/export/home 747M 3,85G 747M /export/home > rpool/swap 524M 3,85G 524M - > > Today I''ve created one snapshot as below: > > # zfs snapshot rpool/ROOT/opensolaris-1 at backup > > Ufortunately I can''t see it, because `zfs list` command doesn''t show it: > > # zfs list > NAME USED AVAIL REFER MOUNTPOINT > rpool 10,5G 3,85G 61K /rpool > rpool/ROOT 9,04G 3,85G 18K legacy > rpool/ROOT/opensolaris 89,7M 3,85G 5,44G legacy > rpool/ROOT/opensolaris-1 8,95G 3,85G 5,52G legacy > rpool/dump 256M 3,85G 256M - > rpool/export 747M 3,85G 19K /export > rpool/export/home 747M 3,85G 747M /export/home > rpool/swap 524M 3,85G 524M - > > I know the snapshot exists, because I can''t create the same again: > > # zfs snapshot rpool/ROOT/opensolaris-1 at backup > cannot create snapshot ''rpool/ROOT/opensolaris-1 at backup'': dataset > already exists > > Is it a strange? How can you explain that? > > I use OpenSolaris 2008.11 snv_101a: > > # uname -a > SunOS oklahoma 5.11 snv_101a i86pc i386 i86pc Solaris > > My best regards, > > Pawel > > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20081122/632c7626/attachment.html>
''zfs list'' by default does not list the snapshots. You need to use ''-t snapshot'' option with "zfs list" to view the snapshots. -- Prabahar. On Sat, Nov 22, 2008 at 12:14:47AM +0100, Pawel Tecza wrote:> Hello All, > > This is my zfs list: > > # zfs list > NAME USED AVAIL REFER MOUNTPOINT > rpool 10,5G 3,85G 61K /rpool > rpool/ROOT 9,04G 3,85G 18K legacy > rpool/ROOT/opensolaris 89,7M 3,85G 5,44G legacy > rpool/ROOT/opensolaris-1 8,95G 3,85G 5,52G legacy > rpool/dump 256M 3,85G 256M - > rpool/export 747M 3,85G 19K /export > rpool/export/home 747M 3,85G 747M /export/home > rpool/swap 524M 3,85G 524M - > > Today I''ve created one snapshot as below: > > # zfs snapshot rpool/ROOT/opensolaris-1 at backup > > Ufortunately I can''t see it, because `zfs list` command doesn''t show it: > > # zfs list > NAME USED AVAIL REFER MOUNTPOINT > rpool 10,5G 3,85G 61K /rpool > rpool/ROOT 9,04G 3,85G 18K legacy > rpool/ROOT/opensolaris 89,7M 3,85G 5,44G legacy > rpool/ROOT/opensolaris-1 8,95G 3,85G 5,52G legacy > rpool/dump 256M 3,85G 256M - > rpool/export 747M 3,85G 19K /export > rpool/export/home 747M 3,85G 747M /export/home > rpool/swap 524M 3,85G 524M - > > I know the snapshot exists, because I can''t create the same again: > > # zfs snapshot rpool/ROOT/opensolaris-1 at backup > cannot create snapshot ''rpool/ROOT/opensolaris-1 at backup'': dataset > already exists > > Is it a strange? How can you explain that? > > I use OpenSolaris 2008.11 snv_101a: > > # uname -a > SunOS oklahoma 5.11 snv_101a i86pc i386 i86pc Solaris > > My best regards, > > Pawel > > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Ahmed Kamal pisze:> zfs list -t snapshot ?Hi Ahmed, Thanks a lot for the hint! It works. I didn''t know that I have so many snapshots :D # zfs list -t snapshot NAME USED AVAIL REFER MOUNTPOINT rpool at install 20K - 58K - rpool/ROOT at install 0 - 18K - rpool/ROOT/opensolaris-1 at install 1,47G - 2,74G - rpool/ROOT/opensolaris-1 at static:-:2008-11-17-22:12:17 124K - 4,83G - rpool/ROOT/opensolaris-1 at static:-:2008-11-17-22:13:16 119K - 4,83G - rpool/ROOT/opensolaris-1 at static:-:2008-11-17-22:13:59 16,6M - 4,84G - rpool/ROOT/opensolaris-1 at static:-:2008-11-17-23:21:06 76,4M - 4,83G - rpool/ROOT/opensolaris-1 at static:-:2008-11-19-15:51:21 65,7M - 5,44G - rpool/ROOT/opensolaris-1 at 2008-11-21-11:30:33 12,6M - 5,51G - rpool/ROOT/opensolaris-1 at 2008-11-21-14:03:43 248K - 5,52G - rpool/ROOT/opensolaris-1 at backup 178K - 5,52G - rpool/export at install 15K - 19K - rpool/export/home at install 19K - 21K - But I still don''t understand why `zfs list` doesn''t display snapshots by default. I saw it in the Net many times at the examples of zfs usage. Have a nice weekend! :) Pawel
Prabahar Jeyaram pisze:> ''zfs list'' by default does not list the snapshots. > > You need to use ''-t snapshot'' option with "zfs list" to view the snapshots.Hello Prabahar, Thank you very much for your fast explanation! Did `zfs list` always work in that way or it is default behaviour of the latest version? I''m sure I can google many examples of `zfs list` with snapshots in a result. Cheers, Pawel
Pawel Tecza wrote:> But I still don''t understand why `zfs list` doesn''t display snapshots > by default. I saw it in the Net many times at the examples of zfs usage. >It was changed. zfs list -t all gives you everything, like zfs list used to. -- Andrew
Malachi de Ælfweald
2008-Nov-21 23:41 UTC
[zfs-discuss] `zfs list` doesn''t show my snapshot
It used to. Although, with the Time Slider now, I agree that it shouldn''t by default Malachi On Fri, Nov 21, 2008 at 3:29 PM, Pawel Tecza <ptecza at uw.edu.pl> wrote:> Ahmed Kamal pisze: > > zfs list -t snapshot ? > Hi Ahmed, > > Thanks a lot for the hint! It works. I didn''t know that I have so many > snapshots :D > > # zfs list -t snapshot > NAME USED AVAIL > REFER MOUNTPOINT > rpool at install 20K - > 58K - > rpool/ROOT at install 0 - > 18K - > rpool/ROOT/opensolaris-1 at install 1,47G - > 2,74G - > rpool/ROOT/opensolaris-1 at static:-:2008-11-17-22:12:17 124K - > 4,83G - > rpool/ROOT/opensolaris-1 at static:-:2008-11-17-22:13:16 119K - > 4,83G - > rpool/ROOT/opensolaris-1 at static:-:2008-11-17-22:13:59 16,6M - > 4,84G - > rpool/ROOT/opensolaris-1 at static:-:2008-11-17-23:21:06 76,4M - > 4,83G - > rpool/ROOT/opensolaris-1 at static:-:2008-11-19-15:51:21 65,7M - > 5,44G - > rpool/ROOT/opensolaris-1 at 2008-11-21-11:30:33 12,6M - > 5,51G - > rpool/ROOT/opensolaris-1 at 2008-11-21-14:03:43 248K - > 5,52G - > rpool/ROOT/opensolaris-1 at backup 178K - > 5,52G - > rpool/export at install 15K - > 19K - > rpool/export/home at install 19K - > 21K - > > But I still don''t understand why `zfs list` doesn''t display snapshots > by default. I saw it in the Net many times at the examples of zfs usage. > > Have a nice weekend! :) > > Pawel > > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20081121/d37d124f/attachment.html>
Pawel Tecza wrote:> But I still don''t understand why `zfs list` doesn''t display snapshots > by default. I saw it in the Net many times at the examples of zfs usage.This was PSARC/2008/469 - excluding snapshot info from ''zfs list'' http://opensolaris.org/os/community/on/flag-days/pages/2008091003/ -- Dave -- David Pacheco, Sun Microsystems Fishworks. http://blogs.sun.com/dap/
Andrew Gabriel pisze:> Pawel Tecza wrote: >> But I still don''t understand why `zfs list` doesn''t display snapshots >> by default. I saw it in the Net many times at the examples of zfs usage. >> > > It was changed. > > zfs list -t all > > gives you everything, like zfs list used to.Hi Andrew, Thanks a lot for the information! It''s good to know it. Now it''s all clear for me :) BTW, I''m very impressed by speed in helping of subscribers of zfs-discuss mailing list. You are really great! :D My best regards, Pawel
On Fri, Nov 21, 2008 at 03:42:17PM -0800, David Pacheco wrote:> Pawel Tecza wrote: > > But I still don''t understand why `zfs list` doesn''t display snapshots > > by default. I saw it in the Net many times at the examples of zfs usage. > > This was PSARC/2008/469 - excluding snapshot info from ''zfs list'' > > http://opensolaris.org/os/community/on/flag-days/pages/2008091003/The uncomplete one - where is the ''-t all'' option? It''s really annoying, error prone, time consuming to type stories on the command line ... Does anybody remember the "keep it small and simple" thing? Regards, jel. -- Otto-von-Guericke University http://www.cs.uni-magdeburg.de/ Department of Computer Science Geb. 29 R 027, Universitaetsplatz 2 39106 Magdeburg, Germany Tel: +49 391 67 12768
On Fri, Nov 21, 2008 at 9:38 PM, Jens Elkner <jel+zfs at cs.uni-magdeburg.de<jel%2Bzfs at cs.uni-magdeburg.de>> wrote:> > > The uncomplete one - where is the ''-t all'' option? It''s really annoying, > error prone, time consuming to type stories on the command line ... > Does anybody remember the "keep it small and simple" thing? > > Regards, > jel. > -- > Otto-von-Guericke University http://www.cs.uni-magdeburg.de/ > Department of Computer Science Geb. 29 R 027, Universitaetsplatz 2 > 39106 Magdeburg, Germany Tel: +49 391 67 12768 > ______________________________________________How is defaulting to output that makes the command unusable to the majority of their customers keeping it simple? Their choice of implementation does leave something to be desired though... I would think it would make more sense to have something like "zfs list snapshots", and if you wanted to limit that to a specific pool "zfs list snapshots poolname". --TIm -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20081121/c5bd1414/attachment.html>
On 11/22/08, Jens Elkner <jel+zfs at cs.uni-magdeburg.de> wrote:> On Fri, Nov 21, 2008 at 03:42:17PM -0800, David Pacheco wrote: > > Pawel Tecza wrote: > > > But I still don''t understand why `zfs list` doesn''t display snapshots > > > by default. I saw it in the Net many times at the examples of zfs usage. > > > > This was PSARC/2008/469 - excluding snapshot info from ''zfs list'' > > > > http://opensolaris.org/os/community/on/flag-days/pages/2008091003/ > > The uncomplete one - where is the ''-t all'' option? It''s really annoying, > error prone, time consuming to type stories on the command line ... > Does anybody remember the "keep it small and simple" thing?Hm. I thought the ''-t all'' worked with the revised zfs list. The problem I have with that is that you need to type different commands to get the same output depending on which machine you''re on, as ''-t all'' doesn''t work on older systems. -- -Peter Tribble http://www.petertribble.co.uk/ - http://ptribble.blogspot.com/
Hi Pawel, Yes, it did change in the last few months. On older versions of solaris the default for ''zfs list'' was to show all filesystems AND snapshots. This got to be a real pain when you had lots of snapshots as you couldn''t easily see what was what, so it was changed so that the default for ''zfs list'' is just to show the filesystems, which is much preferable in my opinion. As others here have said, just issue ''zfs list -t snapshot'' if you just want to see the snapshots, or ''zfs list -t all'' to see both filesystems and snapshots. Cheers, Simon Blog: http://breden.org.uk ZFS articles: http://breden.org.uk/2008/03/02/a-home-fileserver-using-zfs/ -- This message posted from opensolaris.org
Jel, Jens Elkner wrote:> On Fri, Nov 21, 2008 at 03:42:17PM -0800, David Pacheco wrote: > >> Pawel Tecza wrote: >> >>> But I still don''t understand why `zfs list` doesn''t display snapshots >>> by default. I saw it in the Net many times at the examples of zfs usage. >>> >> This was PSARC/2008/469 - excluding snapshot info from ''zfs list'' >> >> http://opensolaris.org/os/community/on/flag-days/pages/2008091003/ >> > > The uncomplete one - where is the ''-t all'' option? It''s really annoying, > error prone, time consuming to type stories on the command line ... > Does anybody remember the "keep it small and simple" thing? >This change was made because there were a lot of users who has a large number of snapshots. This would cause 2 problems : - The listing of all the snapshots and filesystems would be really long. - Also, this would take rather long time... For those who want the older behaviour can still set the "listsnapshots" property accordingly. Hope that helps. Regards, Sanjeev.> Regards, > jel. >
Dnia 2008-11-23, nie o godzinie 13:41 +0530, Sanjeev Bagewadi pisze:> > The uncomplete one - where is the ''-t all'' option? It''s really annoying, > > error prone, time consuming to type stories on the command line ... > > Does anybody remember the "keep it small and simple" thing? > > > This change was made because there were a lot of users who has a large > number of > snapshots. This would cause 2 problems : > - The listing of all the snapshots and filesystems would be really long. > - Also, this would take rather long time...Hello Sanjeev, Thank your very much for your feedback! What is "a large number of snapshots"? 100? 1000? 10000? Do people really need so many snapshots? I think that if some user has a large number of snapshots, then it''s not `zfs list` problem, because it''s a user''s problem.> For those who want the older behaviour can still set the "listsnapshots" > property accordingly. > > Hope that helps.Thanks a lot for the hint! I didn''t know about it. It seems interesting for me. Little correction here: I''ve checked that it property is named "listsnaps", not "listsnapshots". What about a famous Sun''s backward compatibility? In my opinion "listsnaps" property should be enabled by default. If someone really has many snapshots then he can set "listsnaps=off". In that way all should be happy without changing `zfs list` syntax. My best regards, Pawel
Dnia 2008-11-22, sob o godzinie 07:06 -0800, Simon Breden pisze:> Hi Pawel, > > Yes, it did change in the last few months.Hello Simon, Thanks a lot for your reply! I didn''t know it, because I''m not so long-time OpenSolaris user ;) I was confused, because recently I''ve seen Roman Strobl''s ZFS basic screencast [1] and `zfs list` displays there both filesystems and snapshots.> On older versions of solaris the default for ''zfs list'' was to show > all filesystems AND snapshots.That old behaviour was OK for me, but I don''t have many snapshots. Yet ;)> This got to be a real pain when you had lots of snapshots as you > couldn''t easily see what was what, so it was changed so that > the default for ''zfs list'' is just to show the filesystems, > which is much preferable in my opinion.In my opinion "listsnaps=off" property was really good solution of that problem, but probably it''s too late to back to old default behaviour of `zfs list`. It''s a pity.> As others here have said, just issue ''zfs list -t snapshot'' if you > just want to see the snapshots, or ''zfs list -t all'' to see both > filesystems and snapshots.OK, I can use that, but my dreamed `zfs list` syntax is like below: zfs list [all|snapshots] zfs list: displays all filesystems and snapshots too only if "listsnaps=on" zfs list all: displays all filesystems and snapshots too even if "listsnaps=off" zfs list snapshots: displays all snapshots, without filesystems Do you agree with me that it''s simple and beautiful? ;) My best regards, Pawel
Dnia 2008-11-23, nie o godzinie 18:14 +0100, Pawe? T?cza pisze:> Dnia 2008-11-22, sob o godzinie 07:06 -0800, Simon Breden pisze: > > Hi Pawel, > > > > Yes, it did change in the last few months. > > Hello Simon, > > Thanks a lot for your reply! I didn''t know it, because I''m not so > long-time OpenSolaris user ;) I was confused, because recently I''ve > seen Roman Strobl''s ZFS basic screencast [1] and `zfs list` displays > there both filesystems and snapshots.Ups! I''ve forgot about the link to Roman screencast: http://blogs.sun.com/observatory/entry/zfs_screencast Cheers, P.
To be honest, I haven''t considered the ease-of-use aspects of listing file systems and/or snapshots, simply that the way it is now is preferable (to me) than how it used to be. But you could see what others think perhaps. Yes, I think when a system is evolving it can be confusing to see cases where syntax has changed, like in the video regarding showing snapshots etc :) -- This message posted from opensolaris.org
Richard Morris - Sun Microsystems - Burlington United States
2008-Nov-25 18:11 UTC
[zfs-discuss] `zfs list` doesn''t show my snapshot
On 11/23/08 12:14, Pawe? T?cza wrote:>> As others here have said, just issue ''zfs list -t snapshot'' if you >> just want to see the snapshots, or ''zfs list -t all'' to see both >> filesystems and snapshots. > > OK, I can use that, but my dreamed `zfs list` syntax is like below: > > zfs list [all|snapshots] > > zfs list: displays all filesystems and snapshots too only if > "listsnaps=on" > zfs list all: displays all filesystems and snapshots too even if > "listsnaps=off" > zfs list snapshots: displays all snapshots, without filesystems > > Do you agree with me that it''s simple and beautiful? ;)Pawel, With http://bugs.opensolaris.org/view_bug.do?bug_id=6734907 "zfs list -t all would be useful once snapshots are omitted by default", the syntax of zfs list is very close to the one you have dreamed of: zfs list [filesystem|volume|snapshot|all] zfs list: displays all filesystems and volumes displays snapshots only if "listsnaps=on" zfs list -t filesystem displays all filesystems does not display volumes or snapshots zfs list -t volume displays all volumes does not display filesystems or snapshots zfs list -t snapshot displays all snapshots does not display filesystems or volumes zfs list -t all displays all filesystems, volumes, and snapshots (even if "listsnaps=off") -- Rich -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20081125/fc44298b/attachment.html>
Malachi de Ælfweald
2008-Nov-25 18:16 UTC
[zfs-discuss] `zfs list` doesn''t show my snapshot
I did a fresh install a week ago. Because of Time Slider / auto-snapshot being installed, I have 15 pages of snapshots. Malachi On Sun, Nov 23, 2008 at 8:53 AM, Pawe? T?cza <ptecza at uw.edu.pl> wrote:> Dnia 2008-11-23, nie o godzinie 13:41 +0530, Sanjeev Bagewadi pisze: > > > Thank your very much for your feedback! What is "a large number of > snapshots"? 100? 1000? 10000? Do people really need so many snapshots? > I think that if some user has a large number of snapshots, then it''s not > `zfs list` problem, because it''s a user''s problem. > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20081125/4a466acb/attachment.html>
Dnia 2008-11-25, wto o godzinie 10:16 -0800, Malachi de ?lfweald pisze:> I did a fresh install a week ago. Because of Time Slider / > auto-snapshot being installed, I have 15 pages of snapshots.Malachi, You only wrote that you have a lot of snapshots. You didn''t wrote whether you really need all of them. I doubt it. So if you don''t want to litter your pool more, then the best thing is removing the most of your snapshots. Cheers, Pawel
Dnia 2008-11-25, wto o godzinie 13:11 -0500, Richard Morris - Sun Microsystems - Burlington United States pisze:> Pawel, > > With http://bugs.opensolaris.org/view_bug.do?bug_id=6734907 > "zfs list -t all would be useful once snapshots are omitted by default", > the syntax of zfs list is very close to the one you have dreamed of: > > zfs list [filesystem|volume|snapshot|all] > > zfs list: displays all filesystems and volumes > displays snapshots only if "listsnaps=on" > > zfs list -t filesystem displays all filesystems > does not display volumes or snapshots > > zfs list -t volume displays all volumes > does not display filesystems or snapshots > > zfs list -t snapshot displays all snapshots > does not display filesystems or volumes > > zfs list -t all displays all filesystems, volumes, and > snapshots (even if "listsnaps=off")Hi Rich, Thanks a lot for your feedback! I was thinking that `zfs list` thread is already dead ;) The syntax above is pretty nice for me, but IMHO the "-t" switch is rather needless here :) I also asked Sun people about your well-known backward compatibility, but unfortunately nobody commented on it :( My best regards, Pawel
Malachi de Ælfweald
2008-Nov-25 21:46 UTC
[zfs-discuss] `zfs list` doesn''t show my snapshot
I think you are missing the point. They are auto-generated due to having Time Slider setup. It does auto-snapshots of the entire drive every hour. It removes old ones when the drive reaches 80% utilization. http://blogs.sun.com/erwann/entry/zfs_on_the_desktop_zfs Hope that helps, Malachi On Tue, Nov 25, 2008 at 1:24 PM, Pawe? T?cza <ptecza at uw.edu.pl> wrote:> Dnia 2008-11-25, wto o godzinie 10:16 -0800, Malachi de ?lfweald pisze: > > I did a fresh install a week ago. Because of Time Slider / > > auto-snapshot being installed, I have 15 pages of snapshots. > > Malachi, > > You only wrote that you have a lot of snapshots. You didn''t wrote > whether you really need all of them. I doubt it. So if you don''t want to > litter your pool more, then the best thing is removing the most of your > snapshots. > > Cheers, > > Pawel > > > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20081125/945b6e79/attachment.html>
Dnia 2008-11-25, wto o godzinie 13:46 -0800, Malachi de ?lfweald pisze:> I think you are missing the point. They are auto-generated due to > having Time Slider setup. It does auto-snapshots of the entire drive > every hour. It removes old ones when the drive reaches 80% > utilization. > > http://blogs.sun.com/erwann/entry/zfs_on_the_desktop_zfsThanks a lot for the link! That blog entry is really very useful. Well, I''ve havent used Time Slider yet. But I can see at the screenshot that you can decrease "% of file system capacity". Default 80% is too big value for me. Also I''m very curious whether I can configure Time Slider to taking backup every 2 or 4 or 8 hours, for example. Maybe is it advanced option? Unfortunately I can''t check it now, because I''m writing on Ubuntu box :P Good night, Pawel
Dnia 2008-11-25, wto o godzinie 23:16 +0100, Pawe? T?cza pisze:> Also I''m very curious whether I can configure Time Slider to taking > backup every 2 or 4 or 8 hours, for example.Or set the max number of snapshots? Pawel
Pawe? T?cza wrote:> Dnia 2008-11-25, wto o godzinie 23:16 +0100, Pawe? T?cza pisze: > > >> Also I''m very curious whether I can configure Time Slider to taking >> backup every 2 or 4 or 8 hours, for example. >> > > Or set the max number of snapshots? >UTSL http://src.opensolaris.org/source/xref/jds/zfs-snapshot/src/ The service offers a way to manage cronjobs, but you can manage them in other ways, too. -- richard
Pawe? T?cza wrote:> Dnia 2008-11-25, wto o godzinie 23:16 +0100, Pawe? T?cza pisze: > >> Also I''m very curious whether I can configure Time Slider to taking >> backup every 2 or 4 or 8 hours, for example. > > Or set the max number of snapshots?Yes you can (though not in the time-slider gui yet). Have a read of http://src.opensolaris.org/source/xref/jds/zfs-snapshot/README.zfs-auto-snapshot.txt In particular, look for the "zfs/keep" setting to configure the maximum number of snapshots you''d like each instance to keep, and "zfs/period" to set how many <intervals> you want to wait between snapshots. cheers, tim
Richard Morris - Sun Microsystems - Burlington United States
2008-Nov-25 23:34 UTC
[zfs-discuss] `zfs list` doesn''t show my snapshot
On 11/25/08 16:41, Pawe? T?cza wrote:> Dnia 2008-11-25, wto o godzinie 13:11 -0500, Richard Morris - Sun > Microsystems - Burlington United States pisze: > >> Pawel, >> >> With http://bugs.opensolaris.org/view_bug.do?bug_id=6734907 >> "zfs list -t all would be useful once snapshots are omitted by default", >> the syntax of zfs list is very close to the one you have dreamed of: >> >> zfs list -t [filesystem|volume|snapshot|all] >> >> zfs list displays all filesystems and volumes >> displays snapshots only if "listsnaps=on" >> >> zfs list -t filesystem displays all filesystems >> does not display volumes or snapshots >> >> zfs list -t volume displays all volumes >> does not display filesystems or snapshots >> >> zfs list -t snapshot displays all snapshots >> does not display filesystems or volumes >> >> zfs list -t all displays all filesystems, volumes, and >> snapshots (even if "listsnaps=off") > > Hi Rich, > > Thanks a lot for your feedback! I was thinking that `zfs list` thread > is already dead ;) > > The syntax above is pretty nice for me, but IMHO the "-t" switch is > rather needless here :) > > I also asked Sun people about your well-known backward compatibility, > but unfortunately nobody commented on it :(Pawel, The fix for 6734907 did not add the -t option to zfs list. That option already existed so there''s no issue with backward compatibility. Listing all datasets could be done by a zfs list -t filesystem,volume,snapshot which produced the same output as zfs list. Now that snapshots are not displayed by default (unless listsnaps=on) there''s some benefit in having a shorter option to list all datasets. So 6734907 added -t all which produces the same output as -t filesystem,volume,snapshot. -- Rich -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20081125/e9ae653f/attachment.html>
On Tue, Nov 25, 2008 at 06:34:47PM -0500, Richard Morris - Sun Microsystems - Burlington United States wrote:> option to list all datasets. So 6734907 added -t all which produces the > same output as -t filesystem,volume,snapshot. > 1. http://bugs.opensolaris.org/view_bug.do?bug_id=6734907Hmmm - very strange, when I run ''zfs list -t all'' on b101 it says: invalid type ''all'' ... But the bug report says: Fixed In snv_99 Release Fixed solaris_nevada(snv_99) So, what do those fields really mean? Regards, jel. -- Otto-von-Guericke University http://www.cs.uni-magdeburg.de/ Department of Computer Science Geb. 29 R 027, Universitaetsplatz 2 39106 Magdeburg, Germany Tel: +49 391 67 12768
Dnia 2008-11-25, wto o godzinie 23:10 +0000, Tim Foster pisze:> Pawe? T?cza wrote: > > Dnia 2008-11-25, wto o godzinie 23:16 +0100, Pawe? T?cza pisze: > > > >> Also I''m very curious whether I can configure Time Slider to taking > >> backup every 2 or 4 or 8 hours, for example. > > > > Or set the max number of snapshots? > > Yes you can (though not in the time-slider gui yet). Have a read of > http://src.opensolaris.org/source/xref/jds/zfs-snapshot/README.zfs-auto-snapshot.txt > > In particular, look for the "zfs/keep" setting to configure the maximum > number of snapshots you''d like each instance to keep, and "zfs/period" > to set how many <intervals> you want to wait between snapshots.Tim and Richard, Thank you very much for your explanations! Now I can see that Time Slider is very flexible tool. Great work! I like it :) Have a nice day of using *Solaris :D Pawel
Dnia 2008-11-25, wto o godzinie 18:34 -0500, Richard Morris - Sun Microsystems - Burlington United States pisze:> On 11/25/08 16:41, Pawe? T?cza wrote: > > > > Hi Rich, > > > > Thanks a lot for your feedback! I was thinking that `zfs list` thread > > is already dead ;) > > > > The syntax above is pretty nice for me, but IMHO the "-t" switch is > > rather needless here :) > > > > I also asked Sun people about your well-known backward compatibility, > > but unfortunately nobody commented on it :( > Pawel, > > The fix for 6734907 did not add the -t option to zfs list. That > option already existed so there''s no issue with backward > compatibility. Listing all datasets could be done by a zfs list -t > filesystem,volume,snapshot which produced the same output as zfs list. > Now that snapshots are not displayed by default (unless listsnaps=on) > there''s some benefit in having a shorter option to list all datasets. > So 6734907 added -t all which produces the same output as -t > filesystem,volume,snapshot.Hello Rich, I believe you, because I''ve been using OpenSolaris for only about 2-3 months :) I have no questions now ;) My best regards, Pawel
Jens Elkner pisze:> On Tue, Nov 25, 2008 at 06:34:47PM -0500, Richard Morris - Sun Microsystems - Burlington United States wrote: > >> option to list all datasets. So 6734907 added -t all which produces the >> same output as -t filesystem,volume,snapshot. >> 1. http://bugs.opensolaris.org/view_bug.do?bug_id=6734907 > > Hmmm - very strange, when I run ''zfs list -t all'' on b101 it says: > > invalid type ''all'' > ... > > But the bug report says: > Fixed In snv_99 > Release Fixed solaris_nevada(snv_99) > > So, what do those fields really mean?Hello Jens, I have OpenSolaris snv_101a (upgraded from snv_99): ptecza at oklahoma:~$ uname -a SunOS oklahoma 5.11 snv_101a i86pc i386 i86pc Solaris and that command works for me: ptecza at oklahoma:~$ zfs list -t all NAME USED AVAIL REFER MOUNTPOINT rpool 11,0G 3,40G 61K /rpool rpool at install 20K - 58K - rpool/ROOT 9,20G 3,40G 18K legacy rpool/ROOT at install 0 - 18K - rpool/ROOT/opensolaris 89,7M 3,40G 5,44G legacy rpool/ROOT/opensolaris-1 9,11G 3,40G 5,59G legacy rpool/ROOT/opensolaris-1 at install 1,47G - 2,74G - rpool/ROOT/opensolaris-1 at static:-:2008-11-17-22:12:17 124K - 4,83G - rpool/ROOT/opensolaris-1 at static:-:2008-11-17-22:13:16 119K - 4,83G - rpool/ROOT/opensolaris-1 at static:-:2008-11-17-22:13:59 16,6M - 4,84G - rpool/ROOT/opensolaris-1 at static:-:2008-11-17-23:21:06 76,4M - 4,83G - rpool/ROOT/opensolaris-1 at static:-:2008-11-19-15:51:21 65,7M - 5,44G - rpool/ROOT/opensolaris-1 at 2008-11-21-11:30:33 12,6M - 5,51G - rpool/ROOT/opensolaris-1 at 2008-11-21-14:03:43 248K - 5,52G - rpool/ROOT/opensolaris-1 at backup 254K - 5,52G - rpool/ROOT/opensolaris-1 at 2008-11-24-21:08:37 2,56M - 5,57G - rpool/ROOT/opensolaris-1 at 2008-11-24-21:09:26 2,52M - 5,58G - rpool/dump 256M 3,40G 256M - rpool/export 1,02G 3,40G 19K /export rpool/export at install 15K - 19K - rpool/export/home 1,02G 3,40G 1,02G /export/home rpool/export/home at install 20K - 21K - rpool/swap 524M 3,40G 524M - My best regards, Pawel