Greg Zartman
2013-11-18 17:59:22 UTC
I'm working with SmartOS and have setup a 6x1TB raidz pool with an ashift
of 12 (note: I did chose the ashift of 12 so I could later replace the 1TB
drives with 2/3TB drives).
I created a 100GB volume on my raidz zpool as a container for a linux file
system (ext4). I then filled up the 100GB volume with data. After
filling the volume with data, I was suprised that the volume grew to 153GB
(zfs list). After much research online, it appears this is because of the
4k sectors and parity -- 1 4k block for data and 2 for parity. This jibes
with the 50% increase in the volume size I'm seeing.
I raised this issue on the SmartOS mailing list and have been advised to
just ditch raidz on larger hard drives (2TB+ with 4k sectors) and go with
mirrored drives.
My question: Is there any work around or configuration to use raidz on
drives with 4k sectors that doesn't make you give up 50% storage space,
beyond the normal parity requirements? Is the only real solution to just
not use raidz and go with mirror devices.
Thanks.
--
Greg J. Zartman
Board Member
Koozali Foundation, Inc.
2755 19th Street SE
Salem, Oregon 97302
Cell: 541-5218449
SME Server user and community member since 2000
-------------------------------------------
illumos-zfs
Archives: https://www.listbox.com/member/archive/182191/=now
RSS Feed: https://www.listbox.com/member/archive/rss/182191/23047029-187a0c8d
Modify Your Subscription: https://www.listbox.com/member/?member_id=23047029&id_secret=23047029-2e85923f
Powered by Listbox: http://www.listbox.com
of 12 (note: I did chose the ashift of 12 so I could later replace the 1TB
drives with 2/3TB drives).
I created a 100GB volume on my raidz zpool as a container for a linux file
system (ext4). I then filled up the 100GB volume with data. After
filling the volume with data, I was suprised that the volume grew to 153GB
(zfs list). After much research online, it appears this is because of the
4k sectors and parity -- 1 4k block for data and 2 for parity. This jibes
with the 50% increase in the volume size I'm seeing.
I raised this issue on the SmartOS mailing list and have been advised to
just ditch raidz on larger hard drives (2TB+ with 4k sectors) and go with
mirrored drives.
My question: Is there any work around or configuration to use raidz on
drives with 4k sectors that doesn't make you give up 50% storage space,
beyond the normal parity requirements? Is the only real solution to just
not use raidz and go with mirror devices.
Thanks.
--
Greg J. Zartman
Board Member
Koozali Foundation, Inc.
2755 19th Street SE
Salem, Oregon 97302
Cell: 541-5218449
SME Server user and community member since 2000
-------------------------------------------
illumos-zfs
Archives: https://www.listbox.com/member/archive/182191/=now
RSS Feed: https://www.listbox.com/member/archive/rss/182191/23047029-187a0c8d
Modify Your Subscription: https://www.listbox.com/member/?member_id=23047029&id_secret=23047029-2e85923f
Powered by Listbox: http://www.listbox.com