Pool in use by other system cannot import

All your general support questions for OpenZFS on OS X.

Pool in use by other system cannot import

Postby bczegeny » Fri Oct 19, 2018 4:26 pm

Hey guys,

having issues with a RAID5 ZFS Pool over thunderbolt Akito quad enclosure on MacOs, it was working fine with my laptop, Exported it. Moved the raid and laptop to the office from my home. Then when I went to import it, I get the error:


Code: Select all
$Bash: sudo zpool import RAID5
cannot import 'RAID5': pool may be in use from other system, it was last accessed by  (hostid: 0xaf76efbe) on Wed Dec 31 16:00:00 1969
use '-f' to import anyway
$bash: sudo zpool import RAID5 -f
cannot import 'RAID5': no such device in pool
        Destroy and re-create the pool from
        a backup source.


Code: Select all
pool: RAID5
     id: 125245030814866291
  state: UNAVAIL
 status: The pool was last accessed by another system.
 action: The pool cannot be imported due to damaged devices or data.
   see: http://zfsonlinux.org/msg/ZFS-8000-EY
 config:

        RAID5                                           UNAVAIL  insufficient replicas
          raidz1-0                                      UNAVAIL  insufficient replicas
            media-EDDED62F-4284-7C40-AF3F-3DB34091327C  UNAVAIL  cannot open
            media-F5C8E26C-D8F5-A740-A2FC-486F641ABB26  UNAVAIL  cannot open
            media-A4971995-1125-0C4C-BA07-38797F337FF5  ONLINE
            media-EA51DF16-92BC-524E-9E6E-4B025FEACFC1  ONLINE


I tried a diskutil and I'm not sure if this is suppose to show up like this, but it seems to be listing the raid twice.

Code: Select all
 diskutil list
/dev/disk0 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *251.0 GB   disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2:                 Apple_APFS Container disk1         250.8 GB   disk0s2

/dev/disk1 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +250.8 GB   disk1
                                 Physical Store disk0s2
   1:                APFS Volume Macintosh HD            216.9 GB   disk1s1
   2:                APFS Volume Preboot                 25.8 MB    disk1s2
   3:                APFS Volume Recovery                519.0 MB   disk1s3
   4:                APFS Volume VM                      11.5 GB    disk1s4

/dev/disk2 (external, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *12.0 TB    disk2
   1:                        ZFS RAID5                   12.0 TB    disk2s1
   2: 6A945A3B-1DD2-11B2-99A6-080020736631               8.4 MB     disk2s9

/dev/disk3 (external, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *12.0 TB    disk3
   1:                        ZFS RAID5                   12.0 TB    disk3s1
   2: 6A945A3B-1DD2-11B2-99A6-080020736631               8.4 MB     disk3s9



This is a 4 drive raid Akito thunderbolt enclosure, never had issues with it. Drives are all less than 3 months old. Brand new, NAS Rated.

Any idea's as to how I can not loose any data and get this working again ?
bczegeny
 
Posts: 1
Joined: Fri Oct 19, 2018 4:15 pm

Re: Pool in use by other system cannot import

Postby chrryd » Sat Oct 20, 2018 10:59 am

Diskutil is not showing your pool twice, its showing 2 of the disks that make up the pool, but it's not showing all the disks that make up the RAIDZ pool. I have a couple of the Akitio 4 disk Thunderbolt enclosures and while they are great in general, I have had a couple of oddities with disks not necessarily being recognised. Given that you physically moved the enclosure between locations, I'd be tempted to shutdown and then remove and re-insert each disk in the enclosure, just incase any connectors had moved a bit during the move. The disk trays are a little lose on my Akitio's, from my experience.
chrryd
 
Posts: 11
Joined: Wed Jun 17, 2015 3:44 am

Re: Pool in use by other system cannot import

Postby lundman » Sat Oct 20, 2018 2:52 pm

The "-f" is a flag to the import command, so it should be "zpool import -f poolname"
User avatar
lundman
 
Posts: 1337
Joined: Thu Mar 06, 2014 2:05 pm
Location: Tokyo, Japan


Return to General Help

Who is online

Users browsing this forum: No registered users and 24 guests

cron