[zfs-discuss] How do I import a zpool with a file as a member device?

2012-08-13 Thread Ray Arachelian
While attempting to fix the last of my damaged zpools, there's one that consists of 4 drives + one 60G file. The file happened by accident - I attempted to add a partition off an SSD drive but missed the cache keyword. Of course, once this is done, there's no way to remove the new unwanted

Re: [zfs-discuss] How do I import a zpool with a file as a member device?

2012-08-13 Thread Sašo Kiselkov
On 08/13/2012 12:48 PM, Ray Arachelian wrote: While attempting to fix the last of my damaged zpools, there's one that consists of 4 drives + one 60G file. The file happened by accident - I attempted to add a partition off an SSD drive but missed the cache keyword. Of course, once this is

Re: [zfs-discuss] How do I import a zpool with a file as a member device?

2012-08-13 Thread Ray Arachelian
On 08/13/2012 06:50 AM, Sašo Kiselkov wrote: See the -d option to zpool import. -- Saso Many thanks for this, it worked very nicely, though the first time I ran it, it failed. So what -d does is to substitute /dev. In order for it to work, you also have to make links to the drive devices in

Re: [zfs-discuss] How do I import a zpool with a file as a member device?

2012-08-13 Thread Sašo Kiselkov
On 08/13/2012 02:01 PM, Ray Arachelian wrote: On 08/13/2012 06:50 AM, Sašo Kiselkov wrote: See the -d option to zpool import. -- Saso Many thanks for this, it worked very nicely, though the first time I ran it, it failed. So what -d does is to substitute /dev. In order for it to work, you