This is probably bug #6462803. The work-around goes something like this:

$ pfexec bash
# beadm mount opensolaris /mnt
# beadm unmount opensolaris
# svcadm clear svc:/system/filesystem/zfs/auto-snapshot:frequent
# svcadm clear svc:/system/filesystem/zfs/auto-snapshot:hourly
# svcadm clear svc:/system/filesystem/zfs/auto-snapshot:daily
# svcs -a | grep snapshot

The last command should show that the services are back online.

n


On Thu, Jul 23, 2009 at 12:31 PM, Axelle
Apvrille<no-re...@opensolaris.org> wrote:
> I've upgrade my OpenSolaris 2008.11 to 2009.06. During that process it 
> created a new boot environment:
> BE            Active Mountpoint Space Policy Created
> --            ------ ---------- ----- ------ -------
> opensolaris   NR     /          7.53G static 2009-01-03 13:18
> opensolaris-1 -      -          2.80G static 2009-07-20 22:38
>
> But now, all my zfs snapshot services are in maintenance mode:
> svc:/system/filesystem/zfs/auto-snapshot:frequent (ZFS automatic snapshots)
>  State: maintenance since Thu Jul 23 20:21:29 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
> etc
>
> The logs say that my host tried to create a snapshot, but couldn't because 
> 'dataset is busy':
> cannot create snapshot 
> 'rpool/ROOT/opensolari...@zfs-auto-snap:frequent-2009-07-23-20:21': dataset 
> is busy
> no snapshots were created
> Error: Unable to take recursive snapshots of 
> rpool/r...@zfs-auto-snap:frequent-2009-07-23-20:21.
> Moving service svc:/system/filesystem/zfs/auto-snapshot:frequent to 
> maintenance mode.
>
> Anyone knows how to fix this ?
> What is that boot environment opensolaris-1 for ? can I erase it safely ?
>
> Regards
> --
> This message posted from opensolaris.org
> _______________________________________________
> zfs-discuss mailing list
> zfs-discuss@opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
>
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to