From: Louis-David Mitterrand <vindex+lists-kvm@apartia.org>
To: kvm@vger.kernel.org
Subject: nfsroot stays 'readonly'
Date: Fri, 27 Jun 2008 11:00:06 +0200 [thread overview]
Message-ID: <20080627090006.GA26993@apartia.fr> (raw)
Hi,
To provide an emergency off-site backup server for a client, I'm trying
to use kvm on a nightly rsync'ed copy of their server. To avoid the use
of a disk image I was advised to try nfsroot. This the command I am
running:
# kvm -nographic -hda ~/empty.qcow2
-kernel /boot/vmlinuz-2.6.25.7-1-pyrrhus64
-append "3 root=/dev/nfs
nfsroot=10.0.3.1:/backup/client.server.com/current/ ip=dhcp
console=ttyS0 early_printk=ttyS0" -serial stdio -net nic -net
tap,script=/etc/kvm/kvm-ifup-zenon -m 1024
wich mostly works, the remaining problems I have are:
1) the nfsroot fs stays 'readonly' even though I modified the backup's
fstab to read:
10.0.3.1:/backup/client.server.com/current / nfs defaults,rw 0 0
2) the boot lingers a long time after "activating swap" even though
there is no swap entry in the modified fstab
3) the login: prompt is not reached, the kernel hangs at:
Running local boot scripts (/etc/rc.local).
4) also I'm not sure what the "console=" and "early_printk=" do; is it
at the nfsroot or kvm level?
A log of the boot process is available at:
http://zenon.apartia.fr/stuff/kvm_log.txt
Thanks for any suggestions,
next reply other threads:[~2008-06-27 9:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-27 9:00 Louis-David Mitterrand [this message]
2008-06-29 9:16 ` nfsroot stays 'readonly' Avi Kivity
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=20080627090006.GA26993@apartia.fr \
--to=vindex+lists-kvm@apartia.org \
--cc=kvm@vger.kernel.org \
/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