Convert simple ZFS Pool to RaidZ2

Posted on 2009-04-17
Last Modified: 2013-12-27

is it possible, to convert a simple ZFS Pool with one Disk to a RaidZ2 Pool with 5 Disks?
Question by:LL0rd
    LVL 22

    Expert Comment

    Unfortunately, there is no way to change the layout of ZFS pools after they are created. The problem is that ZFS does not
    have a facility for re-arranging data, and all of the data already in your pool would need to be re-written in a different
    layout. The exception to this is the re-silvering of mirrors and adding replacement disks, since this only means writing
    data to the new disks, not re-writing what is already there.
    LVL 1

    Author Comment


    thx for your answer. Just another little question. Can I install Solaris on a RaidZ2 zpool?

    I have 5 Disks in my machine. Currently I have Solaris on the HDD0 and other 4 I use as RaidZ. But I also want to have some redundancy for my OS disk. So the idea was, I have one "large" RaidZ2 Pool, that contains the Data and the OS files.
    LVL 22

    Accepted Solution

    The root pool must exist wholly on a single disk, it cannot be striped, so multiple disk configurations, striping or raid are
    all out. However, you can use mirrored volumes. So, if you want redundancy for the root pool, the only way to
    get it is by using two disks in a mirrored configuration. So, you could use 3 disks in a raidz for your data and 2 disks in
    a mirror for your root pool. That is probably the best you can do with 5 disks.

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    FreeBSD on EC2 FreeBSD ( is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
    Lets start to have a small explanation what is VAAI(vStorage API for Array Integration ) and what are the benefits using it. VAAI is an API framework in VMware that enable some Storage tasks. It first presented in ESXi 4.1, but only after 5.x sup…
    Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
    In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

    729 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now