Re: [zfs-discuss] Zpool import not working

2010-06-13 Thread zfsnoob4
Thank you. The -D option works. And yes, now I feel a lot more confident about playing around with the FS. I'm planning on moving an existing raid1 NTFS setup to ZFS, but since I'm on a budget I only have three drive in total to work with. I want to make sure I know what I'm doing before I mess

Re: [zfs-discuss] Zpool import not working

2010-06-12 Thread Neil Perrin
On 06/12/10 17:13, zfsnoob4 wrote: Thanks. As I discovered from that post, VB does not have cache flush enabled by default. Ignoreflush must be explicitly turned off. VBoxManage setextradata VMNAME "VBoxInternal/Devices/piix3ide/0/LUN#[x]/Config/IgnoreFlush" 0 where VMNAME is the name of your

Re: [zfs-discuss] Zpool import not working

2010-06-12 Thread zfsnoob4
Thanks. As I discovered from that post, VB does not have cache flush enabled by default. Ignoreflush must be explicitly turned off. VBoxManage setextradata VMNAME "VBoxInternal/Devices/piix3ide/0/LUN#[x]/Config/IgnoreFlush" 0 where VMNAME is the name of your virtual machine. Although I tried

Re: [zfs-discuss] Zpool import not working

2010-06-12 Thread Mark Musante
I'm guessing that the virtualbox VM is ignoring write cache flushes. See this for more ifno: http://forums.virtualbox.org/viewtopic.php?f=8&t=13661 On 12 Jun, 2010, at 5.30, zfsnoob4 wrote: > Thanks, that works. But it only when I do a proper export first. > > If I export the pool then I can

Re: [zfs-discuss] Zpool import not working

2010-06-12 Thread zfsnoob4
Thanks, that works. But it only when I do a proper export first. If I export the pool then I can import with: zpool import -d / (test files are located in /) but if I destroy the pool, then I can no longer import it back, even though the files are still there. Is this normal? Thanks for your h

Re: [zfs-discuss] Zpool import not working

2010-06-11 Thread Neil Perrin
On 06/11/10 22:07, zfsnoob4 wrote: Hey, I'm running some test right now before setting up my server. I'm running Nexenta Core 3.02 (RC2, based on opensolaris build 134 I believe) in Virtualbox. To do the test, I'm creating three empty files and then making a raidz mirror: mkfile -n 1g /foo mkf

[zfs-discuss] Zpool import not working

2010-06-11 Thread zfsnoob4
Hey, I'm running some test right now before setting up my server. I'm running Nexenta Core 3.02 (RC2, based on opensolaris build 134 I believe) in Virtualbox. To do the test, I'm creating three empty files and then making a raidz mirror: mkfile -n 1g /foo mkfile -n 1g /foo1 mkfile -n 1g /foo2 T

Re: [zfs-discuss] Zpool import not working - I broke my pool...

2008-10-20 Thread Ross
If you have any backups of your boot volume, I found that the pool can be mounted on boot provided it's still listed in your /etc/zfs/zpool.cache file. I've moved to OpenSolaris now purely so I can take snapshots of my boot volume and backup that file. The relevant bug you need fixing is this

Re: [zfs-discuss] Zpool import not working - I broke my pool...

2008-10-18 Thread James
Any updates on this ? I created a pool in 5/08, then added a slog device which sadly failed. I can no longer mount the pool, it gives a "cannot import 'mypool': one or more devices is currently unavailable". I have tried it with the latest OpenSolaris pre-release (2008.11, based on Nevada build

Re: [zfs-discuss] Zpool import not working - I broke my pool...

2008-08-06 Thread Neil Perrin
export the pool, and delete one ramdisk to check that the > mirroring works fine, the import fails: > # zpool export rc-pool > # ramdiskadm -d rc-pool-zil-1 > # zpool import rc-pool > cannot import 'rc-pool': one or more devices is currently unavailable > > Ross > >

Re: [zfs-discuss] Zpool import not working - I broke my pool...

2008-08-06 Thread Ross Smith
lable Ross > Date: Mon, 4 Aug 2008 10:42:43 -0600> From: [EMAIL PROTECTED]> Subject: Re: > [zfs-discuss] Zpool import not working - I broke my pool...> To: [EMAIL > PROTECTED]; [EMAIL PROTECTED]> CC: zfs-discuss@opensolaris.org> > > > Richard > Elling wrote:>

Re: [zfs-discuss] Zpool import not working - I broke my pool...

2008-08-05 Thread Ross Smith
No, but that's a great idea! I'm on a UFS root at the moment, will have a look at using ZFS next time I re-install. > Date: Tue, 5 Aug 2008 07:59:35 -0700> From: [EMAIL PROTECTED]> Subject: Re: > [zfs-discuss] Zpool import not working - I broke my pool...> To: [EMAIL

Re: [zfs-discuss] Zpool import not working - I broke my pool...

2008-08-05 Thread Richard Elling
> From: [EMAIL PROTECTED] > > Subject: Re: [zfs-discuss] Zpool import not working - I broke my pool... > > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > > CC: zfs-discuss@opensolaris.org > > > > > > > > Richard Elling wrote: > > > Ross wrote: > >

Re: [zfs-discuss] Zpool import not working - I broke my pool...

2008-08-05 Thread Ross Smith
Just a thought, before I go and wipe this zpool, is there any way to manually recreate the /etc/zfs/zpool.cache file? Ross> Date: Mon, 4 Aug 2008 10:42:43 -0600> From: [EMAIL PROTECTED]> Subject: Re: [zfs-discuss] Zpool import not working - I broke my pool...> To: [EMAIL PROTEC

Re: [zfs-discuss] Zpool import not working - I broke my pool...

2008-08-04 Thread Neil Perrin
Richard Elling wrote: > Ross wrote: >> I'm trying to import a pool I just exported but I can't, even -f doesn't >> help. Every time I try I'm getting an error: >> "cannot import 'rc-pool': one or more devices is currently unavailable" >> >> Now I suspect the reason it's not happy is that the p

Re: [zfs-discuss] Zpool import not working - I broke my pool...

2008-08-04 Thread Richard Elling
Ross wrote: > I'm trying to import a pool I just exported but I can't, even -f doesn't > help. Every time I try I'm getting an error: > "cannot import 'rc-pool': one or more devices is currently unavailable" > > Now I suspect the reason it's not happy is that the pool used to have a ZIL :) >

[zfs-discuss] Zpool import not working - I broke my pool...

2008-08-04 Thread Ross
I'm trying to import a pool I just exported but I can't, even -f doesn't help. Every time I try I'm getting an error: "cannot import 'rc-pool': one or more devices is currently unavailable" Now I suspect the reason it's not happy is that the pool used to have a ZIL :) However I know the pool w