From: "Toralf Förster" <toralf.foerster@gmx.de>
To: "user-mode-linux-devel@lists.sourceforge.net"
<user-mode-linux-devel@lists.sourceforge.net>
Subject: [uml-devel] reported size of a hostfs file system differs
Date: Tue, 03 Sep 2013 19:54:51 +0200 [thread overview]
Message-ID: <5226226B.1020107@gmx.de> (raw)
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
reply other threads:[~2013-09-03 17:55 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5226226B.1020107@gmx.de \
--to=toralf.foerster@gmx.de \
--cc=user-mode-linux-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox