Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to add a new disk to my zfs root pool. Here is my current config:

# zpool status
  pool: rpool
 state: ONLINE
 scrub: none requested

    rpool       ONLINE       0     0     0
      c0d0s0    ONLINE       0     0     0

errors: No known data errors
bash-3.00# df -h
Filesystem            Size  Used Avail Use% Mounted on
                      311G   18G  293G   6% /
swap                   14G  384K   14G   1% /etc/svc/volatile
                      311G   18G  293G   6% /lib/
swap                   14G   52K   14G   1% /tmp
swap                   14G   40K   14G   1% /var/run
rpool/export          293G   19K  293G   1% /export
rpool/export/home     430G  138G  293G  32% /export/home
rpool                 293G   36K  293G   1% /rpool

# format
Searching for disks...done

       0. c0d0 <DEFAULT cyl 60797 alt 2 hd 255 sec 63>
       1. c2d0 <Hitachi-   JK1181YAHL0YK-0001-16777216.>

Disk 1 above is the new disk I need to attach to expand my root pool (give /export/home some extra space).

If I try to attach my new disk to the pool

# zpool attach -f rpool c0d0s0 c2d0s0
cannot attach c2d0s0 to c0d0s0: new device must be a single disk

# uname -a
SunOS dsol1 5.10 Generic_139556-08 i86pc i386 i86pc Solaris

Any ideas?


# zpool add rpool c2d0

cannot add to 'rpool': root pool can not have multiple vdevs or separate logs

share|improve this question
If any answer solved your issue, please mark it as accepted. – jlliagre Jun 10 '15 at 11:09

You cannot add devices to the root pool (outside mirroring it but this isn't going to help in your case).

What you can do is creating a new zpool with your second disk and relocate /export on it.

share|improve this answer

Is it not zpool add, rather than zpool attach?

These may help:

share|improve this answer

Your Answer


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.