If you are attaching a new enclosure, make a new zpool in that enclosure with a temporary name and 'zfs send' snapshots from the old pool to the new pool, reading in with 'zfs recv'.
Craig Cory Senior Instructor ExitCertified.com On Dec 1, 2012, at 3:20 AM, Albert Shih <albert.s...@obspm.fr> wrote: > Le 30/11/2012 ? 15:52:09+0100, Tomas Forsman a écrit >> On 30 November, 2012 - Albert Shih sent me these 0,8K bytes: >> >>> Hi all, >>> >>> I would like to knwon if with ZFS it's possible to do something like that : >>> >>> http://tldp.org/HOWTO/LVM-HOWTO/removeadisk.html >>> >>> meaning : >>> >>> I have a zpool with 48 disks with 4 raidz2 (12 disk). Inside those 48 disk >>> I've 36x 3T and 12 x 2T. >>> Can I buy new 12x4 To disk put in the server, add in the zpool, ask zpool >>> to migrate all data on those 12 old disk on the new and remove those old >>> disk ? >> >> You pull out one 2T, put in a 4T, wait for resilver (possibly tell it to >> replace, if you don't have autoreplace on) >> Repeat until done. > > Well....in fact it's littre more complicate than that. > > When I would like to change the disk, I also would like change the disk > enclosure, I don't want to use the old one. > > And what happen if I have 24, 36 disks to change ? It's take mounth to do > that. > > Regards. > > JAS > -- > Albert SHIH > DIO bâtiment 15 > Observatoire de Paris > 5 Place Jules Janssen > 92195 Meudon Cedex > Téléphone : 01 45 07 76 26/06 86 69 95 71 > xmpp: j...@obspm.fr > Heure local/Local time: > sam 1 déc 2012 12:17:39 CET > _______________________________________________ > zfs-discuss mailing list > zfs-discuss@opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss