Community

Subscribe
Highlighted

NFS Volume Showing Incorrect Provisioned Space.

I have a 1TB NFS Volume on a NetApp that is showing 284GB of free space, with 739GB's free... the problem is, the Datastore is empty. No snaps, no dedupe, nothing.


We currently "ran out of space" on it, but come to find out, it wasnt really out of space. After evacuating VM's from the volume, we assumed it would be free space 900GB'sish. But its not. We have no snapshots, VSC isnt doing anything.

I've mounted the volume to a Linux machine (since its NFS) and here's the output:

Filesystem                                     Size  Used Avail Use% Mounted on

NFSCONTROLLER:/vol/DSNAME  1.0T  739G  286G  73% /mnt

Here's a LS command on the mount point:

linux# ls -al

total 16

drwxrwxrwx  4 root root 4096 May 16 09:48 .

drwxr-xr-x 23 root root 4096 Feb 13 11:00 ..

drwxrwxrwx  2 root root 4096 Aug 23  2012 .snapshot

drwx------  3 root root 4096 May  2  2012 .vSphere-HA

The NetApp sees the same space free/used on that side as well. Not sure what else to do besides call support.

Re: NFS Volume Showing Incorrect Provisioned Space.

i guess you ran out of inodes when you moved VMs on to netapp.

paste the o/p of --> df -i volname

Re: NFS Volume Showing Incorrect Provisioned Space.

Filesystem                                     Inodes       IUsed         IFree    IUse%         Mounted on
Controller:/vol/VOLNAME                   31M         122           31M        1%                 /mnt

Re: NFS Volume Showing Incorrect Provisioned Space.

You probably really should look at the contents of the vSphere-HA directory.

S.

Re: NFS Volume Showing Incorrect Provisioned Space.

They're empty

Re: NFS Volume Showing Incorrect Provisioned Space.

"They"?

ls -laq .vSphere-HA results in?

At worst, if you don't need to keep the volume, you can always destroy it and create a new one.

S.

Re: NFS Volume Showing Incorrect Provisioned Space.

I meant "its" empty....

Deleting it is the easy solution, Im trying to find out why it happened.

Had to run it from the filer, but here's the output. Nothing thats 700+GB's

/vmfs/volumes/0d6ebd14-8c0f2657/.vSphere-HA/FDM-A80DCDCA-066C-4DE3-9387-599C27B75CF7-71038-18946ea-vcentername # ls -al

drwx------    1 root     root               4096 Jun  5 11:03 .

drwx------    1 root     root               4096 May  2  2012 ..

-rwxrwxr-x    1 root     root                 84 Jun  5 22:41 .lck-8239000000000000

-rw-r--r--    1 root     root            2229248 Jun  5 21:49 protectedlist

Re: NFS Volume Showing Incorrect Provisioned Space.

Hello

I think you must turn off options fractional_reserve=100 on your NFS volume

Show current settings:

vol options /vol/your_volume/

Set options:

vol options /vol/your_volume/ fractional_reserve 0

Re: NFS Volume Showing Incorrect Provisioned Space.

Fractional reserve is already set to 0.

Here's the details for the volume:

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

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

convert_ucode=on, maxdirsize=327680, schedsnapname=ordinal,

fs_size_fixed=off, guarantee=volume, svo_enable=off, svo_checksum=off,

svo_allow_rman=off, svo_reject_errors=off, no_i2p=off,

fractional_reserve=0, extent=off, try_first=volume_grow,

read_realloc=off, snapshot_clone_dependency=off, dlog_hole_reserve=off,

nbu_archival_snap=off

Re: NFS Volume Showing Incorrect Provisioned Space.

It may be a possibility that any of the file thats created is SPACE guaranteed, than WAFL reserves that space for that.