Re: [zfs-discuss] Image with DD from ZFS partition

2008-05-14 Thread Andy Lubel
On May 14, 2008, at 10:39 AM, Chris Siebenmann wrote: | Think what you are looking for would be a combination of a snapshot | and zfs send/receive, that would give you an archive that you can use | to recreate your zfs filesystems on your zpool at will at later time. Talking of using

Re: [zfs-discuss] Image with DD from ZFS partition

2008-05-14 Thread Chris Kirby
Andy Lubel wrote: On May 14, 2008, at 10:39 AM, Chris Siebenmann wrote: | Think what you are looking for would be a combination of a snapshot | and zfs send/receive, that would give you an archive that you can use | to recreate your zfs filesystems on your zpool at will at later time.

Re: [zfs-discuss] Image with DD from ZFS partition

2008-05-14 Thread Richard Elling
Andy Lubel wrote: On May 14, 2008, at 10:39 AM, Chris Siebenmann wrote: | Think what you are looking for would be a combination of a snapshot | and zfs send/receive, that would give you an archive that you can use | to recreate your zfs filesystems on your zpool at will at later

Re: [zfs-discuss] Image with DD from ZFS partition

2008-05-08 Thread Bob Friesenhahn
On Wed, 7 May 2008, Hans wrote: hello, can i create a image from ZFS with the DD command? when i work with linux i use partimage to create an image from one partitino and store it on another. so i can restore it if an error. partimage do not work with zfs, so i must use the DD command. i

Re: [zfs-discuss] Image with DD from ZFS partition

2008-05-08 Thread Hans
thank you for your posting. well i still have problems understanding how a pool works. when i have one partition with zfs like this: /dev/sda1 - ZFS /dev/sda2 - ext2 the only pool is on the sda1 device. in this way i can backup it with the dd command. now i try to understand: when i have 2 zfs

Re: [zfs-discuss] Image with DD from ZFS partition

2008-05-08 Thread Jim Dunham
Hans, hello, can i create a image from ZFS with the DD command? Yes, with restrictions. First, a ZFS storage pool must be in the zpool export state to be copied, so that a write-order consistent set of data exists in the copy. ZFS does an excellent job of detecting inconsistencies in

Re: [zfs-discuss] Image with DD from ZFS partition

2008-05-08 Thread Peter Karlsson
Hi Hans, Think what you are looking for would be a combination of a snapshot and zfs send/receive, that would give you an archive that you can use to recreate your zfs filesystems on your zpool at will at later time. So you can do something like this Create archive : zfs snapshot -r

Re: [zfs-discuss] Image with DD from ZFS partition

2008-05-08 Thread Hans
hello thank you for your postings. i try to understood. but my english is not so good. :-) for exporting a zfs i must use a special command like zspool export this makes the filesystem ready to export. but i think so: when i boot from the live cd without mounting/activating the file system , the

[zfs-discuss] Image with DD from ZFS partition

2008-05-07 Thread Hans
hello, can i create a image from ZFS with the DD command? when i work with linux i use partimage to create an image from one partitino and store it on another. so i can restore it if an error. partimage do not work with zfs, so i must use the DD command. i think so: DD IF=/dev/sda1

Re: [zfs-discuss] Image with DD from ZFS partition

2008-05-07 Thread James C. McPherson
Hans wrote: hello, can i create a image from ZFS with the DD command? when i work with linux i use partimage to create an image from one partitino and store it on another. so i can restore it if an error. partimage do not work with zfs, so i must use the DD command. i think so: DD

Re: [zfs-discuss] Image with DD from ZFS partition

2008-05-07 Thread michael schuster
Hans wrote: hello, can i create a image from ZFS with the DD command? You're probably looking for zfs send - have a go at the man-page and see whether that serves the purpose. HTH Michael -- Michael Schuster http://blogs.sun.com/recursion Recursion, n.: see 'Recursion'