Re: [zfs-discuss] Advice with SSD, ZIL and L2ARC

2011-09-10 Thread Jesus Cea
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 30/08/11 06:48, Michael DeMan wrote:
> Are you truly new to ZFS?   Or do you work for NetApp or EMC or 
> somebody else that is curious?

I am a Solaris Admin for the last 15 years, and a ZFS user from the
very first public release.

I think that hybrid storages (SSD+HD) are a huge opportunity for ZFS,
but I am still seeing problem reports. Just a few days ago somebody
posted in this list about being unable to delete a faulty SSD ZIL.

I am trying to be cautious and apply due diligence. It is part of my
job, after all... :)

- -- 
Jesus Cea Avion _/_/  _/_/_/_/_/_/
j...@jcea.es - http://www.jcea.es/ _/_/_/_/  _/_/_/_/  _/_/
jabber / xmpp:j...@jabber.org _/_/_/_/  _/_/_/_/_/
.  _/_/  _/_/_/_/  _/_/  _/_/
"Things are not so easy"  _/_/  _/_/_/_/  _/_/_/_/  _/_/
"My name is Dump, Core Dump"   _/_/_/_/_/_/  _/_/  _/_/
"El amor es poner tu felicidad en la felicidad de otro" - Leibniz
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQCVAwUBTmvH5Zlgi5GaxT1NAQLWCwP8Dv/YS1VSmIeCsOjF1IkFJO8TvyIodcPI
AS/LaKWW2Px7QI/2ML6R4hX4Fylz1J3zBlAhIK7EAgCCrEJlmyPHkSdj9QskdWY+
gHfKMQCk0zkqtksC9WZSgrKHNYSOyI7PE0hDsZpJ35ai71IIZklJ/P+lSpEmPJZc
opBiybNGlFQ=
=pa2r
-END PGP SIGNATURE-
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] zfs scripts

2011-09-10 Thread Toby Thain
On 10/09/11 8:31 AM, LaoTsao wrote:
> imho, there is not harm to  use & in both cmd
> 

There is a difference.

--T

> Sent from my iPad
> Hung-Sheng Tsao ( LaoTsao) Ph.D
> 
> On Sep 10, 2011, at 4:59, Toby Thain  wrote:
> 
>> On 09/09/11 6:33 AM, Sriram Narayanan wrote:
>>> Plus, you'll need an & character at the end of each command.
>>>
>>
>> Only one of the commands needs to be backgrounded.
>>
>> --Toby
>>
>>> -- Sriram
>>>
>>> On 9/9/11, Tomas Forsman  wrote:
 On 09 September, 2011 - cephas maposah sent me these 0,4K bytes:

> i am trying to come up with a script that incorporates other scripts.
>
> eg
> zfs send pool/filesystem1@100911 > /backup/filesystem1.snap
> zfs send pool/filesystem2@100911 > /backup/filesystem2.snap

 #!/bin/sh
 zfs send pool/filesystem1@100911 > /backup/filesystem1.snap &
 zfs send pool/filesystem2@100911 > /backup/filesystem2.snap

 ..?

> i need to incorporate these 2 into a single script with both commands
> running concurrently.

 /Tomas
 --
 Tomas Forsman, st...@acc.umu.se, http://www.acc.umu.se/~stric/
 |- Student at Computing Science, University of Umeå
 `- Sysadmin at {cs,acc}.umu.se
 ___
 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
> 

___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] zfs scripts

2011-09-10 Thread LaoTsao
imho, there is not harm to  use & in both cmd

Sent from my iPad
Hung-Sheng Tsao ( LaoTsao) Ph.D

On Sep 10, 2011, at 4:59, Toby Thain  wrote:

> On 09/09/11 6:33 AM, Sriram Narayanan wrote:
>> Plus, you'll need an & character at the end of each command.
>> 
> 
> Only one of the commands needs to be backgrounded.
> 
> --Toby
> 
>> -- Sriram
>> 
>> On 9/9/11, Tomas Forsman  wrote:
>>> On 09 September, 2011 - cephas maposah sent me these 0,4K bytes:
>>> 
 i am trying to come up with a script that incorporates other scripts.
 
 eg
 zfs send pool/filesystem1@100911 > /backup/filesystem1.snap
 zfs send pool/filesystem2@100911 > /backup/filesystem2.snap
>>> 
>>> #!/bin/sh
>>> zfs send pool/filesystem1@100911 > /backup/filesystem1.snap &
>>> zfs send pool/filesystem2@100911 > /backup/filesystem2.snap
>>> 
>>> ..?
>>> 
 i need to incorporate these 2 into a single script with both commands
 running concurrently.
>>> 
>>> /Tomas
>>> --
>>> Tomas Forsman, st...@acc.umu.se, http://www.acc.umu.se/~stric/
>>> |- Student at Computing Science, University of Umeå
>>> `- Sysadmin at {cs,acc}.umu.se
>>> ___
>>> 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
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


[zfs-discuss] Scrubbing with faulted disk still physically attached

2011-09-10 Thread Jussi Sallinen
Hi,

We've got faulted disk in ZFS mirror and hot spare active.

Any experience of scrubbing in such scenario causing problems,
since the faulted disk is still attached.
We have been scrubbing all our pools once a week (heh, might be quite too 
often?)
No scrub has taken place since the disk faulted on 6th of September and SMF 
activated hot spare.

Faulted disk has been causing scsi bus resets during couple few days
and we are unable to replace the disk for a week or so.
Just wondering if the scrubbing could cause the faulted disk to screw up the 
SCSI bus
because of IO heavy operations going on.
As you can see our mirror can tolerate the other SCSI controller going down: 

NAME   STATE READ WRITE CKSUM
zonedata   DEGRADED 0 0 0
  mirror-0 ONLINE   0 0 0
c2t8d0 ONLINE   0 0 0
c5t8d0 ONLINE   0 0 0
  mirror-1 ONLINE   0 0 0
c2t9d0 ONLINE   0 0 0
c5t9d0 ONLINE   0 0 0
  mirror-2 ONLINE   0 0 0
c2t10d0ONLINE   0 0 0
c5t10d0ONLINE   0 0 0
  mirror-3 DEGRADED 0 0 0
spare-0DEGRADED 0 0 0
  c2t11d0  FAULTED  312 0  too many errors
  c2t13d0  ONLINE   0 0 0  39,4G resilvered
c5t11d0ONLINE   0 0 0
  mirror-4 ONLINE   0 0 0
c2t12d0ONLINE   0 0 0
c5t12d0ONLINE   0 0 0
spares
  c2t13d0  INUSE currently in use
  c5t13d0  AVAIL   

errors: No known data errors

--
-Jussi Sallinen
 +358407007600
 ju...@jus.si
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] zfs scripts

2011-09-10 Thread Toby Thain
On 09/09/11 6:33 AM, Sriram Narayanan wrote:
> Plus, you'll need an & character at the end of each command.
> 

Only one of the commands needs to be backgrounded.

--Toby

> -- Sriram
> 
> On 9/9/11, Tomas Forsman  wrote:
>> On 09 September, 2011 - cephas maposah sent me these 0,4K bytes:
>>
>>> i am trying to come up with a script that incorporates other scripts.
>>>
>>> eg
>>> zfs send pool/filesystem1@100911 > /backup/filesystem1.snap
>>> zfs send pool/filesystem2@100911 > /backup/filesystem2.snap
>>
>> #!/bin/sh
>> zfs send pool/filesystem1@100911 > /backup/filesystem1.snap &
>> zfs send pool/filesystem2@100911 > /backup/filesystem2.snap
>>
>> ..?
>>
>>> i need to incorporate these 2 into a single script with both commands
>>> running concurrently.
>>
>> /Tomas
>> --
>> Tomas Forsman, st...@acc.umu.se, http://www.acc.umu.se/~stric/
>> |- Student at Computing Science, University of Umeå
>> `- Sysadmin at {cs,acc}.umu.se
>> ___
>> 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