On a related note, it looks like Constantin is developing a nice SMF service
for auto scrub:
http://blogs.sun.com/constantin/entry/new_opensolaris_zfs_auto_scrub
This is an adaptation of the well-tested auto snapshot service. Amongst other
advantages, this approach means that you don't have t
Glad it helped you.
As far as it concerns your observation about the root user, please
take into account that Solaris Role Based Access control lets you fine
tune privileges you grant to users: your "ZFS administrator" needs not
be root. Specifically, if you have a look at your /etc/prof_attr and
I've looked at man cron and found out that I can modify /etc/default/cron file
to set PATH that is defaulted for /usr/bin for mortal users and
/usr/bin:/usr/sbin for root.
I did not change /etc/default/cron file, instead I've indicated full path in my
crontab file.
Ethically speaking I guess s
It's ok to use zpool full path. Nontheless, I'd suggest you read
crontab man page to learn how you can set some options, such as paths,
shell, timezones and so on directly into your crontab files.
On Nov 1, 2009, at 16:45, Vano Beridze wrote:
Now I've logged in and there was a mail saying t
On Sun, Nov 1, 2009 at 3:45 PM, Vano Beridze wrote:
> Now I've logged in and there was a mail saying that cron did not found zpool
>
> it's in my path
> which zpool
> /usr/sbin/spool
>
> Does cron use different PATH setting?
Yes. Typically your PATH is set up by various shell initialisations
whic
Now I've logged in and there was a mail saying that cron did not found zpool
it's in my path
which zpool
/usr/sbin/spool
Does cron use different PATH setting?
Is it ok to specify /usr/sbin/zpool in crontab file?
--
This message posted from opensolaris.org
___
Vano Beridze wrote:
where can I see the output of the cron job?
man cron...
cron captures the output of the job's stdout and stderr
streams, and, if it is not empty, mails the output to the
user. If the job does not produce output, no mail is sent to
the user.
--
And
where can I see the output of the cron job?
--
This message posted from opensolaris.org
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Vano Beridze wrote:
Hello
I've got OpenSolaris 2009.06
I've created crontab entry using crontab -e command
and crontab -l gives me the output
0 12 * * 0 pfexec zpool scrub rpool
On sunday at 12:10 AM zpool status told me that scrub was not done.
svcs | grep cron
online Oct_27 svc:/s
Hello
I've got OpenSolaris 2009.06
I've created crontab entry using crontab -e command
and crontab -l gives me the output
0 12 * * 0 pfexec zpool scrub rpool
On sunday at 12:10 AM zpool status told me that scrub was not done.
svcs | grep cron
online Oct_27 svc:/system/cron:default
Wh
10 matches
Mail list logo