[zfs-discuss] Recover data after zpool create -f

2012-08-20 Thread Ernest Dipko
Is there any way to recover the data within a zpool after a spool create -f was issued on the disks? We had a pool that contained two internal disks (mirrored) and we added a zvol to it our of an existing pool for some temporary space. After the reboot, the pool was not able to be imported bec

Re: [zfs-discuss] Recover data after zpool create -f

2012-08-20 Thread Sašo Kiselkov
On 08/20/2012 08:55 PM, Ernest Dipko wrote: > Is there any way to recover the data within a zpool after a spool create -f > was issued on the disks? > > We had a pool that contained two internal disks (mirrored) and we added a > zvol to it our of an existing pool for some temporary space. After

Re: [zfs-discuss] Recover data after zpool create -f

2012-08-20 Thread Ray Arachelian
On 08/20/2012 02:55 PM, Ernest Dipko wrote: > Is there any way to recover the data within a zpool after a spool create -f > was issued on the disks? > > We had a pool that contained two internal disks (mirrored) and we added a > zvol to it our of an existing pool for some temporary space. After

Re: [zfs-discuss] Recover data after zpool create -f

2012-08-20 Thread Jim Klimov
2012-08-20 23:39, Sašo Kiselkov пишет: We then tried to recreate the pool, which was successful - but without data… A zpool create overwrites all labels on a device (that's why you had to add "-f", which essentially means "blame me if all goes wrong"). Since the vdev labels contain the root blo

Re: [zfs-discuss] Recover data after zpool create -f

2012-08-20 Thread Sašo Kiselkov
On 08/20/2012 10:15 PM, Jim Klimov wrote: > 2012-08-20 23:39, Sašo Kiselkov пишет: >>> We then tried to recreate the pool, which was successful - but >>> without data… >> >> A zpool create overwrites all labels on a device (that's why you had to >> add "-f", which essentially means "blame me if all