Did you make a a filesystem after making the pool? You mention it, but you didn't provide info.
Have you tried sudo zpool import -f yourpoolname?
Are you using USB drives????????
Jason
Sent from my iPad
> Always best to post what you did on the command line. Like after making a pool, zpool status, would show what you have. So we could understand which steps you did or didn't do. Did you format your drives normally and make your pool from s2 partitions or did you try the whole disk? First option is best, this has come up alot here in the forums. I know reading sucks, but.....
>
> Did you make a a filesystem after making the pool? You mention it, but you didn't provide info.
>
> Have you tried sudo zpool import -f yourpoolname?
The pool's command history might help, assuming it imports again...
sudo zpool history yourpoolname
Chris
Sounds like you did a good job fixing the error, but then you made a headache for yourself by recreating the pool over top of your pool.
Your first error was in not testing thoroughly understanding the sequence of commands and options. The second was committing data before testing with dummy data, system restart, disconnected disk, etc....
That said if you had posted what you were doing at each step we might have been able to help you progress without the migraine. ;)
My own experience is that your data is probably there with ZFS but you may have made it very hard to get, at least on OS X. If you really don't have proper backups of your data, I recommend downloading FreeBSD and installing in Virtualbox, and seeing if the advanced version of ZFS can work some magic.
However as I'm sure you didn't set the filesystem copies greater than 1 before copying data, it's going to be touch and go.
An example with some links http://serverfault.com/questions/297029/zfs-on-freebsd-recovery-from-data-corruption
Fingers crossed.....
Jason
Sent from my iPad
diskutil eraseVolume ZFS %noformat% disk2s2.
The disk needs to be one of yours and partition 2, this leaves the EFI boot partition alone.
After you make a pool and a filesystem run
Zfs get all
Copies will be default 1
zfs set copies=2 yourfilesystem
Now you have considerably more security if something goes wrong. If your doing RaidZ with 4 disks, you could use 3 for the paranoid.
You really should investigate all these options and how your going to backup from the raidz to an archive drive regularly and run scrub regularly......
As most here and on Solaris, OpenSolaris, FreeBSD, etc., will attest, Zfs is really amazing. If you search here, you will find at least 2 stories by me where I've recovered what normally would have been lost data for clients.
Enjoy, ask questions, as you grasp each function and the newbie pain will lessen. ;)
Jason
Sent from my iPad
Jason
Sent from my iPad
Just thinking out aloud here...
Knowing that the kernel has to be on HFS so EFI can find it etc etc...
How would one go about putting the kernel on a HFS partition (and any other files for that matter) and the rest of the OS on ZFS?
I'm assuming some trickery would be required when the kernel wants to find the rest of the OS on the ZFS partition...
Anyone care to comment?
Cheers,
Raoul.
From: MarkZFS <markanth...@med.ge.com>
To: zfs-macos <zfs-...@googlegroups.com>
Sent: Tuesday, 6 March 2012, 15:26
Subject: [zfs-macos] Re: My First Experience with ZFS
From: Raoul Callaghan <tan...@mac.com>
To: zfs-...@googlegroups.com
Sent: Tuesday, 6 March 2012, 15:32
Subject: [zfs-macos] booting up using ZFS...
From: Alex Blewitt <alex.b...@gmail.com>
To: "zfs-...@googlegroups.com" <zfs-...@googlegroups.com>
Cc: "zfs-...@googlegroups.com" <zfs-...@googlegroups.com>
Sent: Tuesday, 6 March 2012, 17:33
Subject: Re: [zfs-macos] Re: My First Experience with ZFS
I, too, followed http://code.google.com/p/maczfs/wiki/GettingStarted and created a pool with a slice of an existing disk. Basically, the same thing happened to me and my zfs partition is listed as HFS+.
In following GettingStarted I took the following text at face value:
If you created a zpool using any method not explicitly listed above, such as ...
To clarify, I believe that the "getting started" page asserts that no special shutdown/startup process (scripted or manual) is necessary if you follow the posted procedure. My experience indicates that assertion is wrong.
It would be far better if the page suggests, unconditionally, that the shutdown/startup scripts be installed and then directs the user to write a test file into their new filesystem, reboot and check that the file is successfully preserved. Having those scripts installed protects you when your spouse/child/SO shuts down the machine or you just plain forget that you have a special filesystem in play.
> We should update the wiki to remove the "should work fine" statement
> and replace with a "not supported but you might find useful". That
> will bring expectations in line with reality.
Hi Alex. I just amended it as such. Also, I had recently amended the FAQ to mention the second set of startup/shutdown scripts that I had posted to the list. I never got any real feedback on them, and I believe I've denoted them as being experimental and better than nothing.