From: Louis-David Mitterrand Subject: nfsroot stays 'readonly' Date: Fri, 27 Jun 2008 11:00:06 +0200 Message-ID: <20080627090006.GA26993@apartia.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii To: kvm@vger.kernel.org Return-path: Received: from sargon.lncsa.com ([212.99.8.251]:37776 "EHLO sargon.lncsa.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751452AbYF0JZE (ORCPT ); Fri, 27 Jun 2008 05:25:04 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by sargon.lncsa.com (Postfix) with ESMTP id 34589300EE7F for ; Fri, 27 Jun 2008 11:00:10 +0200 (CEST) Received: from sargon.lncsa.com ([127.0.0.1]) by localhost (sargon.lncsa.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uRhC4EeCOs4r for ; Fri, 27 Jun 2008 11:00:10 +0200 (CEST) Received: from zenon.apartia.fr (zenon.apartia.fr [10.0.3.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "zenon.apartia.fr", Issuer "ca.apartia.fr" (verified OK)) by sargon.lncsa.com (Postfix) with ESMTP id F17AB3013B88 for ; Fri, 27 Jun 2008 11:00:09 +0200 (CEST) Content-Disposition: inline Sender: kvm-owner@vger.kernel.org List-ID: 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,