zpool status?

killagorilla187

Limp Gawd
2FA
Joined
Jul 11, 2008
Messages
224
I'm having some strange behavior out of 'zpool status'.
First setup a zpool using 6 disks:
Code:
#zpool create media raidz da{0..5}
#zpool status
pool: media
 state: ONLINE
 scrub: none requested
config:

        NAME        STATE     READ WRITE CKSUM
        media       ONLINE       0     0     0
          raidz1    ONLINE       0     0     0
            da0     ONLINE       0     0     0
            da1     ONLINE       0     0     0
            da2     ONLINE       0     0     0
            da3     ONLINE       0     0     0
            da4     ONLINE       0     0     0
            da5     ONLINE       0     0     0

errors: No known data errors

Now I go pull a drive from the server and I get the same status above. It should say DEGRADED however it still says ONLINE, so I pull another, then another, untill all six drives are removed, checking 'zpool status media' inbetween each pull still states ONLINE.

Whats the problem?
 
Well do some I/O or start a scrub and it should fine out pretty quick those disks are detached.

On what controller are you testing this? FreeBSD OS i assume?

Some controllers only allow hot-plug if you 'detach' it via command line before you pull it out. Otherwise, you would need to reboot before a replacement drive on that port gets picked up again. But it should say those device are UNAVAIL or FAILED.
 
Hey sub.mesa, thanks for the reply.

Yes FreeBSD8.1 and I'm using Intel SASUC8I.

Ah, I now see. I thought it would be instantaneous.

Some controllers only allow hot-plug if you 'detach' it via command line before you pull it out. Otherwise, you would need to reboot before a replacement drive on that port gets picked up again

EDIT: It seems that this controller performs this way. Thanks again!

EDIT2: Installed OpenIndiana and hot-plug works, something is configured wrong in FreeBSD. I have ahci_load ="YES" and ahci_enable="YES" is in my rc.conf Whats wrong??
 
Last edited:
Back
Top