Date: Sat, 17 May 2003 09:24:42 -0500 (CDT) From: matt <matt@grogged.dyndns.org> Cc: current@freebsd.org Subject: sparc64 newfs vs. i386 newfs Message-ID: <20030517090901.X70438-100000@grogged.dyndns.org> In-Reply-To: <3EC572EE.2050501@btc.adaptec.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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#
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030517090901.X70438-100000>
