From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <38F2F122.457FB740@ednet.ns.ca> Date: Tue, 11 Apr 2000 06:32:18 -0300 From: Patrick Boutilier MIME-Version: 1.0 Subject: Re: [linux-lvm] lvm'ing root fs References: Content-Transfer-Encoding: 7bit Sender: owner-linux-lvm Errors-To: owner-linux-lvm List-Id: Content-Type: text/plain; charset="us-ascii" To: "Shaw, Marco" Cc: linux-lvm@msede.com Second attempt with correction to rsync statement. I've used rsync to move a whole / filesystem. rsync -avr --exclude-from=FILE /mnt/root_vg/* /. Put anything you want excluded in the "FILE" file. "Shaw, Marco" wrote: > I've created an init ramdisk (lvmcreate_initrd), and now I'm in the process > of trying to copy my root fs to my new lvm_root. To reduce the disk I/O, > I've gone down to single user mode to try to copy (cp -a *) all my files > from root to lvm_root. Twice I get the same results: > > # cd / > # cp -a * /mnt/root_vg > cp: /mnt/root_vg/proc/kcore_elf: Invalid argument > cp: proc/sys/net/ipv4/route/flush: Invalid argument > > This is all I see on my screen, then at some point, the copying stops, and > my system will not respond to keyboard input, except it will respond to > Alt-F1/4 to switch virtual terms, but still no keyboard input accepted. > > Should I tar/untar instead, or did I miss some fundamental step? > > Thanks, > Marco