Here is my problem. I created this problem in my test-lab environment in a ESX server. But want to use it later using a SAN array. If someone can help it will be of much help. I read all possible threads with no luck of resolving my issue.
I started with a 100GB disk. ( /dev/da1)
and created zpool - zp1
I expanded my disk to 300GB and want to expand my zpool to 300GB. I can never get that going. Here are the data.
FreeNAS Version 9.2.1.2
Gather Info
zpool list
NAME SIZE ALLOC FREE CAP DEDUP HEALTH ALTROOT
zp1 97.5G 2.37M 97.5G 0% 1.00x ONLINE -
~# zpool get autoexpand
NAME PROPERTY VALUE SOURCE
zp1 autoexpand on local
~# zpool status
pool: zp1
state: ONLINE
scan: none requested
config:
NAME STATE READ WRITE CKSUM
zp1 ONLINE 0 0 0
gptid/da716bc8-ab2c-11e3-a758-0050569fa059 ONLINE 0 0 0
Expand the size
(Following completed with no errors)
~# zpool online -e zp1 gptid/da716bc8-ab2c-11e3-a758-0050569fa059
Still zpool is showing same size.
~# zpool list
NAME SIZE ALLOC FREE CAP DEDUP HEALTH ALTROOT
zp1 97.5G 2.37M 97.5G 0% 1.00x ONLINE -
Other things I tried ;
Reboot,
Delete zpool from gui ; reboot ; and auto import.
GUI show the correct size of the disk under disk info. But zpool do not gets expanded.
None seems to be helping, solve the puzzle. As you can see, my partition size is good. But my zpool do not get expanded to the right size.
Following export/import task ended up with an error (probably I do not know the syntax, but autoimport from GUI after export works.)
[root@freenas] ~# zpool export zp1
[root@freenas] ~# zpool import zp1
cannot mount '/zp1': failed to create mountpoint
cannot mount '/zp1/.system': failed to create mountpoint
cannot mount '/zp1/.system/cores': failed to create mountpoint
cannot mount '/zp1/.system/samba4': failed to create mountpoint
cannot mount '/zp1/.system/syslog': failed to create mountpoint
[root@freenas] ~#
Please help.
I started with a 100GB disk. ( /dev/da1)
and created zpool - zp1
I expanded my disk to 300GB and want to expand my zpool to 300GB. I can never get that going. Here are the data.
FreeNAS Version 9.2.1.2
Gather Info
zpool list
NAME SIZE ALLOC FREE CAP DEDUP HEALTH ALTROOT
zp1 97.5G 2.37M 97.5G 0% 1.00x ONLINE -
~# zpool get autoexpand
NAME PROPERTY VALUE SOURCE
zp1 autoexpand on local
~# zpool status
pool: zp1
state: ONLINE
scan: none requested
config:
NAME STATE READ WRITE CKSUM
zp1 ONLINE 0 0 0
gptid/da716bc8-ab2c-11e3-a758-0050569fa059 ONLINE 0 0 0
Expand the size
(Following completed with no errors)
~# zpool online -e zp1 gptid/da716bc8-ab2c-11e3-a758-0050569fa059
Still zpool is showing same size.
~# zpool list
NAME SIZE ALLOC FREE CAP DEDUP HEALTH ALTROOT
zp1 97.5G 2.37M 97.5G 0% 1.00x ONLINE -
Other things I tried ;
Reboot,
Delete zpool from gui ; reboot ; and auto import.
GUI show the correct size of the disk under disk info. But zpool do not gets expanded.
None seems to be helping, solve the puzzle. As you can see, my partition size is good. But my zpool do not get expanded to the right size.
Following export/import task ended up with an error (probably I do not know the syntax, but autoimport from GUI after export works.)
[root@freenas] ~# zpool export zp1
[root@freenas] ~# zpool import zp1
cannot mount '/zp1': failed to create mountpoint
cannot mount '/zp1/.system': failed to create mountpoint
cannot mount '/zp1/.system/cores': failed to create mountpoint
cannot mount '/zp1/.system/samba4': failed to create mountpoint
cannot mount '/zp1/.system/syslog': failed to create mountpoint
[root@freenas] ~#
Please help.