Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Apr 2009 12:18:07 +0200
From:      "Tobias C. Berner" <tcberner@gmail.com>
To:        freebsd-fs@freebsd.org
Subject:   Re: zfs and moving devices
Message-ID:  <op.usblkhnka4qlja@sam.firefly>
In-Reply-To: <alpine.BSF.2.00.0904130230280.1902@ibyngvyr.purzvxnyf.bet>
References:  <op.usavwhqoa4qlja@sam.firefly> <alpine.BSF.2.00.0904130230280.1902@ibyngvyr.purzvxnyf.bet>

next in thread | previous in thread | raw e-mail | index | archive | help
Am 13.04.2009, 09:34 Uhr, schrieb Wes Morgan <morganw@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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-fs
> To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org"
> 



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







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