[OpenIndiana-discuss] auto-scrub and its result

Brogyányi József brogyi at gmail.com
Fri Dec 28 20:45:46 UTC 2012


Hi Bob

Thanks your answer. I'd like to know what does it mean clean shut down? 
I think there is a way what is the perfect.
Could you write down that command?This before I used Ubuntu.
Brogyi
I like your crontab command. :)

2012.12.28. 20:32 keltezéssel, Bob Friesenhahn írta:
> On Fri, 28 Dec 2012, Brogyányi József wrote:
>
>> Hi
>> Yesterday I've issued the scrub command by manual. The results are 
>> the next:
>> "scrub repaired 2.50K in 0h9m with 0 errors" this was on the rpool 
>> ssd and ( The SSD is a brand new Samsung equipment)
>> "scrub repaired 9K in 2h12m with 0 errors" this was on the disks.
>> My question is it good result or I have to worried for my datas?The 
>> scrub was after a week on line working.
>
> Whether this is cause for concern depends on how the system was used. 
> If the system was power cycled without a clean shutdown, then these 
> small repairs may be expected from an SSD (or perhaps worse).  If it 
> was running continuously, or cleanly shut down each time, then there 
> is cause for concern.
>
> SSDs might not commit the data when requested, or in reasonable order, 
> or they may even re-write already committed data, so they are an 
> additional risk factor compared with traditional disk drives if there 
> is a power failure.
>
>> Another question is in this topic about auto scrub.  I've found a 
>> script on this link:ftp://ftp.scn.rain.com/pub/solaris/zpadmin.txt
>> Are you know a better or simpler script what do you use in every 
>> day?Of course free version is interested in.
>
> On my own system, I just put the scrub command in the root crontab:
>
> # Scrub the root pool for errors at 3:20 AM every Monday
> 20 3 * * 1 /usr/sbin/zpool scrub rpool
>
> This does not provide any summary of results though.  You would need 
> to query results later (via 'zpool status rpool').
>
> Bob
>
>
> _______________________________________________
> OpenIndiana-discuss mailing list
> OpenIndiana-discuss at openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss



More information about the OpenIndiana-discuss mailing list