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
jussi at 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 at 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 at 0,0/pci108e,5351 at 1f,2/disk at
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 at 0,0/pci108e,5351 at 1f,2/disk at
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 at 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 at 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 at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
>