* Mount freebsd 5.x disk on linux 2.6.18 problem [not found] <a4711e6b0701071633w266bb118neb3c97bcf17ef3c5@mail.gmail.com> @ 2007-01-08 0:36 ` Eric Marquez 2007-01-08 17:53 ` Chuck Gelm 0 siblings, 1 reply; 3+ messages in thread From: Eric Marquez @ 2007-01-08 0:36 UTC (permalink / raw) To: linux-admin 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 ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Mount freebsd 5.x disk on linux 2.6.18 problem 2007-01-08 0:36 ` Mount freebsd 5.x disk on linux 2.6.18 problem Eric Marquez @ 2007-01-08 17:53 ` Chuck Gelm 2007-01-09 18:02 ` Eric Marquez 0 siblings, 1 reply; 3+ messages in thread From: Chuck Gelm @ 2007-01-08 17:53 UTC (permalink / raw) To: Eric Marquez; +Cc: linux-admin 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 > ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Mount freebsd 5.x disk on linux 2.6.18 problem 2007-01-08 17:53 ` Chuck Gelm @ 2007-01-09 18:02 ` Eric Marquez 0 siblings, 0 replies; 3+ messages in thread From: Eric Marquez @ 2007-01-09 18:02 UTC (permalink / raw) To: Chuck Gelm; +Cc: linux-admin 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 <chuck@gelm.net> 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 ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-01-09 18:02 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <a4711e6b0701071633w266bb118neb3c97bcf17ef3c5@mail.gmail.com>
2007-01-08 0:36 ` Mount freebsd 5.x disk on linux 2.6.18 problem Eric Marquez
2007-01-08 17:53 ` Chuck Gelm
2007-01-09 18:02 ` Eric Marquez
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).