Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I've just started using ZFS on linux and have already run into problems.

I connected my old data drive to my server to copy my data to my new ZFS volume. However, when I removed this drive and rebooted Linux, I found that my devices had been renumbered and ZFS could no longer mount its pool.

zpool status

  pool: media
 state: UNAVAIL
status: One or more devices could not be opened.  There are insufficient
        replicas for the pool to continue functioning.
action: Attach the missing device and online it using 'zpool online'.
   see: http://www.sun.com/msg/ZFS-8000-3C
 scrub: none requested
config:

        NAME        STATE     READ WRITE CKSUM
        media       UNAVAIL      0     0     0  insufficient replicas
          raidz1-0  UNAVAIL      0     0     0  insufficient replicas
            sdc     FAULTED      0     0     0  corrupted data
            sdd     FAULTED      0     0     0  corrupted data
            sde     UNAVAIL      0     0     0  cannot open

The devices are now sdb,sdc,sdd. What can I do rename the devices? I'm using Ubuntu 11.04.

share|improve this question
add comment

1 Answer

up vote 0 down vote accepted

It turns out that just doing a "zpool export" and "zpool import" fixed the problem.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.