[indiana-discuss] Frequent and Hourly auto-snapshot problem
Tim Foster
Tim.Foster at Sun.COM
Mon Feb 2 03:53:31 PST 2009
hi Luis,
Luis Useche wrote:
> I am quite new to OpenSolaris. I am having some problems with the
> auto-snapshot:frequent and auto-snapshot:hourly services. For this
> reason, my Time-Slider is not working properly. When I do "svcs -xv":
Yep, this is due to a known bug in ZFS itself -
http://defect.opensolaris.org/bz/show_bug.cgi?id=5000
captures the details and documents a workaround.
cheers,
tim
>
> <code>
> svc:/system/filesystem/zfs/auto-snapshot:frequent (ZFS automatic snapshots)
> State: maintenance since Sun Feb 01 17:11:16 2009
> 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 Sun Feb 01 18:00:01 2009
> 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
> </code>
>
> Next, I copy the log file of the frequent service:
>
> [ Jan 31 22:28:40 Disabled. ]
> [ Jan 31 22:28:40 Rereading configuration. ]
> [ Jan 31 22:39:07 Enabled. ]
> [ Jan 31 22:39:07 Executing start method ("/lib/svc/method/zfs-auto-snapshot start"). ]
> crontab: can't open your crontab file.
> Checking for non-recursive missed // snapshots rpool
> Last snapshot for svc:/system/filesystem/zfs/auto-snapshot:frequent taken on [ no snapshot taken yet ]
> which was greater than the 15 minutes schedule. Taking snapshot now.
> Checking for recursive missed // snapshots rpool/export rpool/ROOT
> Last snapshot for svc:/system/filesystem/zfs/auto-snapshot:frequent taken on [ no snapshot taken yet ]
> which was greater than the 15 minutes schedule. Taking snapshot now.
> [ Jan 31 22:39:32 Method "start" exited with status 0. ]
> [ Jan 31 23:05:59 Enabled. ]
> [ Jan 31 23:06:19 Executing start method ("/lib/svc/method/zfs-auto-snapshot start"). ]
> Checking for non-recursive missed // snapshots rpool
> Checking for recursive missed // snapshots rpool/export rpool/ROOT
> [ Jan 31 23:06:24 Method "start" exited with status 0. ]
> [ Jan 31 23:15:01 Stopping for maintenance due to administrative_request. ]
> [ Jan 31 23:15:01 Executing stop method ("/lib/svc/method/zfs-auto-snapshot stop"). ]
> [ Jan 31 23:15:01 Method "stop" exited with status 0. ]
> [ Jan 31 23:15:01 Stopping for maintenance due to administrative_request. ]
> [ Jan 31 23:44:08 Enabled. ]
> [ Jan 31 23:44:27 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:frequent taken on Sat Jan 31 23:15 2009
> which was greater than the 15 minutes schedule. Taking snapshot now.
> Checking for recursive missed // snapshots rpool/export rpool/ROOT
> Last snapshot for svc:/system/filesystem/zfs/auto-snapshot:frequent taken on Sat Jan 31 23:15 2009
> which was greater than the 15 minutes schedule. Taking snapshot now.
> cannot create snapshot 'rpool/ROOT/opensolaris at zfs-auto-snap:frequent-2009-01-31-23:44': dataset is busy
> no snapshots were created
> Error: Unable to take recursive snapshots of rpool/ROOT at zfs-auto-snap:frequent-2009-01-31-23:44.
> Moving service svc:/system/filesystem/zfs/auto-snapshot:frequent to maintenance mode.
> [ Jan 31 23:44:35 Method "start" exited with status 0. ]
> [ Jan 31 23:44:35 Stopping for maintenance due to administrative_request. ]
> [ Jan 31 23:44:35 Executing stop method ("/lib/svc/method/zfs-auto-snapshot stop"). ]
> [ Jan 31 23:44:35 Method "stop" exited with status 0. ]
> [ Jan 31 23:44:35 Stopping for maintenance due to administrative_request. ]
> [ Feb 1 00:00:01 Enabled. ]
> [ Feb 1 00:00:19 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:frequent taken on Sat Jan 31 23:44 2009
> which was greater than the 15 minutes schedule. Taking snapshot now.
> Checking for recursive missed // snapshots rpool/export rpool/ROOT
> Last snapshot for svc:/system/filesystem/zfs/auto-snapshot:frequent taken on Sat Jan 31 23:44 2009
> which was greater than the 15 minutes schedule. Taking snapshot now.
> cannot create snapshot 'rpool/ROOT/opensolaris at zfs-auto-snap:frequent-2009-02-01-00:00': dataset is busy
> no snapshots were created
> Error: Unable to take recursive snapshots of rpool/ROOT at zfs-auto-snap:frequent-2009-02-01-00:00.
> Moving service svc:/system/filesystem/zfs/auto-snapshot:frequent to maintenance mode.
> [ Feb 1 00:00:26 Method "start" exited with status 0. ]
> [ Feb 1 00:00:26 Stopping for maintenance due to administrative_request. ]
> [ Feb 1 00:00:26 Executing stop method ("/lib/svc/method/zfs-auto-snapshot stop"). ]
> [ Feb 1 00:00:27 Method "stop" exited with status 0. ]
> [ Feb 1 00:00:27 Stopping for maintenance due to administrative_request. ]
> [ Feb 1 10:51:04 Enabled. ]
> [ Feb 1 10:51:24 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:frequent taken on Sun Feb 1 0:00 2009
> which was greater than the 15 minutes schedule. Taking snapshot now.
> Checking for recursive missed // snapshots rpool/export rpool/ROOT
> Last snapshot for svc:/system/filesystem/zfs/auto-snapshot:frequent taken on Sun Feb 1 0:00 2009
> which was greater than the 15 minutes schedule. Taking snapshot now.
> cannot create snapshot 'rpool/ROOT/opensolaris at zfs-auto-snap:frequent-2009-02-01-10:51': dataset is busy
> no snapshots were created
> Error: Unable to take recursive snapshots of rpool/ROOT at zfs-auto-snap:frequent-2009-02-01-10:51.
> Moving service svc:/system/filesystem/zfs/auto-snapshot:frequent to maintenance mode.
> [ Feb 1 10:51:31 Method "start" exited with status 0. ]
> [ Feb 1 10:51:31 Stopping for maintenance due to administrative_request. ]
> [ Feb 1 10:51:31 Executing stop method ("/lib/svc/method/zfs-auto-snapshot stop"). ]
> [ Feb 1 10:51:31 Method "stop" exited with status 0. ]
> [ Feb 1 10:51:31 Stopping for maintenance due to administrative_request. ]
> [ Feb 1 11:15:42 Enabled. ]
> [ Feb 1 11:16:00 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:frequent taken on Sun Feb 1 10:51 2009
> which was greater than the 15 minutes schedule. Taking snapshot now.
> Checking for recursive missed // snapshots rpool/export rpool/ROOT
> Last snapshot for svc:/system/filesystem/zfs/auto-snapshot:frequent taken on Sun Feb 1 10:51 2009
> which was greater than the 15 minutes schedule. Taking snapshot now.
> cannot create snapshot 'rpool/ROOT/opensolaris at zfs-auto-snap:frequent-2009-02-01-11:16': dataset is busy
> no snapshots were created
> Error: Unable to take recursive snapshots of rpool/ROOT at zfs-auto-snap:frequent-2009-02-01-11:16.
> Moving service svc:/system/filesystem/zfs/auto-snapshot:frequent to maintenance mode.
> [ Feb 1 11:16:07 Method "start" exited with status 0. ]
> [ Feb 1 11:16:07 Stopping for maintenance due to administrative_request. ]
> [ Feb 1 11:16:07 Executing stop method ("/lib/svc/method/zfs-auto-snapshot stop"). ]
> [ Feb 1 11:16:07 Method "stop" exited with status 0. ]
> [ Feb 1 11:16:07 Stopping for maintenance due to administrative_request. ]
> [ Feb 1 17:50:18 Enabled. ]
> [ Feb 1 17:50:38 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:frequent taken on Sun Feb 1 11:16 2009
> which was greater than the 15 minutes schedule. Taking snapshot now.
> Checking for recursive missed // snapshots rpool/export rpool/ROOT
> Last snapshot for svc:/system/filesystem/zfs/auto-snapshot:frequent taken on Sun Feb 1 11:16 2009
> which was greater than the 15 minutes schedule. Taking snapshot now.
> cannot create snapshot 'rpool/ROOT/opensolaris at zfs-auto-snap:frequent-2009-02-01-17:50': dataset is busy
> no snapshots were created
> Error: Unable to take recursive snapshots of rpool/ROOT at zfs-auto-snap:frequent-2009-02-01-17:50.
> Moving service svc:/system/filesystem/zfs/auto-snapshot:frequent to maintenance mode.
> [ Feb 1 17:50:48 Method "start" exited with status 0. ]
> [ Feb 1 17:50:48 Stopping for maintenance due to administrative_request. ]
> [ Feb 1 17:50:48 Executing stop method ("/lib/svc/method/zfs-auto-snapshot stop"). ]
> [ Feb 1 17:50:48 Method "stop" exited with status 0. ]
> [ Feb 1 17:50:48 Stopping for maintenance due to administrative_request. ]
> [ Feb 1 18:00:30 Leaving maintenance because clear requested. ]
> [ Feb 1 18:00:30 Enabled. ]
> [ Feb 1 18:00:30 Executing start method ("/lib/svc/method/zfs-auto-snapshot start"). ]
> Checking for non-recursive missed // snapshots rpool
> Checking for recursive missed // snapshots rpool/export rpool/ROOT
> [ Feb 1 18:00:32 Method "start" exited with status 0. ]
> [ Feb 1 18:15:02 Stopping for maintenance due to administrative_request. ]
> [ Feb 1 18:15:02 Executing stop method ("/lib/svc/method/zfs-auto-snapshot stop"). ]
> [ Feb 1 18:15:02 Method "stop" exited with status 0. ]
> [ Feb 1 18:15:02 Stopping for maintenance due to administrative_request. ]
> [ Feb 1 19:11:36 Enabled. ]
> [ Feb 1 19:11:54 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:frequent taken on Sun Feb 1 18:15 2009
> which was greater than the 15 minutes schedule. Taking snapshot now.
> Checking for recursive missed // snapshots rpool/export rpool/ROOT
> Last snapshot for svc:/system/filesystem/zfs/auto-snapshot:frequent taken on Sun Feb 1 18:15 2009
> which was greater than the 15 minutes schedule. Taking snapshot now.
> cannot create snapshot 'rpool/ROOT/opensolaris at zfs-auto-snap:frequent-2009-02-01-19:12': dataset is busy
> no snapshots were created
> Error: Unable to take recursive snapshots of rpool/ROOT at zfs-auto-snap:frequent-2009-02-01-19:12.
> Moving service svc:/system/filesystem/zfs/auto-snapshot:frequent to maintenance mode.
> [ Feb 1 19:12:05 Method "start" exited with status 0. ]
> [ Feb 1 19:12:05 Stopping for maintenance due to administrative_request. ]
> [ Feb 1 19:12:05 Executing stop method ("/lib/svc/method/zfs-auto-snapshot stop"). ]
> [ Feb 1 19:12:05 Method "stop" exited with status 0. ]
> [ Feb 1 19:12:05 Stopping for maintenance due to administrative_request. ]
> [ Feb 1 20:27:47 Enabled. ]
> [ Feb 1 20:28:05 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:frequent taken on Sun Feb 1 19:12 2009
> which was greater than the 15 minutes schedule. Taking snapshot now.
> Checking for recursive missed // snapshots rpool/export rpool/ROOT
> Last snapshot for svc:/system/filesystem/zfs/auto-snapshot:frequent taken on Sun Feb 1 19:12 2009
> which was greater than the 15 minutes schedule. Taking snapshot now.
> cannot create snapshot 'rpool/ROOT/opensolaris at zfs-auto-snap:frequent-2009-02-01-20:28': dataset is busy
> no snapshots were created
> Error: Unable to take recursive snapshots of rpool/ROOT at zfs-auto-snap:frequent-2009-02-01-20:28.
> Moving service svc:/system/filesystem/zfs/auto-snapshot:frequent to maintenance mode.
> [ Feb 1 20:28:12 Method "start" exited with status 0. ]
> [ Feb 1 20:28:12 Stopping for maintenance due to administrative_request. ]
> [ Feb 1 20:28:12 Executing stop method ("/lib/svc/method/zfs-auto-snapshot stop"). ]
> [ Feb 1 20:28:12 Method "stop" exited with status 0. ]
> [ Feb 1 20:28:12 Stopping for maintenance due to administrative_request. ]
> [ Feb 1 16:02:31 Leaving maintenance because clear requested. ]
> [ Feb 1 16:02:31 Enabled. ]
> [ Feb 1 16:02:31 Executing start method ("/lib/svc/method/zfs-auto-snapshot start"). ]
> Checking for non-recursive missed // snapshots rpool
> Checking for recursive missed // snapshots rpool/export rpool/ROOT
> [ Feb 1 16:02:32 Method "start" exited with status 0. ]
> [ Feb 1 16:15:01 Stopping for maintenance due to administrative_request. ]
> [ Feb 1 16:15:02 Executing stop method ("/lib/svc/method/zfs-auto-snapshot stop"). ]
> [ Feb 1 16:15:02 Method "stop" exited with status 0. ]
> [ Feb 1 16:15:02 Stopping for maintenance due to administrative_request. ]
> [ Feb 1 17:11:11 Leaving maintenance because clear requested. ]
> [ Feb 1 17:11:11 Enabled. ]
> [ Feb 1 17:11:11 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:frequent taken on Sun Feb 1 16:15 2009
> which was greater than the 15 minutes schedule. Taking snapshot now.
> Checking for recursive missed // snapshots rpool/export rpool/ROOT
> Last snapshot for svc:/system/filesystem/zfs/auto-snapshot:frequent taken on Sun Feb 1 16:15 2009
> which was greater than the 15 minutes schedule. Taking snapshot now.
> cannot create snapshot 'rpool/ROOT/opensolaris at zfs-auto-snap:frequent-2009-02-01-17:11': dataset is busy
> no snapshots were created
> Error: Unable to take recursive snapshots of rpool/ROOT at zfs-auto-snap:frequent-2009-02-01-17:11.
> Moving service svc:/system/filesystem/zfs/auto-snapshot:frequent to maintenance mode.
> [ Feb 1 17:11:15 Method "start" exited with status 0. ]
> [ Feb 1 17:11:15 Stopping for maintenance due to administrative_request. ]
> [ Feb 1 17:11:15 Executing stop method ("/lib/svc/method/zfs-auto-snapshot stop"). ]
> [ Feb 1 17:11:16 Method "stop" exited with status 0. ]
> [ Feb 1 17:11:16 Stopping for maintenance due to administrative_request. ]
>
> Thanks in advance,
>
> Luis
More information about the indiana-discuss
mailing list