From owner-freebsd-current@FreeBSD.ORG Sat May 17 07:34:34 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AF54137B401 for ; Sat, 17 May 2003 07:34:34 -0700 (PDT) Received: from grogged.dyndns.org (c-66-41-94-114.mn.client2.attbi.com [66.41.94.114]) by mx1.FreeBSD.org (Postfix) with ESMTP id 33C3443FBF for ; Sat, 17 May 2003 07:34:34 -0700 (PDT) (envelope-from matt@grogged.dyndns.org) Received: by grogged.dyndns.org (Postfix, from userid 1001) id 64C7516809; Sat, 17 May 2003 09:24:42 -0500 (CDT) Received: from localhost (localhost [127.0.0.1]) by grogged.dyndns.org (Postfix) with ESMTP id 56BBCD23A for ; Sat, 17 May 2003 09:24:42 -0500 (CDT) Date: Sat, 17 May 2003 09:24:42 -0500 (CDT) From: matt In-Reply-To: <3EC572EE.2050501@btc.adaptec.com> Message-ID: <20030517090901.X70438-100000@grogged.dyndns.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: current@freebsd.org Subject: sparc64 newfs vs. i386 newfs X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 May 2003 14:34:35 -0000 This is probably a dumb question - I'l imagine I'm just missing something obvious, but here goes... Is there any way to newfs a vnode backed md() filesystem on a sparc64 system, transfer the relevant file that served as the md() vnode backed filesystem to an i386 system, and mount the filesystem? I've tried all sorts of various flags to newfs and mount without any luck. What am I missing? An example below: sparc64# uname -a FreeBSD sparc64 5.1-BETA FreeBSD 5.1-BETA #0: Thu May 15 01:25:00 GMT 2003 matt@:/usr/src/sys/sparc64/compile/SPARKY sparc64 sparc64# dd if=/dev/zero of=myfiles bs=1024k count=5 sparc64# mdconfig -a -t vnode -f myfiles -u 1 sparc64# newfs /dev/md1 /dev/md1: 5.0MB (10240 sectors) block size 16384, fragment size 2048 using 4 cylinder groups of 1.27MB, 81 blks, 192 inodes. super-block backups (for fsck -b #) at: 160, 2752, 5344, 7936 sparc64# mount /dev/md1 /mnt sparc64# df /mnt Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/md1 4718 2 4340 0% /mnt sparc64# umount /mnt sparc64# mdconfig -d -u 1 sparc64# # scp myfiles matt@192.168.0.149:/home/matt Password: myfiles 100% 5120KB 1.3MB/s 00:03 sparc64# i386# uname -a FreeBSD i386 5.1-BETA FreeBSD 5.1-BETA #2: Wed May 14 22:15:33 GMT 2003 matt@hopelessposh.dyndns.org:/usr/src/sys/i386/compile/POSH i386 i386# ls -la myfiles -rw-r--r-- 1 matt matt 5242880 May 17 10:57 myfiles i386# mdconfig -a -t vnode -f myfiles -u 1 i386# ls -la /dev/md1 crw-r----- 1 root operator 4, 38 May 17 08:40 /dev/md1 i386# mount /dev/md1 /mnt mount: /dev/md1 on /mnt: incorrect super block i386#