From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: <1dc3dbdc0c9e0ecbc86047c58e0a2d33@hamnavoe.com> <6c0a6fdef3589e5cb13618f19d9ac9fc@chula.quanstro.net> <27cbf24b3414cf47835e99ecbbd97e6d@brasstown.quanstro.net> Date: Tue, 11 Oct 2011 04:51:03 -0400 Message-ID: From: slash To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [9fans] copying fossil filesystem to a bigger disk Topicbox-Message-UUID: 3681d006-ead7-11e9-9d60-3106f5b1d025 > you're not the first person to make this mistake, so i should > have remembered this problem. =A0sorry. Please don't apologize. You are the one guiding the blind. > you need to mount both new and old afresh in /n/ and copy > using your destination as /n/new and source as /n/old. =A0using > / as your source doesn't work because you have many things other > than the file server intended mounted. =A0for example, your first > error messages are because #c is mounted on /dev. Aha! Maybe I finally got it. At least no errors: su# con -l /srv/fscons prompt: fsys new config /dev/sdE1/fossil fsys new config /dev/sdE1/fossil prompt: fsys new open -AWVP fsys new open -AWVP >>> q su# mount /srv/boot /n/old main su# mount /srv/boot /n/new new su# disk/mkfs -s /n/old -d /n/new -U -r file system made su# con -l /srv/fscons prompt: fsys new sync fsys new sync new sync: wrote 0 blocks prompt: fsys new halt fsys new halt >>> q Now let's see if it boots.