ZFS: Input/output error when mounting

Status
Not open for further replies.

zmanbb

Cadet
Joined
Jul 4, 2013
Messages
1
Hi

After power outage one of my ZFS shares cannot be mounted any more.

I have three volumes (all on the same physical drive):
1. RAID -> /mnt/RAID
2. RAID/datoteke -> /mnt/RAID/datoteke
3. RAID/dokumenti -> /mnt/RAID/dokumenti

When trying to mount RAID/dokumenti, error occurs: "cannot mount 'RAID/dokumenti': Input/output error".

Has anyone expirienced something similar? How can I fix this error?


Thank you

Code:
[root@freenas] /var/log# zfs mount RAID/dokumenti
cannot mount 'RAID/dokumenti': Input/output error
 
[root@freenas] /var/log# zfs list
NAME            USED  AVAIL  REFER  MOUNTPOINT
RAID            13.5G  439G  128K  /mnt/RAID
RAID/datoteke  9.57G  439G  9.57G  /mnt/RAID/datoteke
RAID/dokumenti  3.95G  439G  3.95G  /mnt/RAID/dokumenti
 
[root@freenas] /var/log# gpart show
=>      34  976562109  da0  GPT  (466G)
        34        94      - free -  (47K)
        128    4194304    1  freebsd-swap  (2.0G)
    4194432  972367711    2  freebsd-zfs  (464G)
 
=>      63  15644790  da1  MBR  (7.5G)
        63  1930257    1  freebsd  [active]  (943M)
  1930320        63      - free -  (32K)
  1930383  1930257    2  freebsd  (943M)
  3860640      3024    3  freebsd  (1.5M)
  3863664    41328    4  freebsd  (20M)
  3904992  11739861      - free -  (5.6G)
 
=>      63  488281185  ada0  MBR  (233G)
        63  488279547    1  freebsd  [active]  (233G)
  488279610      1638        - free -  (819K)
 
=>      0  1930257  da1s1  BSD  (943M)
        0      16        - free -  (8.0K)
      16  1930241      1  !0  (943M)
 
=>      0  1930257  da1s2  BSD  (943M)
        0      16        - free -  (8.0K)
      16  1930241      1  !0  (943M)


After running scrub on the volume the "zpool status -v" output is:
Code:
[root@freenas] /var/log# zpool status -v
  pool: RAID
 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://www.sun.com/msg/ZFS-8000-8A
 scrub: scrub completed after 0h1m with 2 errors on Thu Jul  4 13:15:07 2013
config:
 
        NAME                                          STATE     READ WRITE CKSUM
        RAID                                          ONLINE       0     0    11
          gptid/d3fca758-d413-11e1-a76d-001143fcddf4  ONLINE       0     0   102
 
errors: Permanent errors have been detected in the following files:
 
        RAID/dokumenti:<0x0>
 

Szycha

Cadet
Joined
Feb 27, 2015
Messages
2
Hello, Zmanbb

Were you able to resolve this issue?
I am having similar problem and would like to know if there is a fix.
Or at least something that would allow me to mount (and read) such pool.
 
Status
Not open for further replies.
Top