Mark J Musante
2010-Sep-02 16:34 UTC
[zfs-discuss] How to rebuild raidz after system reinstall
What does ''zpool import'' show? If that''s empty, what about ''zpool import -d /dev''?
Dominik Hoffmann
2010-Sep-02 16:37 UTC
[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
Dominik Hoffmann
2010-Sep-02 16:50 UTC
[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
Mark J Musante
2010-Sep-02 17:20 UTC
[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/disk2s2It 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.
Dominik Hoffmann
2010-Sep-02 17:30 UTC
[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
Dominik Hoffmann
2010-Sep-02 17:31 UTC
[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
Dominik Hoffmann
2010-Sep-02 17:38 UTC
[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 NAME____________________SIZE_______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 NAME____________________SIZE_______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 NAME____________________SIZE_______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