-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu 03 Jul 2014 06:08:54 PM UTC, Keith Wesolowski via
smartos-discuss wrote:
> On Thu, Jul 03, 2014 at 11:20:16PM +0530, Ganapathy S A via smartos-discuss 
> wrote:
>
>> My SmartOS server has one SATA disk configured with two zones within it.
>> How to add more disks to that setup as and when required? And how to
>> copy/move zones between disks?
>
> SmartOS uses pooled storage, so there's no concept of an instance being
> on one disk or another.  You can add disks to the storage pool using
> zpool(1m).  In general, you need to add storage in units of the same
> vdev topology as the existing vdevs; in your case, that would mean you'd
> be building a simple stripe.  You'd have no redundancy.  You could
> instead look into building a mirror with the 'attach' subcommand; you
> would then need to expand in units of 2 disks going forward, building a
> RAID-10-like topology.
>

Going from 1 vdev 2 disks mirrored to 2 devs each 2 disks mirrored is
pretty straight forward.

Attach initial two disks as a mirror vdev:

zpool attach zones c0t0d0 c0d1t0

Add third and fourth disks as a mirror vdev:

zpool add zones mirror c0t2d0 c0t3d0

http://blog.alainodea.com/en/article/448/making-a-zfs-4-disk-mirrored-vdev-zpool-on-smartos-on-r720xd

I'm not sure what the best process for disk replacement is, but I've
done very limited autogrowth experiments and it looks like you can
replace disks in a mirror vdev one at a time with larger and wait for
resilver and continue:

http://blog.alainodea.com/en/article/440/experiments-with-zfs-failure-modes-and-autogrowth

Best,
Alain
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJTta3lAAoJEP0rIXJNjNSAapcH/0Knb4g5KBhggTmRBuyxuTWT
O9sk4qq+SO51mt/ZMbw6sSe+6pZ4F8s3MP9p5RjtwJkcip98uOxb23pY4aJdd4P4
IitCTYMSr0cgwURq2HJvIjO5wQS3l33yWdiZUckifKSvEqhZoC6oAIcbyq/o3Jl1
PgyFP2LFuLYswrakTYzJHlFNJ+XLVm7W1OtUYjk06hU5THcdY1EmbyCBGyzaL6Rl
CqWPYK3b/aYtptkz8gQLTtFsLoqBkdL1gt6qucw5mV5o7JzOyZQWA0bjIfFHnWgr
05LOF2r/kokjD71rOUErtKa09XWqkTdAtutAEHuUjaeNi0GwNmDiOyTvC9mPuuA=
=0qY0
-----END PGP SIGNATURE-----



-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com

Reply via email to