iSCSI Disk extent disk usage

Status
Not open for further replies.

shedoks

Cadet
Joined
Mar 15, 2013
Messages
1
Hi All,

I've just installed FreeNAS-8.3.1-RELEASE-x64 (r13452) and i'm using it as 2nd shared storage for my three esx server.
I've tested it a lot, but somehow i've misedd this strange bug:

My ESX:
~ # du -sh /vmfs/volumes/freenas_10/
631.5G /vmfs/volumes/freenas_10
~ # du -sh /vmfs/volumes/freenas_00/
649.2G /vmfs/volumes/freenas_00

Freenas:
~ # df -h
Filesystem Size Used Avail Capacity Mounted on
/dev/ufs/FreeNASs1a 926M 382M 469M 45% /
devfs 1.0k 1.0k 0B 100% /dev
/dev/md0 4.6M 3.2M 971k 77% /etc
/dev/md1 823k 2.5k 755k 0% /mnt
/dev/md2 149M 17M 120M 13% /var
/dev/ufs/FreeNASs4 19M 1.6M 16M 9% /data
vol1 3.1T 220k 3.1T 0% /mnt/vol1
vol0 3.1T 209k 3.1T 0% /mnt/vol0

/# du -sh * | grep G
6.5k COPYRIGHT
/#

/# istgt
istgt version 0.5 (20121028)
normal mode
using kqueue
using host atomic
LU1 HDD UNIT
LU1: LUN0 file=/dev/zvol/vol0/export00, size=2199023255552
LU1: LUN0 4294967296 blocks, 512 bytes/block
LU1: LUN0 2048.0GB storage for iqn.2011-03.org.example.istgt:target00
LU1: LUN0 serial 3cd92bfdc810000
LU1: LUN0 read cache enabled, write cache enabled
LU1: LUN0 command queuing enabled, depth 32
LU2 HDD UNIT
LU2: LUN0 file=/dev/zvol/vol1/export10, size=2199023255552
LU2: LUN0 4294967296 blocks, 512 bytes/block
LU2: LUN0 2048.0GB storage for iqn.2011-03.org.example.istgt:target10
LU2: LUN0 serial 3cd92bfdc810010
LU2: LUN0 read cache enabled, write cache enabled
LU2: LUN0 command queuing enabled, depth 32


So where are my files :) ?

Regards,
 

jgreco

Resident Grinch
Joined
May 29, 2011
Messages
18,680
In the vmfs filesystem, which appears to be stored on a ZFS device extent.

You could have one of several underlying questions, here, but you failed to ask them. So I'll answer a few and let you figure out what the corresponding question would be.

1) FreeNAS lacks any way to interpret the contents of a vmfs filesystem, which it sees as a stream of disk blocks. You cannot see the files stored by ESXi from the FreeNAS box because of that, but they're stored safely regardless.

2) "zfs list" will show you.

3) "zpool list" is a better way to do that.

And unsolicited commentary: there's a reason for the string "example.org" and it isn't so that you use it in production.
 
Status
Not open for further replies.
Top