Is there a way that i can add one HDD from server A and one HDD from server B to a zfs pool so that there is an online snapshot taken at regular intervals. hence maintaining a copy on both HDD''s. -- This message posted from opensolaris.org
----- "Alvin Lobo" <alvin.lobo at indiantelevision.co.in> skrev:> Is there a way that i can add one HDD from server A and one HDD from > server B to a zfs pool so that there is an online snapshot taken at > regular intervals. hence maintaining a copy on both HDD''s.I think zfs send/receive might be what you are looking for. Vennlige hilsener / Best regards roy -- Roy Sigurd Karlsbakk (+47) 97542685 roy at karlsbakk.net http://blogg.karlsbakk.net/ -- I all pedagogikk er det essensielt at pensum presenteres intelligibelt. Det er et element?rt imperativ for alle pedagoger ? unng? eksessiv anvendelse av idiomer med fremmed opprinnelse. I de fleste tilfeller eksisterer adekvate og relevante synonymer p? norsk.
Hi Alvin, Which Solaris release is this? If you are using a OpenSolaris release (build 131), you might consider the zpool split feature that allows you to clone a mirrored pool by attaching the HDD to the pool, letting it resilver, and using zpool split to clone the pool. Then, move the HDD and import the pool on another system. You can read about this feature here: http://hub.opensolaris.org/bin/view/Community+Group+zfs/docs ZFS Admin Guide, page 89 You might also consider using snapshots to replicate the pool''s contents. This process is covered in the same doc. Thanks, Cindy On 06/09/10 02:53, Alvin Lobo wrote:> Is there a way that i can add one HDD from server A and one HDD from server B to a zfs pool so that there is an online snapshot taken at regular intervals. hence maintaining a copy on both HDD''s.
> From: zfs-discuss-bounces at opensolaris.org [mailto:zfs-discuss- > bounces at opensolaris.org] On Behalf Of Alvin Lobo > > Is there a way that i can add one HDD from server A and one HDD from > server B to a zfs pool so that there is an online snapshot taken at > regular intervals. hence maintaining a copy on both HDD''s.You could use iscsi, and mirror a local disk against the remote disk. Hence, at all times, the "live" filesystem is present on both servers (but it''s only usable by one server at a time.) You could "zfs send" the local filesystem, on regular intervals, to the remote server. Then you''ve got a read-only snapshot of the filesystem which is readable on the remote server. It only needs to be read-only as long as you are planning to receive future incremental snapshots. If you needed to make the remote server read-write, you could.