From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chuck Gelm Subject: Re: Mount freebsd 5.x disk on linux 2.6.18 problem Date: Mon, 08 Jan 2007 12:53:25 -0500 Message-ID: <45A28515.1010606@gelm.net> References: Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: linux-admin-owner@vger.kernel.org List-Id: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: Eric Marquez Cc: linux-admin@vger.kernel.org Hi, Eric: I am not sure what a 'mp3' drive is, but I will assume that it appears as a USB thumbdrive or USB external harddrive or similar. Your posted information from 'fdisk' indicates that there is a /dev/sd4 partition and it may be formatted as DOS. Have you tried to mount this device/partition as type 'auto' ? mount /dev/sda4 /export -or- mount -t auto /dev/sda4 /export Did you format /dev/sda4 with BSD with filesystem type 'ufs'? HTH, Chuck Eric Marquez wrote: > I just changed over from freebsd to opensuse 10.2 linux. I have my mp3 > drive I need to mount on my new opensuse server. When I try to mount > it I > get the following errors. > > build:~ # mount -r -t ufs -o ufstype=ufs2 /dev/sdb4 /export > build:~ # ls /export/samba > ls: cannot access /export/samba: Input/output error > build:~ # ls /export/ > ls: cannot access /export/ftp: Input/output error > ls: cannot access /export/samba: Input/output error > ls: cannot access /export/other: Input/output error > > I've tried using 44bsd, ufs2, 5xbsd, old for the fstype. > Can anybody help me get this mounted correctly? > > fdisk info: > build:~ # fdisk /dev/sdb4 > This disk has both DOS and BSD magic. > Give the 'b' command to go to BSD mode. > > Command (m for help): p > > Disk /dev/sdb4: 25 MB, 25600000 bytes > 255 heads, 63 sectors/track, 3 cylinders > Units = cylinders of 16065 * 512 = 8225280 bytes > > Device Boot Start End Blocks Id System > /dev/sdb4p4 * 1 4 25000 a5 FreeBSD > Partition 4 has different physical/logical endings: > phys=(1023, 254, 63) logical=(3, 28, 41) > > Uname: > build:~ # uname -a > Linux build 2.6.18.2-34-default #1 SMP Mon Nov 27 11:46:27 UTC 2006 > i686 i686 i386 GNU/Linux > > Kernel support: > build:/usr/src/linux # zgrep BSD_DISKLABEL /proc/config.gz > CONFIG_BSD_DISKLABEL=y >