Hi Gilles,

On Wed, 2009-03-11 at 16:22 +0100, Gilles Gravier wrote:
> Workaround being to unmount the filesystem... hard as this is my root
> filesystem... :)

Are you sure it's the active root dataset, as opposed to an inactive
boot environment?

The opensolaris bug id is 5000 
http://defect.opensolaris.org/bz/show_bug.cgi?id=5000

& Cindy's exactly right with the bugster id.  You don't need to mount
and unmount the root dataset, just one of the inactive root datasets for
the other boot environments, eg.

# zfs set mountpoint=/tmp/a rpool/ROOT/opensolaris-1
# zfs mount rpool/ROOT/opensolaris-1
# zfs set mountpoint=/ rpool/ROOT/opensolaris-1

eventually, doing a simple 

# zfs snapshot -r rp...@snap

will succeed, at which point you can safely "svcadm clear" all of the
snapshots services that are in maintenance.

        cheers,
                        tim




> Gilles.
> 
> [email protected] wrote: 
> > Hi Gilles, 
> > 
> > This looks like: 
> > 
> > http://bugs.opensolaris.org/view_bug.do?bug_id=6462803 
> > 
> > I can't find the matching OSOL bugzilla record but try the
> > workaround 
> > in this bug report. 
> > 
> > Cindy 
> > 
> > Gilles Gravier wrote: 
> > > Hi! 
> > > 
> > > I get a strange message at boot since recent updates (b108, maybe
> > > before)... 
> > > 
> > > I get this when doing svcs -x : 
> > > 
> > > ggrav...@opensoltink:~$ svcs -xv 
> > > svc:/system/filesystem/zfs/auto-snapshot:frequent (ZFS automatic
> > > snapshots) 
> > >  State: maintenance since 11 March 2009 09:53:45 CET 
> > > Reason: Restarter svc:/system/svc/restarter:default gave no
> > > explanation. 
> > >    See: http://sun.com/msg/SMF-8000-9C 
> > > 
> > > See: /var/svc/log/system-filesystem-zfs-auto-snapshot:frequent.log 
> > > Impact: 1 dependent service is not running: 
> > >         svc:/application/time-slider:default 
> > > 
> > > svc:/system/filesystem/zfs/auto-snapshot:hourly (ZFS automatic
> > > snapshots) 
> > >  State: maintenance since 11 March 2009 09:53:53 CET 
> > > Reason: Restarter svc:/system/svc/restarter:default gave no
> > > explanation. 
> > >    See: http://sun.com/msg/SMF-8000-9C 
> > > 
> > > See: /var/svc/log/system-filesystem-zfs-auto-snapshot:hourly.log 
> > > Impact: 1 dependent service is not running: 
> > >         svc:/application/time-slider:default 
> > > 
> > > svc:/system/filesystem/zfs/auto-snapshot:daily (ZFS automatic
> > > snapshots) 
> > >  State: maintenance since 11 March 2009 09:53:59 CET 
> > > Reason: Restarter svc:/system/svc/restarter:default gave no
> > > explanation. 
> > >    See: http://sun.com/msg/SMF-8000-9C 
> > > 
> > > See: /var/svc/log/system-filesystem-zfs-auto-snapshot:daily.log 
> > > Impact: 1 dependent service is not running: 
> > >         svc:/application/time-slider:default 
> > > 
> > > 
> > > So I went to look at the log file... and I get this inside it : 
> > > 
> > > [ Mar 11 09:53:56 Enabled. ] 
> > > [ Mar 11 09:53:56 Executing start method
> > > ("/lib/svc/method/zfs-auto-snapshot start"). ] 
> > > Checking for non-recursive missed // snapshots  rpool 
> > > Last snapshot for svc:/system/filesystem/zfs/auto-snapshot:daily
> > > taken on Mon Mar  2 10:10 2009 
> > > which was greater than the 1 days schedule. Taking snapshot now. 
> > > Checking for recursive missed // snapshots rpool/export
> > > rpool/ROOT 
> > > Last snapshot for svc:/system/filesystem/zfs/auto-snapshot:daily
> > > taken on Mon Mar  2 10:10 2009 
> > > which was greater than the 1 days schedule. Taking snapshot now. 
> > > cannot create snapshot
> > > 'rpool/ROOT/opensola...@zfs-auto-snap:daily-2009-03-11-09:53':
> > > dataset is busy 
> > > no snapshots were created 
> > > Error: Unable to take recursive snapshots of
> > > rpool/r...@zfs-auto-snap:daily-2009-03-11-09:53. 
> > > Moving service svc:/system/filesystem/zfs/auto-snapshot:daily to
> > > maintenance mode. 
> > > [ Mar 11 09:53:59 Method "start" exited with status 0. ] 
> > > [ Mar 11 09:53:59 Stopping for maintenance due to
> > > administrative_request. ] 
> > > [ Mar 11 09:53:59 Executing stop method
> > > ("/lib/svc/method/zfs-auto-snapshot stop"). ] 
> > > [ Mar 11 09:53:59 Method "stop" exited with status 0. ] 
> > > [ Mar 11 09:53:59 Stopping for maintenance due to
> > > administrative_request. ] 
> > > 
> > > Any idea? 
> > > 
> > > Cheers, 
> > > Gilles. 
> > > 
> > > -- 
> > >           *Gilles Gravier, CISSP 
> > > *Government Industry Solutions Architect 
> > > 
> > > 
> > > 
> > > <mailto:[email protected]> 
> > > Voice : 
> > >     +41 (22) 999 9051 
> > > Mobile : 
> > >     +41 (79) 472 8437 
> > > Fax : 
> > >     +41 (860) 79 472 8437 
> > > E-mail : 
> > >     [email protected] <mailto:[email protected]> 
> > > 
> > >           *Sun Microsystems* 
> > > 12 route des Avouillons 
> > > CH-1196 Gland 
> > > Switzerland 
> > > 
> > > http://www.sun.com/opensource/     
> > >      
> > > SunIM :     [email protected] <http://im-amer.sun.com/> 
> > > ICQ : 
> > >     77488526
> > > <http://www.icq.com/whitepages/about_me.php?Uin=77488526> 
> > > AIM : 
> > >     gillesgravier <aim:goim?screenname=gillesgravier> 
> > > Y! : 
> > >     ggravier <http://profiles.yahoo.com/ggravier> 
> > > Jabber : 
> > >     [email protected]/Gaim <http://www.jabber.org/> 
> > > Skype : 
> > >     ggravier <callto://ggravier> 
> > > MSN : 
> > >     [email protected]
> > > <http://members.msn.com/[email protected]> 
> > > Google : 
> > >     [email protected] <mailto://[email protected]> 
> > > 
> > > 
> > > Sent from a laptop running OpenSolaris 2008.11 snv_108
> > > <http://www.opensolaris.org/> using Mozilla Thunderbird
> > > <http://www.mozilla.com/thunderbird/> (v2.0.0.18) 
> > > 
> > > 
> > > 
> > > ------------------------------------------------------------------------ 
> > > 
> > > _______________________________________________ 
> > > indiana-discuss mailing list 
> > > [email protected] 
> > > http://mail.opensolaris.org/mailman/listinfo/indiana-discuss 
> 
> -- 
>                                    
>                                    
>                                 Gilles
>                                Gravier,
>                                 CISSP
>                               Government
>                                Industry
>                               Solutions
>                               Architect
>                                    
>                                    
>                                    
>                                Voice :
>                                    
>                                  +41
>                                  (22)
>                                  999
>                                  9051
>                                    
>                               Mobile : 
>                                    
>                                  +41
>                                  (79)
>                                  472
>                                  8437
>                                    
>                                 Fax :
>                                    
>                                  +41
>                                 (860)
>                                   79
>                                  472
>                                  8437
>                                    
>                                E-mail :
>                                    
>                         [email protected]
>                                    
>                                    
>                                  Sun
>                              Microsystems
>                                12 route
>                                  des
>                               Avouillons
>                                CH-1196
>                                 Gland
>                              Switzerland
>                                    
>                     http://www.sun.com/opensource/
>                                    
>                                    
>                                SunIM :
>                            [email protected]
>                                 ICQ : 
>                                    
>                                77488526
>                                    
>                                 AIM : 
>                                    
>                             gillesgravier
>                                    
>                                 Y! : 
>                                    
>                                ggravier
>                                    
>                               Jabber : 
>                                    
>                        [email protected]/Gaim
>                                    
>                                Skype :
>                                    
>                                ggravier
>                                    
>                                 MSN :
>                                    
>                           [email protected]
>                                    
>                                Google :
>                                    
>                        [email protected]
>                                    
>                                    
>                                    
>  Sent from a laptop running OpenSolaris 2008.11 snv_108 using Mozilla
>                                    Thunderbird (v2.0.0.18)
>                                    
> 
> 
> _______________________________________________
> indiana-discuss mailing list
> [email protected]
> http://mail.opensolaris.org/mailman/listinfo/indiana-discuss

_______________________________________________
indiana-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss

Reply via email to