All of lore.kernel.org
 help / color / mirror / Atom feed
* [uml-devel] reported size of a hostfs file system differs
@ 2013-09-03 17:54 Toralf Förster
  0 siblings, 0 replies; only message in thread
From: Toralf Förster @ 2013-09-03 17:54 UTC (permalink / raw)
  To: user-mode-linux-devel@lists.sourceforge.net

I started 2 UML instanves and mounted from one (trinity) a remote share
from the other UML machine (n22stab4). FWIW it is always the same
exported directory "/mnt/ramdisk", but mounted w/ different fs types :
NFS v[234] and hostfs.


I'm wondering about the output of the command df -m.

The client gives 3072 MB :

trinity ~ # df -m
Filesystem            1M-blocks  Used Available Use% Mounted on
rootfs                     1846  1268       467  74% /
/dev/root                  1846  1268       467  74% /
devtmpfs                    501     0       501   0% /dev
tmpfs                       501     1       501   1% /run
shm                         501     0       501   0% /dev/shm
cgroup_root                  10     0        10   0% /sys/fs/cgroup
tmpfs                       300     0       300   0% /mnt/ramdisk
n22stab4:                  3072  1538      1535  51% /mnt/hostfs
n22stab4:                   300     0       300   0% /mnt/nfsv4
n22stab4:/mnt/ramdisk       300     1       300   1% /mnt/nfsv2
n22stab4:/mnt/ramdisk       300     0       300   0% /mnt/nfsv3



whereas the server says 1846 MB:


tfoerste@n22 ~ $ ssh root@n22stab4
n22stab4 ~ # df -m
Filesystem     1M-blocks  Used Available Use% Mounted on
rootfs              1846  1538       197  89% /
/dev/root           1846  1538       197  89% /
devtmpfs             501     0       501   0% /dev
tmpfs                501     1       501   1% /run
shm                  501     0       501   0% /dev/shm
cgroup_root           10     0        10   0% /sys/fs/cgroup
tmpfs                300     1       300   1% /mnt/ramdisk

which correlates to the image size of 2 GiBi :

tfoerste@n22 ~ $ ls -l ~/virtual/uml/
total 5836716
-rw-r--r-- 1 tfoerste users 2000000000 Sep  3 19:53 n22stab4
-rw-r--r-- 1 tfoerste users 2000000000 Sep  3 19:11 n22unst4
-rw-r--r-- 1 tfoerste users 2000000000 Sep  3 19:53 trinity

-- 
MfG/Sincerely
Toralf Förster
pgp finger print: 7B1A 07F4 EC82 0F90 D4C2 8936 872A E508 7DB6 9DA3

------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-09-03 17:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-03 17:54 [uml-devel] reported size of a hostfs file system differs Toralf Förster

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.