Discussion:
Expanding a raidz vdev in zpool
Curtis Schiewek
2012-12-30 23:22:39 UTC
Permalink
Hello All,

I have a zpool that consists of 2 raidz vdevs (raidz1-0 and raidz1-1). The
first vdev is 4 1.5TB drives. The second was 4 500GB drives. I replaced the
4 500GB drives with 4 3TB drives.

I replaced one at time, and resilvered each. Now the process is complete, I
expected to have an extra 10TB (4*2.5TB) of raw space, but it's still the
same amount of space.

I did an export and import, which I have read might be required before
you'd see the extra space, but that still hasn't happened?

What am I missing? What can I do to get the extra space?

Thanks,

Curtis
Dan Swartzendruber
2012-12-30 23:27:03 UTC
Permalink
Did you set the autoexpand property?
Curtis Schiewek
2012-12-30 23:47:08 UTC
Permalink
I set it after I replaced and resilvered the drivers, but before I did the
export/import.
Post by Dan Swartzendruber
Did you set the autoexpand property?
Jimmy Olgeni
2012-12-31 00:07:55 UTC
Permalink
Post by Curtis Schiewek
I did an export and import, which I have read might be required before
you'd see the extra space, but that still hasn't happened?
Same here - I had to run "zpool online -e my_pool my_device" for each
device, then the new space came up.
--
jimmy
Curtis Schiewek
2012-12-31 00:42:27 UTC
Permalink
Thanks Jimmy, worked like a charm!
Post by Jimmy Olgeni
Post by Curtis Schiewek
I did an export and import, which I have read might be required before
you'd see the extra space, but that still hasn't happened?
Same here - I had to run "zpool online -e my_pool my_device" for each
device, then the new space came up.
--
jimmy
Loading...