lun resize

how do I resize a lun to fill out all the remaining space allowed?

lun maxsize /vol/voltest/voltest_qtr        

Space available for a LUN of type: solaris, aix, hpux, linux, netware, vmware, openvms, xen, solaris_efi or image

        Without snapshot reserve: 16353m (17147363328)

        With snapshot reserve: no space

        With complete snapshot reserve: no space

how do I use lun resize to automatically use all the remaining space?

lun resize

You can use "lun resize /vol/voltest/voltest_qtr  +16353m".   -Wei     

Re: lun resize

having a problem resizing a lun

df -h

/vol/test/               104GB       80GB       23GB      77%  /vol/test/

/vol/test/.snapshot       25GB        0TB       25GB       0%  /vol/test/.snapshot


test                                130GB            48GB          volume

> lun resize /vol/test/test_qtr/test.lun +5g

lun resize: New size exceeds this LUN's initial geometry

lun resize: max size: 65535m (68718428160)

Re: lun resize

Was the LUN created with the -o noreserve option? If not, the LUN has space-reservation enabled. And there may not be enough space to expand the LUN.


Re: lun resize

vol options show

> vol options test

nosnap=on, nosnapdir=off, minra=off, no_atime_update=off, nvfail=off,

ignore_inconsistent=off, snapmirrored=off, create_ucode=on,

convert_ucode=off, maxdirsize=45875, schedsnapname=ordinal,

fs_size_fixed=off, compression=off, guarantee=volume, svo_enable=off,

svo_checksum=off, svo_allow_rman=off, svo_reject_errors=off,

no_i2p=off, fractional_reserve=100, extent=off, try_first=volume_grow,

read_realloc=off, snapshot_clone_dependency=off, nbu_archival_snap=of

you mean fractional reserve?

Re: lun resize

yeah, there is also snapshot reserve. Do a "df -g" and "df -g -A".   -Wei

Re: lun resize

df -g

/vol/test/ 104GB 80GB 23GB 77% /vol/test/

/vol/test/.snapshot 25GB 0GB 25GB 0% /vol/test/.snapshot

df -g -A

test 8491GB 488GB 8003GB 6%

test/.snapshot 446GB 7GB 439GB 2%

Re: lun resize

should i set the fractional reserve to 0?

Re: lun resize

Yeah, try that. BTW, what's the current LUN size?  -Wei

Re: lun resize

i changed fractional reserve to 0 on the volume but still cannot increase the lun size