Re: [zfs-discuss] Can I create a mirror for a root rpool?

2011-12-15 Thread Gregg Wonderly
Cindy, will it ever be possible to just have attach mirror the surfaces, 
including the partition tables?  I spent an hour today trying to get a new 
mirror on my root pool.  There was a 250GB disk that failed.  I only had a 
1.5TB handy as a replacement.  prtvtoc ... | fmthard does not work in this case 
and so you have to do the partitioning by hand, which is just silly to fight 
with anyway.

Gregg

Sent from my iPhone

On Dec 15, 2011, at 6:13 PM, Tim Cook  wrote:

> Do you still need to do the grub install?
> 
> On Dec 15, 2011 5:40 PM, "Cindy Swearingen"  
> wrote:
> Hi Anon,
> 
> The disk that you attach to the root pool will need an SMI label
> and a slice 0.
> 
> The syntax to attach a disk to create a mirrored root pool
> is like this, for example:
> 
> # zpool attach rpool c1t0d0s0 c1t1d0s0
> 
> Thanks,
> 
> Cindy
> 
> On 12/15/11 16:20, Anonymous Remailer (austria) wrote:
> 
> On Solaris 10 If I install using ZFS root on only one drive is there a way
> to add another drive as a mirror later? Sorry if this was discussed
> already. I searched the archives and couldn't find the answer. Thank you.
> ___
> 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 mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] Can I create a mirror for a root rpool?

2011-12-15 Thread Tim Cook
Do you still need to do the grub install?
On Dec 15, 2011 5:40 PM, "Cindy Swearingen" 
wrote:

> Hi Anon,
>
> The disk that you attach to the root pool will need an SMI label
> and a slice 0.
>
> The syntax to attach a disk to create a mirrored root pool
> is like this, for example:
>
> # zpool attach rpool c1t0d0s0 c1t1d0s0
>
> Thanks,
>
> Cindy
>
> On 12/15/11 16:20, Anonymous Remailer (austria) wrote:
>
>>
>> On Solaris 10 If I install using ZFS root on only one drive is there a way
>> to add another drive as a mirror later? Sorry if this was discussed
>> already. I searched the archives and couldn't find the answer. Thank you.
>> __**_
>> 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] Can I create a mirror for a root rpool?

2011-12-15 Thread Frank Cusack
It can still be done for USB, but you have to boot from alternate media to
attach the mirror.

On Thu, Dec 15, 2011 at 3:41 PM, Frank Cusack  wrote:

> Yes, except if your root pool is on a USB stick or removable media.
>
>
> On Thu, Dec 15, 2011 at 3:20 PM, Anonymous Remailer (austria) <
> mixmas...@remailer.privacy.at> wrote:
>
>>
>> On Solaris 10 If I install using ZFS root on only one drive is there a way
>> to add another drive as a mirror later? Sorry if this was discussed
>> already. I searched the archives and couldn't find the answer. Thank you.
>> ___
>> 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] Can I create a mirror for a root rpool?

2011-12-15 Thread Frank Cusack
Yes, except if your root pool is on a USB stick or removable media.

On Thu, Dec 15, 2011 at 3:20 PM, Anonymous Remailer (austria) <
mixmas...@remailer.privacy.at> wrote:

>
> On Solaris 10 If I install using ZFS root on only one drive is there a way
> to add another drive as a mirror later? Sorry if this was discussed
> already. I searched the archives and couldn't find the answer. Thank you.
> ___
> 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] Can I create a mirror for a root rpool?

2011-12-15 Thread John D Groenveld
In message , "Anonymous R
emailer (austria)" writes:
>On Solaris 10 If I install using ZFS root on only one drive is there a way
>to add another drive as a mirror later? Sorry if this was discussed
>already. I searched the archives and couldn't find the answer. Thank you.

http://docs.oracle.com/cd/E23823_01/html/819-5461/ggset.html#gkdep>
| How to Create a Mirrored ZFS Root Pool (Postinstallation)

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


Re: [zfs-discuss] Can I create a mirror for a root rpool?

2011-12-15 Thread Cindy Swearingen

Hi Anon,

The disk that you attach to the root pool will need an SMI label
and a slice 0.

The syntax to attach a disk to create a mirrored root pool
is like this, for example:

# zpool attach rpool c1t0d0s0 c1t1d0s0

Thanks,

Cindy

On 12/15/11 16:20, Anonymous Remailer (austria) wrote:


On Solaris 10 If I install using ZFS root on only one drive is there a way
to add another drive as a mirror later? Sorry if this was discussed
already. I searched the archives and couldn't find the answer. Thank you.
___
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] Can I create a mirror for a root rpool?

2011-12-15 Thread Alan Hargreaves
Title: signature

  
  
You do it as you would any zpool. Mirroring is OK for the zpool.
  It's just things like raidz* and concats that are not.

# zpool attach rpool device

Note the use of attach. "add" will try to make a concat.

Regards,
  Alan Hargreaves


On 12/16/11 10:20, Anonymous Remailer (austria) wrote:

  
On Solaris 10 If I install using ZFS root on only one drive is there a way
to add another drive as a mirror later? Sorry if this was discussed
already. I searched the archives and couldn't find the answer. Thank you.
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss



-- 
  
  
  

  

   
  

  

  Hardware
and Software, Engineered to Work
Together 

  

  
   Alan Hargreaves | Senior Principal Technical
Support Engineer | Principal Field Technologist 
Solaris and Networking | Global Systems Support 
Email: alan.hargrea...@oracle.com

Blog: alanhargreaves.wordpress.com

Oracle Global Customer
Services 
   Log, update, and monitor your Service Request
online using My
  Oracle Support 
 

  

  

  



smime.p7s
Description: S/MIME Cryptographic Signature
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


[zfs-discuss] Can I create a mirror for a root rpool?

2011-12-15 Thread Anonymous Remailer (austria)

On Solaris 10 If I install using ZFS root on only one drive is there a way
to add another drive as a mirror later? Sorry if this was discussed
already. I searched the archives and couldn't find the answer. Thank you.
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] very slow write performance on 151a

2011-12-15 Thread milosz
thanks, bill.  i killed an old filesystem.  also forgot about
arc_meta_limit.  kicked it up to 4gb from 2gb.  things are back to
normal.

On Thu, Dec 15, 2011 at 1:06 PM, Bill Sommerfeld
 wrote:
> On 12/15/11 09:35, milosz wrote:
>>
>> hi all,
>>
>> suddenly ran into a very odd issue with a 151a server used primarily
>> for cifs... out of (seemingly) nowhere, writes are incredibly slow,
>> often<10kb/s.  this is what zpool iostat 1 looks like when i copy a
>> big file:
>>
>> storepool   13.4T  1.07T     57      0  6.13M      0
>> storepool   13.4T  1.07T    216     91   740K  5.58M
>
> ...
>
>> any ideas?  pretty stumped.
>
>
> Behavior I've observed with multiple pools is that you will sometimes hit a
> performance wall when the pool gets too full; the system spends lots of time
> reading in metaslab metadata looking for a place to put newly-allocated
> blocks.  If you're in this mode, kernel profiling will show a lot of time
> spent in metaslab-related code.
>
> Exactly where you hit the wall seems to depend on the history of what went
> into the pool; I've seen the problem kick in with only 69%-70% usage in one
> pool that was used primarily for solaris development.
>
> The workaround turned out to be simple: delete stuff you don't need to keep.
>  Once there was enough free space, write performance returned to normal.
>
> There are a few metaslab-related tunables that can be tweaked as well.
>
>                                        - Bill
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


[zfs-discuss] very slow write performance on 151a

2011-12-15 Thread milosz
hi all,

suddenly ran into a very odd issue with a 151a server used primarily
for cifs... out of (seemingly) nowhere, writes are incredibly slow,
often <10kb/s.  this is what zpool iostat 1 looks like when i copy a
big file:

storepool   13.4T  1.07T 57  0  6.13M  0
storepool   13.4T  1.07T216 91   740K  5.58M
storepool   13.4T  1.07T127182   232K  1004K
storepool   13.4T  1.07T189 99   361K  5.47M
storepool   13.4T  1.07T357172   910K   949K
storepool   13.4T  1.07T454222  1.42M  2.14M
storepool   13.4T  1.07T 55209   711K  1.05M

basically instead of the usual txg 5-second write pattern zfs writes
to the zpool every second.  this is certainly not an issue with the
disks... iostat -En shows no errors and -Xn shows that the disks are
barely being used (<20%).  the only situation in which i've seen this
before was a multi-terabyte pool with dedup=on and constant writes
(goes away once you turn off dedup).  no dedup anywhere on this zpool,
though.  arc usage is normal (total ram is 12gb, max is set to 11gb,
current usage is 8gb).  pool is an 8-disk raidz2.

any ideas?  pretty stumped.

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