Mount freebsd 5.x disk on linux 2.6.18 problem
Mount freebsd 5.x disk on linux 2.6.18 problem
am 08.01.2007 01:36:52 von ebm
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
--
EBM
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: Mount freebsd 5.x disk on linux 2.6.18 problem
am 08.01.2007 18:53:25 von chuck gelm net
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
>
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: Mount freebsd 5.x disk on linux 2.6.18 problem
am 09.01.2007 19:02:52 von ebm
I ended up finding a emergency boot disk for freebsd and mounted it
and transfered the data off the drive. I'm just going to format the
/dev/sda4 with ext3.
The drive was formated as a ufs format. For some reason my linux box
was having issues reading the partition. In any case I resolved the
issue.
On 1/8/07, Chuck Gelm wrote:
> 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
> >
>
>
--
EBM
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html