heya,

I'm using OpenSolaris 2008.11 (101a), and trying to use the time-slider 
functionality.

The SUNWgnoem-time-slider and SUNWzfs-auto-snapshot packages enabled, and I've 
enabled time-slider via System, Administration, Time-Slider Setup.

However, the auto-snapshot services appear to go into maintenance when they try 
to make their snapshots, and the time-slider service then goes into offline.

I've included some log output below, which should hopefully provided some more 
info.

Cheers,
Victor

# svcs -a
STATE          STIME    FMRI
(lines removed)
online          5:22:05 svc:/system/name-service-cache:default
online         11:21:07 svc:/system/filesystem/zfs/auto-snapshot:weekly
online         11:21:28 svc:/system/filesystem/zfs/auto-snapshot:daily
offline        1986     svc:/system/avahi-bridge-dsd:default
offline        12:00:02 svc:/application/time-slider:default
maintenance    12:00:02 svc:/system/filesystem/zfs/auto-snapshot:hourly
maintenance    12:00:02 svc:/system/filesystem/zfs/auto-snapshot:frequent
# 

# svcs -xv
svc:/system/filesystem/zfs/auto-snapshot:frequent (ZFS automatic snapshots)
 State: maintenance since 21 November 2008 12:00:02 PM
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 21 November 2008 12:00:02 PM
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:/network/dns/multicast:default (DNS Service Discovery and Multicast DNS)
 State: disabled since 28 December 1986 11:00:07 AM
Reason: Disabled by an administrator.
   See: http://sun.com/msg/SMF-8000-05
   See: man -M /usr/share/man -s 1M mdnsd
   See: http://opensolaris.org/os/project/nwam/service-discovery/
Impact: 1 dependent service is not running:
        svc:/system/avahi-bridge-dsd:default
# 

# cat /var/svc/log/system-filesystem-zfs-auto-snapshot\:frequent.log 
[ Dec 28 11:00:19 Disabled. ]
[ Dec 28 11:00:19 Rereading configuration. ]
[ Nov 21 05:21:18 Enabled. ]
[ Nov 21 05:21:18 Executing start method ("/lib/svc/method/zfs-auto-snapshot 
start"). ]
Checking for non-recursive missed // snapshots 
Checking for recursive missed // snapshots datastore rpool
Last snapshot for svc:/system/filesystem/zfs/auto-snapshot:frequent taken on 
Fri Nov 7 14:30 2008
which was greater than the 15 minutes schedule. Taking snapshot now.
cannot create snapshot 'rpool/ROOT/[EMAIL 
PROTECTED]:frequent-2008-11-21-05:21': dataset is busy
no snapshots were created
Error: Unable to take recursive snapshots of [EMAIL 
PROTECTED]:frequent-2008-11-21-05:21.
Moving service svc:/system/filesystem/zfs/auto-snapshot:frequent to maintenance 
mode.
Moving service svc:/system/filesystem/zfs/auto-snapshot:frequent to maintenance 
mode.
[ Nov 21 05:21:22 Method "start" exited with status 0. ]
[ Nov 21 05:21:22 Stopping for maintenance due to administrative_request. ]
[ Nov 21 05:21:22 Executing stop method ("/lib/svc/method/zfs-auto-snapshot 
stop"). ]
[ Nov 21 05:21:23 Method "stop" exited with status 0. ]
[ Nov 21 05:21:23 Stopping for maintenance due to administrative_request. ]
[ Nov 21 11:21:20 Leaving maintenance because clear requested. ]
[ Nov 21 11:21:20 Enabled. ]
[ Nov 21 11:21:20 Executing start method ("/lib/svc/method/zfs-auto-snapshot 
start"). ]
Checking for non-recursive missed // snapshots 
Checking for recursive missed // snapshots datastore rpool
Last snapshot for svc:/system/filesystem/zfs/auto-snapshot:frequent taken on 
Fri Nov 21 5:21 2008
which was greater than the 15 minutes schedule. Taking snapshot now.
cannot create snapshot 'rpool/ROOT/[EMAIL 
PROTECTED]:frequent-2008-11-21-11:21': dataset is busy
no snapshots were created
Error: Unable to take recursive snapshots of [EMAIL 
PROTECTED]:frequent-2008-11-21-11:21.
Moving service svc:/system/filesystem/zfs/auto-snapshot:frequent to maintenance 
mode.
Moving service svc:/system/filesystem/zfs/auto-snapshot:frequent to maintenance 
mode.
[ Nov 21 11:21:21 Method "start" exited with status 0. ]
[ Nov 21 11:21:21 Stopping for maintenance due to administrative_request. ]
[ Nov 21 11:21:21 Executing stop method ("/lib/svc/method/zfs-auto-snapshot 
stop"). ]
[ Nov 21 11:21:21 Method "stop" exited with status 0. ]
[ Nov 21 11:21:21 Stopping for maintenance due to administrative_request. ]
[ Nov 21 11:21:46 Leaving maintenance because clear requested. ]
[ Nov 21 11:21:46 Enabled. ]
[ Nov 21 11:21:46 Executing start method ("/lib/svc/method/zfs-auto-snapshot 
start"). ]
Checking for non-recursive missed // snapshots 
Checking for recursive missed // snapshots datastore rpool
[ Nov 21 11:21:46 Method "start" exited with status 0. ]
[ Nov 21 11:30:01 Stopping for maintenance due to administrative_request. ]
[ Nov 21 11:30:01 Executing stop method ("/lib/svc/method/zfs-auto-snapshot 
stop"). ]
[ Nov 21 11:30:01 Method "stop" exited with status 0. ]
[ Nov 21 11:30:01 Stopping for maintenance due to administrative_request. ]
[ Nov 21 11:55:44 Leaving maintenance because clear requested. ]
[ Nov 21 11:55:44 Enabled. ]
[ Nov 21 11:55:44 Executing start method ("/lib/svc/method/zfs-auto-snapshot 
start"). ]
Checking for non-recursive missed // snapshots 
Checking for recursive missed // snapshots datastore rpool
Last snapshot for svc:/system/filesystem/zfs/auto-snapshot:frequent taken on 
Fri Nov 21 11:30 2008
which was greater than the 15 minutes schedule. Taking snapshot now.
cannot create snapshot 'rpool/ROOT/[EMAIL 
PROTECTED]:frequent-2008-11-21-11:55': dataset is busy
no snapshots were created
Error: Unable to take recursive snapshots of [EMAIL 
PROTECTED]:frequent-2008-11-21-11:55.
Moving service svc:/system/filesystem/zfs/auto-snapshot:frequent to maintenance 
mode.
Moving service svc:/system/filesystem/zfs/auto-snapshot:frequent to maintenance 
mode.
[ Nov 21 11:55:45 Method "start" exited with status 0. ]
[ Nov 21 11:55:45 Stopping for maintenance due to administrative_request. ]
[ Nov 21 11:55:45 Executing stop method ("/lib/svc/method/zfs-auto-snapshot 
stop"). ]
[ Nov 21 11:55:46 Method "stop" exited with status 0. ]
[ Nov 21 11:55:46 Stopping for maintenance due to administrative_request. ]
[ Nov 21 11:55:51 Leaving maintenance because clear requested. ]
[ Nov 21 11:55:51 Enabled. ]
[ Nov 21 11:55:51 Executing start method ("/lib/svc/method/zfs-auto-snapshot 
start"). ]
Checking for non-recursive missed // snapshots 
Checking for recursive missed // snapshots datastore rpool
[ Nov 21 11:55:52 Method "start" exited with status 0. ]
[ Nov 21 12:00:02 Stopping for maintenance due to administrative_request. ]
[ Nov 21 12:00:02 Executing stop method ("/lib/svc/method/zfs-auto-snapshot 
stop"). ]
[ Nov 21 12:00:02 Method "stop" exited with status 0. ]
[ Nov 21 12:00:02 Stopping for maintenance due to administrative_request. ]
# 

# cat /var/svc/log/application-time-slider\:default.log 
[ Dec 28 11:00:18 Disabled. ]
[ Dec 28 11:00:19 Rereading configuration. ]
[ Nov 21 05:21:17 Rereading configuration. ]
[ Nov 21 05:21:18 Rereading configuration. ]
[ Nov 21 05:21:18 Enabled. ]
[ Nov 21 11:21:46 Executing start method ("/lib/svc/method/time-slider start"). 
]
+ svcs -d -H -o fmri svc:/application/time-slider:default
+ grep auto-snapshot
+ 
DEPENDENCIES=$'svc:/system/filesystem/zfs/auto-snapshot:monthly\nsvc:/system/filesystem/zfs/auto-snapshot:weekly\nsvc:/system/filesystem/zfs/auto-snapshot:daily\nsvc:/system/filesystem/zfs/auto-snapshot:hourly\nsvc:/system/filesystem/zfs/auto-snapshot:frequent'
+ svcprop -p zfs/fs-name svc:/system/filesystem/zfs/auto-snapshot:monthly
+ [ // != // ]
+ svcprop -p zfs/fs-name svc:/system/filesystem/zfs/auto-snapshot:weekly
+ [ // != // ]
+ svcprop -p zfs/fs-name svc:/system/filesystem/zfs/auto-snapshot:daily
+ [ // != // ]
+ svcprop -p zfs/fs-name svc:/system/filesystem/zfs/auto-snapshot:hourly
+ [ // != // ]
+ svcprop -p zfs/fs-name svc:/system/filesystem/zfs/auto-snapshot:frequent
+ [ // != // ]
[ Nov 21 11:21:47 Method "start" exited with status 0. ]
[ Nov 21 11:22:24 Rereading configuration. ]
[ Nov 21 11:22:24 No 'refresh' method defined.  Treating as :true. ]
[ Nov 21 11:22:25 Rereading configuration. ]
[ Nov 21 11:22:25 No 'refresh' method defined.  Treating as :true. ]
[ Nov 21 11:30:01 Stopping because dependency activity requires stop. ]
[ Nov 21 11:30:01 Executing stop method ("/lib/svc/method/time-slider stop"). ]
[ Nov 21 11:30:01 Method "stop" exited with status 0. ]
[ Nov 21 11:55:45 Executing start method ("/lib/svc/method/time-slider start"). 
]
+ svcs -d -H -o fmri svc:/application/time-slider:default
+ grep auto-snapshot
+ 
DEPENDENCIES=$'svc:/system/filesystem/zfs/auto-snapshot:monthly\nsvc:/system/filesystem/zfs/auto-snapshot:weekly\nsvc:/system/filesystem/zfs/auto-snapshot:daily\nsvc:/system/filesystem/zfs/auto-snapshot:hourly\nsvc:/system/filesystem/zfs/auto-snapshot:frequent'
+ svcprop -p zfs/fs-name svc:/system/filesystem/zfs/auto-snapshot:monthly
+ [ // != // ]
+ svcprop -p zfs/fs-name svc:/system/filesystem/zfs/auto-snapshot:weekly
+ [ // != // ]
+ svcprop -p zfs/fs-name svc:/system/filesystem/zfs/auto-snapshot:daily
+ [ // != // ]
+ svcprop -p zfs/fs-name svc:/system/filesystem/zfs/auto-snapshot:hourly
+ [ // != // ]
+ svcprop -p zfs/fs-name svc:/system/filesystem/zfs/auto-snapshot:frequent
+ [ // != // ]
[ Nov 21 11:55:45 Method "start" exited with status 0. ]
[ Nov 21 11:55:46 Stopping because dependency activity requires stop. ]
[ Nov 21 11:55:46 Executing stop method ("/lib/svc/method/time-slider stop"). ]
[ Nov 21 11:55:46 Method "stop" exited with status 0. ]
[ Nov 21 11:55:52 Executing start method ("/lib/svc/method/time-slider start"). 
]
+ svcs -d -H -o fmri svc:/application/time-slider:default
+ grep auto-snapshot
+ 
DEPENDENCIES=$'svc:/system/filesystem/zfs/auto-snapshot:monthly\nsvc:/system/filesystem/zfs/auto-snapshot:weekly\nsvc:/system/filesystem/zfs/auto-snapshot:daily\nsvc:/system/filesystem/zfs/auto-snapshot:hourly\nsvc:/system/filesystem/zfs/auto-snapshot:frequent'
+ svcprop -p zfs/fs-name svc:/system/filesystem/zfs/auto-snapshot:monthly
+ [ // != // ]
+ svcprop -p zfs/fs-name svc:/system/filesystem/zfs/auto-snapshot:weekly
+ [ // != // ]
+ svcprop -p zfs/fs-name svc:/system/filesystem/zfs/auto-snapshot:daily
+ [ // != // ]
+ svcprop -p zfs/fs-name svc:/system/filesystem/zfs/auto-snapshot:hourly
+ [ // != // ]
+ svcprop -p zfs/fs-name svc:/system/filesystem/zfs/auto-snapshot:frequent
+ [ // != // ]
[ Nov 21 11:55:52 Method "start" exited with status 0. ]
[ Nov 21 12:00:02 Stopping because dependency activity requires stop. ]
[ Nov 21 12:00:02 Executing stop method ("/lib/svc/method/time-slider stop"). ]
[ Nov 21 12:00:02 Method "stop" exited with status 0. ]
#
-- 
This message posted from opensolaris.org
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to