Hello everybody, for some reason I can not find the zfs-autosnapshot service facility any more. I already reinstalles time-slider, but it refuses to start: RuntimeError: Error reading SMF schedule instances Details: [''/usr/bin/svcs'', ''-H'', ''-o'', ''state'', ''svc:/system/filesystem/zfs/auto-snapshot:monthly''] failed with exit code 1 svcs: Pattern ''svc:/system/filesystem/zfs/auto-snapshot:monthly'' doesn''t match any instances did anybody know a way to get the services back again? thx Carsten
On 07/ 5/12 06:52 PM, Carsten John wrote:> Hello everybody, > > > for some reason I can not find the zfs-autosnapshot service facility any more. I already reinstalles time-slider, but it refuses to start: > > > RuntimeError: Error reading SMF schedule instances > Details: > [''/usr/bin/svcs'', ''-H'', ''-o'', ''state'', ''svc:/system/filesystem/zfs/auto-snapshot:monthly''] failed with exit code 1 > svcs: Pattern ''svc:/system/filesystem/zfs/auto-snapshot:monthly'' doesn''t match any instances >Have you looked with svcs -a? # svcs -a | grep zfs disabled Jul_02 svc:/system/filesystem/zfs/auto-snapshot:daily disabled Jul_02 svc:/system/filesystem/zfs/auto-snapshot:frequent disabled Jul_02 svc:/system/filesystem/zfs/auto-snapshot:hourly disabled Jul_02 svc:/system/filesystem/zfs/auto-snapshot:monthly disabled Jul_02 svc:/system/filesystem/zfs/auto-snapshot:weekly disabled Jul_02 svc:/application/time-slider/plugin:zfs-send -- Ian.
-----Original message----- To: Carsten John <cjohn at mpi-bremen.de>; CC: zfs-discuss at opensolaris.org; From: Ian Collins <ian at ianshome.com> Sent: Thu 05-07-2012 09:59 Subject: Re: [zfs-discuss] Sol11 missing snapshot facility> On 07/ 5/12 06:52 PM, Carsten John wrote: > > Hello everybody, > > > > > > for some reason I can not find the zfs-autosnapshot service facility any > more. I already reinstalles time-slider, but it refuses to start: > > > > > > RuntimeError: Error reading SMF schedule instances > > Details: > > [''/usr/bin/svcs'', ''-H'', ''-o'', ''state'', > ''svc:/system/filesystem/zfs/auto-snapshot:monthly''] failed with exit code 1 > > svcs: Pattern ''svc:/system/filesystem/zfs/auto-snapshot:monthly'' doesn''t > match any instances > > > Have you looked with svcs -a? > > # svcs -a | grep zfs > disabled Jul_02 svc:/system/filesystem/zfs/auto-snapshot:daily > disabled Jul_02 svc:/system/filesystem/zfs/auto-snapshot:frequent > disabled Jul_02 svc:/system/filesystem/zfs/auto-snapshot:hourly > disabled Jul_02 svc:/system/filesystem/zfs/auto-snapshot:monthly > disabled Jul_02 svc:/system/filesystem/zfs/auto-snapshot:weekly > disabled Jul_02 svc:/application/time-slider/plugin:zfs-send > > -- > Ian. > >Hi Ian, yes, I already checked that: svcs -a | grep zfs disabled 11:50:39 svc:/application/time-slider/plugin:zfs-send is the only service I get listed. thx Carsten
On 07/ 5/12 09:25 PM, Carsten John wrote:> Hi Ian, > > yes, I already checked that: > > svcs -a | grep zfs > disabled 11:50:39 svc:/application/time-slider/plugin:zfs-send > > is the only service I get listed. >Odd. How did you install? Is the manifest there (/lib/svc/manifest/system/filesystem/auto-snapshot.xml)? -- Ian.
-----Original message----- To: Carsten John <cjohn at mpi-bremen.de>; CC: zfs-discuss at opensolaris.org; From: Ian Collins <ian at ianshome.com> Sent: Thu 05-07-2012 11:35 Subject: Re: [zfs-discuss] Sol11 missing snapshot facility> On 07/ 5/12 09:25 PM, Carsten John wrote: > > > Hi Ian, > > > > yes, I already checked that: > > > > svcs -a | grep zfs > > disabled 11:50:39 svc:/application/time-slider/plugin:zfs-send > > > > is the only service I get listed. > > > Odd. > > How did you install? > > Is the manifest there > (/lib/svc/manifest/system/filesystem/auto-snapshot.xml)? > > -- > Ian. > >Hi Ian, I installed from CD/DVD, but it might have been in a rush, as I needed to replace a broken machine as quick as possible. The manifest is there: ls /lib/svc/manifest/system/filesystem/ . .. auto-snapshot.xml autofs.xml local-fs.xml minimal-fs.xml rmvolmgr.xml root-fs.xml ufs-quota.xml usr-fs.xml thx Carsten
On 07/ 5/12 11:32 PM, Carsten John wrote:> -----Original message----- > To: Carsten John<cjohn at mpi-bremen.de>; > CC: zfs-discuss at opensolaris.org; > From: Ian Collins<ian at ianshome.com> > Sent: Thu 05-07-2012 11:35 > Subject: Re: [zfs-discuss] Sol11 missing snapshot facility >> On 07/ 5/12 09:25 PM, Carsten John wrote: >> >>> Hi Ian, >>> >>> yes, I already checked that: >>> >>> svcs -a | grep zfs >>> disabled 11:50:39 svc:/application/time-slider/plugin:zfs-send >>> >>> is the only service I get listed. >>> >> Odd. >> >> How did you install? >> >> Is the manifest there >> (/lib/svc/manifest/system/filesystem/auto-snapshot.xml)? >> > Hi Ian, > > I installed from CD/DVD, but it might have been in a rush, as I needed to replace a broken machine as quick as possible. > > The manifest is there: > > > ls /lib/svc/manifest/system/filesystem/ > . .. auto-snapshot.xml autofs.xml local-fs.xml minimal-fs.xml rmvolmgr.xml root-fs.xml ufs-quota.xml usr-fs.xml >Running "svcadm restart manifest-import" should load it, or give you some idea why it won''t load. -- Ian.
-----Original message----- To: Carsten John <cjohn at mpi-bremen.de>; CC: zfs-discuss at opensolaris.org; From: Ian Collins <ian at ianshome.com> Sent: Thu 05-07-2012 21:40 Subject: Re: [zfs-discuss] Sol11 missing snapshot facility> On 07/ 5/12 11:32 PM, Carsten John wrote: > > -----Original message----- > > To: Carsten John<cjohn at mpi-bremen.de>; > > CC: zfs-discuss at opensolaris.org; > > From: Ian Collins<ian at ianshome.com> > > Sent: Thu 05-07-2012 11:35 > > Subject: Re: [zfs-discuss] Sol11 missing snapshot facility > >> On 07/ 5/12 09:25 PM, Carsten John wrote: > >> > >>> Hi Ian, > >>> > >>> yes, I already checked that: > >>> > >>> svcs -a | grep zfs > >>> disabled 11:50:39 svc:/application/time-slider/plugin:zfs-send > >>> > >>> is the only service I get listed. > >>> > >> Odd. > >> > >> How did you install? > >> > >> Is the manifest there > >> (/lib/svc/manifest/system/filesystem/auto-snapshot.xml)? > >> > > Hi Ian, > > > > I installed from CD/DVD, but it might have been in a rush, as I needed to > replace a broken machine as quick as possible. > > > > The manifest is there: > > > > > > ls /lib/svc/manifest/system/filesystem/ > > . .. auto-snapshot.xml autofs.xml > local-fs.xml minimal-fs.xml rmvolmgr.xml root-fs.xml > ufs-quota.xml usr-fs.xml > > > > Running "svcadm restart manifest-import" should load it, or give you > some idea why it won''t load. > > -- > Ian. > >Hi Ian, it did the trick, but I had to uninstall/install the time-slider package. thx for the help Carsten