Solaris(panic): zfs: allocating allocated segment

Status
Not open for further replies.

isnoguter

Cadet
Joined
Oct 23, 2011
Messages
9
I have a big Problem.

I use FreeNAS Version 9.2.1.5 with RAID-Z1 (3 x 2 TB HDD). In the last days I have increase my capacity with new 3 x 4 TB Disks. I exchanged the Disks one by one and I always wait for the resilver process. It worked well for the first time. After a short period of working, FreeNAS does a reboot and now it wont't boot. The Error Message is attached.

Is there a solution for this problem?

Possible solution: The old Disks???

I still have the old Disks. So I take them back into my NAS and tried to import the Volume. Auto Import doesn't work.

The command "zpool import"
Code:
[root@FreeNAS ~]# zpool import                                                 
   pool: storage                                                               
     id: 11436243033751789037                                                  
  state: UNAVAIL                                                               
status: One or more devices are missing from the system.                      
action: The pool cannot be imported. Attach the missing                       
        devices and try again.                                                 
   see: http://illumos.org/msg/ZFS-8000-3C                                     
config:                                                                       
                                                                               
        storage                                         UNAVAIL  insufficient re
plicas                                                                         
          raidz1-0                                      UNAVAIL  insufficient re
plicas                                                                         
            3495210096767858123                         UNAVAIL  cannot open   
            17618189468404861795                        UNAVAIL  cannot open   
            gptid/3353763b-9115-11e1-a340-50e549d89962  ONLINE 


All the old Disks are Online, but FreeNAS is looking for the wrong gptid.

How can I import my RAID-Z1 with the old Disks?

I really need your help!
 

Attachments

  • IMG_20141213_232619.jpg
    IMG_20141213_232619.jpg
    426.8 KB · Views: 203
D

dlavigne

Guest
Post your hardware specs, the output of zpool history, and the output of zpool status.
 

isnoguter

Cadet
Joined
Oct 23, 2011
Messages
9
Hardware:
Board: Gigabyte GA-H61M-D2H-USB3 F2
CPU: Intel Core i3-2100T
RAM: 8GB
HDD (Alt): 3x WD Green 2TB
HDD (Neu): 3x WD Green 4 TB

zpool status:
Code:
[root@FreeNAS ~]# zpool status                                                                                                     
  pool: storage                                                                                                                    
state: ONLINE                                                                                                                     
status: One or more devices has experienced an error resulting in data                                                             
        corruption.  Applications may be affected.                                                                                 
action: Restore the file in question if possible.  Otherwise restore the                                                           
        entire pool from backup.                                                                                                   
   see: http://illumos.org/msg/ZFS-8000-8A                                                                                         
  scan: scrub repaired 0 in 5h31m with 0 errors on Sat Dec 13 20:40:33 2014                                                        
config:                                                                                                                            
                                                                                                                                   
        NAME                                            STATE     READ WRITE CKSUM                                                 
        storage                                         ONLINE       0     0     0                                                 
          raidz1-0                                      ONLINE       0     0     5                                                 
            gptid/c4690ac4-7fce-11e4-9ce1-50e549d89962  ONLINE       0     0     0                                                 
            gptid/c9969fae-8095-11e4-a279-50e549d89962  ONLINE       0     0     0                                                 
            gptid/220dacfb-8161-11e4-979b-50e549d89962  ONLINE       0     0     0                                                 
                                                                                                                                   
errors: 1 data errors, use '-v' for a list


zpool history:
Code:
 2014-12-13.21:11:48 zpool export -f storage                                                                                        
2014-12-13.21:12:22 zpool import -R /mnt storage                                                                                   
2014-12-13.21:50:48 zpool import -c /data/zfs/zpool.cache.saved -o cachefile=none -R /mnt -f 11436243033751789037                  
2014-12-13.21:50:48 zpool set cachefile=/data/zfs/zpool.cache storage                                                              
2014-12-13.21:53:34 zpool online -e storage gptid/220dacfb-8161-11e4-979b-50e549d89962 


After replacing the Disks, I read about Enabling ZFS Pool Expansion. Autoexpansion was already on, but I don't have more storage capacity. After a reboot everything looks good, the storage capacity was ok now. Some minutes later, I had no connection to FreeNAS and I get the Error Message (attached Image - Post 1).

In the meantime, I looked at this thread. I could not import my pool (error message attached), but I got another idea.

1. start NAS without HDD
2. detach ZFS Volume
3. Read-only import the pool by Shell in the Web-Administration

If I import the pool with the command zpool import -R /mnt storage, FreeNAS does a reboot and I get the Error Message (attached Image - Post 1).

The shares still work and I create a current backup. The best way is probably to destroy the pool and recreate it.
 

Attachments

  • IMG_20141214_162734.jpg
    IMG_20141214_162734.jpg
    357.9 KB · Views: 197
Status
Not open for further replies.
Top