Hi there!
I want to increase the size of raidz1 pool I tried to do it in VM, but without success What am I doing wrong?
Installed system is:
Virtual HDDs: 3x8Gb and 3x16Gb
First - create raid-z:
SIZE - 23.9G / AVAIL - 15.7G by using 3x8Gb disks.
Then replace all disks on larger:
Re-import pool:
Here I was expecting that the pool would be larger, isn't it? But not
What is wrong?
I want to increase the size of raidz1 pool I tried to do it in VM, but without success What am I doing wrong?
Installed system is:
Code:
FreeBSD freenas.local 9.0-STABLE FreeBSD 9.0-STABLE #0: Thu Jan 12 01:34:30 JST 2012
aoyama@fbsd9.freenas.local:/usr/obj/freenas/usr/src/sys/FREENAS-amd64 amd64
Virtual HDDs: 3x8Gb and 3x16Gb
Code:
# dmesg | grep 8192MB
da1: 8192MB (16777216 512 byte sectors: 255H 63S/T 1044C)
da2: 8192MB (16777216 512 byte sectors: 255H 63S/T 1044C)
da3: 8192MB (16777216 512 byte sectors: 255H 63S/T 1044C)
# dmesg | grep 16384MB
da4: 16384MB (33554432 512 byte sectors: 255H 63S/T 2088C)
da5: 16384MB (33554432 512 byte sectors: 255H 63S/T 2088C)
da6: 16384MB (33554432 512 byte sectors: 255H 63S/T 2088C)
First - create raid-z:
Code:
# zpool create tank raidz1 da1 da2 da3
# zpool status
pool: tank
state: ONLINE
scan: none requested
config:
NAME STATE READ WRITE CKSUM
tank ONLINE 0 0 0
raidz1-0 ONLINE 0 0 0
da1 ONLINE 0 0 0
da2 ONLINE 0 0 0
da3 ONLINE 0 0 0
errors: No known data errors
# zpool list
NAME SIZE ALLOC FREE CAP DEDUP HEALTH ALTROOT
tank 23.9G 174K 23.9G 0% 1.00x ONLINE -
# zfs list
NAME USED AVAIL REFER MOUNTPOINT
tank 116K 15.7G 40.0K /tank
SIZE - 23.9G / AVAIL - 15.7G by using 3x8Gb disks.
Then replace all disks on larger:
Code:
# zpool replace tank da1 da4
# zpool replace tank da2 da5
# zpool replace tank da3 da6
# zpool status
pool: tank
state: ONLINE
scan: resilvered 55.5K in 0h0m with 0 errors on Mon Jan 23 13:30:51 2012
config:
NAME STATE READ WRITE CKSUM
tank ONLINE 0 0 0
raidz1-0 ONLINE 0 0 0
da4 ONLINE 0 0 0
da5 ONLINE 0 0 0
da6 ONLINE 0 0 0
errors: No known data errors
Re-import pool:
Code:
# zpool export tank
# zpool import tank
Here I was expecting that the pool would be larger, isn't it? But not
Code:
# zpool list
NAME SIZE ALLOC FREE CAP DEDUP HEALTH ALTROOT
tank 23.9G 198K 23.9G 0% 1.00x ONLINE -
# zfs list
NAME USED AVAIL REFER MOUNTPOINT
tank 132K 15.7G 40.0K /tank
What is wrong?