Re: [zfs-discuss] How to rebuild raidz after system reinstall
Also, I am quite sure that I was using the actual drives from the old raidz. This is my drive listing: admin$ diskutil list /dev/disk0 ___#:___TYPE NAMESIZE___IDENTIFIER ___0:__GUID_partition_scheme*465.8 Gi___disk0 ___1:EFI_200.0 Mi___disk0s1 ___2:ZFS BackupRAID__465.4 Gi___disk0s2 /dev/disk1 ___#:___TYPE NAMESIZE___IDENTIFIER ___0:__GUID_partition_scheme*465.8 Gi___disk1 ___1:EFI_200.0 Mi___disk1s1 ___2:ZFS BackupRAID__465.4 Gi___disk1s2 /dev/disk2 ___#:___TYPE NAMESIZE___IDENTIFIER ___0:__GUID_partition_scheme*465.8 Gi___disk2 ___1:EFI_200.0 Mi___disk2s1 ___2:ZFS_465.4 Gi___disk2s2 /dev/disk2 is the new drive. -- This message posted from opensolaris.org ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Re: [zfs-discuss] How to rebuild raidz after system reinstall
I can only tell you what it is now: admin$ zpool import no pools available to import admin$ zpool import -d /dev no pools available to import -- This message posted from opensolaris.org ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Re: [zfs-discuss] How to rebuild raidz after system reinstall
There was no warning. This is the output: admin$ sudo zpool create BackupRAID raidz /dev/disk0s2 /dev/disk1s2 /dev/disk2s2 Password: admin$ zpool status pool: BackupRAID state: ONLINE status: The pool is formatted using an older on-disk format. The pool can still be used, but some features are unavailable. action: Upgrade the pool using 'zpool upgrade'. Once this is done, the pool will no longer be accessible on older software versions. scrub: none requested config: NAME STATE READ WRITE CKSUM BackupRAID ONLINE 0 0 0 raidz1 ONLINE 0 0 0 disk0s2 ONLINE 0 0 0 disk1s2 ONLINE 0 0 0 disk2s2 ONLINE 0 0 0 errors: No known data errors -- This message posted from opensolaris.org ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Re: [zfs-discuss] How to rebuild raidz after system reinstall
On Thu, 2 Sep 2010, Dominik Hoffmann wrote: I think, I just destroyed the information on the old raidz members by doing zpool create BackupRAID raidz /dev/disk0s2 /dev/disk1s2 /dev/disk2s2 It should have warned you that two of the disks were already formatted with a zfs pool. Did it not do that? If so, perhaps these aren't the same disks you were using in your pool. ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Re: [zfs-discuss] How to rebuild raidz after system reinstall
I think, I just destroyed the information on the old raidz members by doing zpool create BackupRAID raidz /dev/disk0s2 /dev/disk1s2 /dev/disk2s2 The pool mounted fine after that, but is empty. None of the old information is present. Am I right? -- This message posted from opensolaris.org ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Re: [zfs-discuss] How to rebuild raidz after system reinstall
I just tried admin$ zpool replace BackupRAID /dev/disk0 /dev/disk1 /dev/disk2 too many arguments As you can see, it didn't do what I need to accomplish. -- This message posted from opensolaris.org ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Re: [zfs-discuss] How to rebuild raidz after system reinstall
What does 'zpool import' show? If that's empty, what about 'zpool import -d /dev'? ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
[zfs-discuss] How to rebuild raidz after system reinstall
I am using zfs-119, the last version built with Apple contributions, on Mac OS X 10.5. I had built a raidz using diskutil partitiondisk /dev/disk0 GPTFormat ZFS %noformat% 100% diskutil partitiondisk /dev/disk1 GPTFormat ZFS %noformat% 100% diskutil partitiondisk /dev/disk2 GPTFormat ZFS %noformat% 100% I then established a zpool via zpool create BackupRAID raidz /dev/disk0s2 /dev/disk1s2 /dev/disk2s2 This was at some point in early 2009. At some point after that one of those drives failed. I got it replaced many months after I noticed and have also forgotten a lot of what I had done originally to get this set up. Because this raidz holds important backups, which I need to retrieve, I would like to rebuild the raidz. How would I go about doing that? I have already changed the file system on the new drive via diskutil partitiondisk /dev/disk2 GPTFormat ZFS %noformat% 100% I don't know how to proceed, because admin$ zpool status no pools available -- This message posted from opensolaris.org ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss