Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Apr 2009 02:34:21 -0500 (CDT)
From:      Wes Morgan <morganw@chemikals.org>
To:        "Tobias C. Berner" <tcberner@gmail.com>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: zfs and moving devices
Message-ID:  <alpine.BSF.2.00.0904130230280.1902@ibyngvyr.purzvxnyf.bet>
In-Reply-To: <op.usavwhqoa4qlja@sam.firefly>
References:  <op.usavwhqoa4qlja@sam.firefly>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 13 Apr 2009, Tobias C. Berner wrote:

> I have a zfs pool
>
> 	NAME        STATE     READ WRITE CKSUM
> 	multimedia  ONLINE       0     0     0
> 	  ad8       ONLINE       0     0     0
> 	  ad10      ONLINE       0     0     0
> 	  ad12      ONLINE       0     0     0
> 	  ad14      ONLINE       0     0     0
>
> Now, I need more sata-connecters. If I activate
> an other onboard-controller, the device names
> move:
>
>   ad8  -> ad14
>   ad10 -> ad16
>   ad12 -> ad18
>   ad14 -> ad20
>
>
> What is the proper way to handle this in zfs?

Export the pool before you make the change and it should work no problem. 
You may want to enable ATA_STATIC_ID as well so you won't have to worry 
about it either.

On another note, that's a 4 device pool with no redundancy. Make sure you 
have frequent backups! I lost my "multimedia" pool once during a migration 
and was very sad. Now I use raidz2.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.0904130230280.1902>