# Storage information from Suse linux VM

**URL:** <https://forums.suse.com/t/storage-information-from-suse-linux-vm/30060>\
**Category:** SLES Configure-Administer\
**Created:** [July 18, 2017, 5:01pm UTC](https://forums.suse.com/t/storage-information-from-suse-linux-vm/30060 "2017-07-18T17:01:02Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![vijayscsa](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/vijayscsa/32/9168_2.png) [@vijayscsa](https://forums.suse.com/u/vijayscsa)\
**Post date:** [July 18, 2017, 5:01pm UTC](https://forums.suse.com/t/storage-information-from-suse-linux-vm/30060/1 "2017-07-18T17:01:02Z")

</div>

Mentors, In a SLES linux VM, How to identify if the attached file system (example: /dev/mapper/vg\_xxx) is coming from VMFS based or NFS based DataStore ?

Having lot of confusions on the configuration collection mainly for Storage.

---

<div class="post-metadata">

**Author:** ![ab1](https://avatars.discourse-cdn.com/v4/letter/a/d2c977/32.png) [@ab1](https://forums.suse.com/u/ab1)\
**Post date:** [July 18, 2017, 5:14pm UTC](https://forums.suse.com/t/storage-information-from-suse-linux-vm/30060/2 "2017-07-18T17:14:11Z")

</div>

If anything is NFS-based I would expect it to show up as a mountpoint with  
type NFS:

```auto
mount | grep -i nfs
```

If it is coming from a VM environment as a native disk, then I would guess  
it will just show up as a native disk (/dev/something) instead, but from  
there you probably need some other way of which I am unaware to know if it  
is something directly from VMware, or from a SAN of some sort, or from  
iSCSI, or whatever. I am no VMware expert, though, so maybe they have a  
utility, or virtual file (/dev or /sys something) that identifies things  
from within the OS.

–  
Good luck.

If you find this post helpful and are logged into the web interface,  
show your appreciation and click on the star below.

If you want to send me a private message, please let me know in the  
forum as I do not use the web interface often.

---

<div class="post-metadata">

**Author:** ![vijayscsa](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/vijayscsa/32/9168_2.png) [@vijayscsa](https://forums.suse.com/u/vijayscsa)\
**Post date:** [July 18, 2017, 7:06pm UTC](https://forums.suse.com/t/storage-information-from-suse-linux-vm/30060/3 "2017-07-18T19:06:36Z")

</div>

Thanks for your reply.

Here SLES Virtual machine is getting provisioned from VMWare infrastructure and it has both VMFS and NFS datastore.

/dev/sda1 1011M 65M 895M 7% /boot

/dev/mapper/vg0-lv\_root 11G 4.5G 5.9G 44% /

Added many /dev/mapper/vg0-1xx and /dev/mapper/vg0-2xx volumes.

I would like to find if a volume /dev/mapper/vg0-2xx coming from NFS datastore or VMFS ?

What’s the command we can use in suse linux?

Thanks

---

<div class="post-metadata">

**Author:** ![ab1](https://avatars.discourse-cdn.com/v4/letter/a/d2c977/32.png) [@ab1](https://forums.suse.com/u/ab1)\
**Post date:** [July 18, 2017, 8:18pm UTC](https://forums.suse.com/t/storage-information-from-suse-linux-vm/30060/4 "2017-07-18T20:18:54Z")

</div>

I presume the same as for any other Linux distribution.

Does this article from VMware help?

[https://kb.vmware.com/selfservice/microsites/search.do?language=en\_US&cmd=displayKC&externalId=1014953](https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1014953)

–  
Good luck.

If you find this post helpful and are logged into the web interface,  
show your appreciation and click on the star below.

If you want to send me a private message, please let me know in the  
forum as I do not use the web interface often.

---

<div class="post-metadata">

**Author:** ![KEVIN1](https://avatars.discourse-cdn.com/v4/letter/k/a9adbd/32.png) [@KEVIN1](https://forums.suse.com/u/KEVIN1)\
**Post date:** [July 19, 2017, 5:01am UTC](https://forums.suse.com/t/storage-information-from-suse-linux-vm/30060/5 "2017-07-19T05:01:08Z")

</div>

> [@vijayscsa;38792](#):
>
> [COLOR=#333333][FONT=Arial]I would like to find if a volume /dev/mapper/vg0-2xx coming from NFS datastore or VMFS ?[/FONT][/COLOR]

When you create a VM in VMware and assign a disk to that VM, data that is written to that disk usually resides in a .vmdk file in a VMware datastore accessible to the ESXi host on which the VM is running. From the ESXi host, there are a number of ways to determine in which datastore a particular .vmdk file resides and you can also find out what devices a particular datastore uses.

From within a VM you can see what disks have been assigned to the VM and what filesystems might reside on those disks. Because the storage is presented to the VM as a “disk” (hard drive), you have no way to know what that disk may map to. It could be a physical disk, a partition, a logical volume, a LUN, an NFS share, etc.

If you mount an NFS volume from within a SLES VM, fstab will show the filesystem but within the SLES VM you cannot use SLES commands to determine if an NFS share is used as storage for the VMware datastore in which resides the .vmdk file associated with one of the disks attached to your SLES VM. That information is not available to the VM.
