Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 02 Oct 2009 16:16:28 -0500
From:      CyberLeo Kitsana <cyberleo@cyberleo.net>
To:        Graeme Dargie <arab@tangerine-army.co.uk>
Cc:        questions@freebsd.org
Subject:   Re: ZFS on FreeBSD 7.2
Message-ID:  <4AC66DAC.3040206@cyberleo.net>
In-Reply-To: <01FB8F39BAD0BD49A6D0DA8F789739295752@Mercury.galaxy.lan.lcl>
References:  <01FB8F39BAD0BD49A6D0DA8F789739295752@Mercury.galaxy.lan.lcl>

next in thread | previous in thread | raw e-mail | index | archive | help
Graeme Dargie wrote:
> Hello all
> 
> I currently have machine with 6x500gb hdd`s running under ZFS RaidZ
> everything is working just fine, I have bought 2x3bay ICY Dock bays for
> this machine, my questions is do I have to make sure the drives go back
> on to the same sata ports as they are currently on or will ZFS sort it
> self out?

Before you remove the drives, export the zpool; after moving them,
import the zpool. This will scan all connected devices and put
everything where it needs to be. If you forget to export before
shuffling the devices and zfs complains, just export and import the pool
and it should sort itself out.

--------
freenas:~# zpool list
NAME                    SIZE    USED   AVAIL    CAP  HEALTH     ALTROOT
data                    931G    630G    301G    67%  ONLINE     -
freenas:~# zpool export data
freenas:~# zpool list
no pools available
freenas:~# zpool import
  pool: data
    id: 12298073319825187638
 state: ONLINE
action: The pool can be imported using its name or numeric identifier.
config:

        data        ONLINE
          raidz1    ONLINE
            ad0     ONLINE
            ad4     ONLINE
            ad6     ONLINE
            ad8     ONLINE
            ad10    ONLINE
freenas:~# zpool import data
freenas:~# zpool list
NAME                    SIZE    USED   AVAIL    CAP  HEALTH     ALTROOT
data                    931G    630G    301G    67%  ONLINE     -
--------

-- 
Fuzzy love,
-CyberLeo
Technical Administrator
CyberLeo.Net Webhosting
http://www.CyberLeo.Net
<CyberLeo@CyberLeo.Net>

Furry Peace! - http://wwww.fur.com/peace/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4AC66DAC.3040206>