Hi, Haven't yet ever needed to deal with such scenario (and hopefully will ever not), but this is what I'd try:
-Connect the disks back to Linux boxen. -(zpool import the disks in case previous import DID succeed on Linux) -Try to do # zpool export <poolname> -If it fails try to do # export -f <poolname> Let's hope that clears the device paths. No clue actually if export even is supposed to clear the paths, as stated - never had to deal with such scenario :-) -- -Jussi Sallinen +358407007600 ju...@jus.si On Thu, Sep 22, 2011 at 06:06:53PM +0200, Laszlo Beres wrote: > Hi all, > > once I made a mistake and tried to import a zpool on Linux. Now I'm > having the following problem under Solaris 11 Express: > > root@blondie:~# zdb -l /dev/dsk/c3t1d0s0 > ------------------------------------------ > LABEL 0 > ------------------------------------------ > timestamp: 1316706103 UTC: Thu Sep 22 17:41:43 2011 > version: 32 > name: 'rpool' > state: 0 > > [snip] > > children[0]: > type: 'disk' > id: 0 > guid: 6716618511399022521 > path: > '/dev/disk/by-id/ata-SEAGATE_ST32502NSSUN250G_090680W14A_9SF0W14A-part6' > phys_path: '/pci@0,0/pci108e,5351@1f,2/disk@1,0:a' > whole_disk: 0 > DTL: 109 > children[1]: > type: 'disk' > id: 1 > guid: 2137436165612276682 > path: > '/dev/disk/by-id/ata-SEAGATE_ST32502NSSUN250G_091080YYCJ_9SF0YYCJ-part5' > phys_path: '/pci@0,0/pci108e,5351@1f,2/disk@2,0:a' > whole_disk: 0 > DTL: 107 > > As you can see paths are pointing to Linux device paths instead of > Solaris ones. The only trouble I've got is that beactivate doesn't > work: > > root@blondie:~# beadm activate opensolaris-17 > Error stat()ing > /dev/rdsk//dev/disk/by-id/ata-SEAGATE_ST32502NSSUN250G_090680W14A_9SF0W14A-part6 > Unable to activate opensolaris-17. > Error installing boot files. > root@blondie:~# > > Is there a way to fix it? > > -- > László Béres Unix system engineer > http://www.google.com/profiles/beres.laszlo > _______________________________________________ > zfs-discuss mailing list > zfs-discuss@opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss > _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss