zfs and moving devices

Tobias C. Berner tcberner at gmail.com
Mon Apr 13 03:18:11 PDT 2009


Am 13.04.2009, 09:34 Uhr, schrieb Wes Morgan <morganw at chemikals.org>:

> 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.
Ok, I will try that, 

> You may want to enable ATA_STATIC_ID as well so you won't have to worry
> about it either.
ATA_STATIC_ID is enabled:
   options 	ATA_STATIC_ID	# Static device numbering


thanks, Tobias

>
> 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.


> _______________________________________________
> freebsd-fs at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-fs
> To unsubscribe, send any mail to "freebsd-fs-unsubscribe at freebsd.org"
> 



-- 
Erstellt mit Operas revolutionärem E-Mail-Modul: http://www.opera.com/mail/






More information about the freebsd-fs mailing list