DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 7th September 2013
pb91 pb91 is offline
New User
 
Join Date: Aug 2013
Posts: 1
Thanked 0 Times in 0 Posts
Default Basic problem

Hello,

a basic problem I can not solve.

It's OpenBSD 5.3 generic on a laptop Dell Latitude 510.

I have no problem to mount usb stick.

However, for an external drive (1 To, SATAII) on usb I have this:

The drive appears recognized.
Code:
# disklabel sd1
#/dev/rsd1c:
type: SCSI
disk: SCSI disk
label: EARX-32N0YB0    
duid: 0000000000000000
flags:
bytes/sector: 4096
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 15200
total sectors: 244190646
boundstart: 0
boundend: 244190646
drivedata: 0 

16 partitions:
#                size           offset  fstype [fsize bsize  cpg]
  c:        244190646                0  unused                   
  i:        244190208              256  ext2fs
But it is impossible to mount.
Code:
# mount -t ext2fs /dev/sd1i /mnt/usb1
mount_ext2fs /dev/sd1i on /mnt/usb1: specified device does not match mounted device
Does anyone have an idea?

Last edited by ocicat; 7th September 2013 at 07:29 PM. Reason: Please use [code] & [/code] tags when posting command output.
Reply With Quote
  #2   (View Single Post)  
Old 7th September 2013
shep shep is offline
ISO Quartermaster
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 589
Thanked 9 Times in 9 Posts
Default

One thought is that if the drive is being used out of the box is that it is likely formated with an ntfs windows file system. Most usb sticks are formated with msdos/msdosfs/vfat file systems.
Newer usb hard drives tend to arrive preformated with ntfs and would remain so unless you had reformated, perhaps in a linux system.

More info is here.
Reply With Quote
  #3   (View Single Post)  
Old 7th September 2013
jggimi's Avatar
jggimi jggimi is online now
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,667
Thanked 214 Times in 189 Posts
Default

Hello, and welcome!

When a drive does not contain an OpenBSD disklabel, OpenBSD will create a pseudo disklabel in memory, based upon the drive's MBR partition table, if there is one.

Your MBR partition table apparently has a partition that begins at sector #256 that is set to partition type 0x83, used by Linux.

Unfortunately, OpenBSD's list of supported Linux filesystems ends with EXT2 or EXT3 filesystems. It cannot mount EXT4, ReiserFS, or other Linux filesystems.

This is why the pseudo disklabel interprets a Linux MBR partition as "ext2fs" even if it isn't -- because only EXT2 or EXT3 (which is EXT2 plus logging) are supported.

Last edited by jggimi; 7th September 2013 at 08:18 PM. Reason: clarity
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
basic IRQ question unixjingleman OpenBSD Installation and Upgrading 1 3rd January 2011 04:49 PM
Basic NAT trouble for a newbie maxleonca NetBSD General 2 17th June 2010 04:44 AM
Basic starter questions ??? dennky OpenBSD Installation and Upgrading 10 5th December 2009 07:21 PM
Basic networking fail. diw OpenBSD General 13 31st March 2009 09:29 AM
need some basic help on ifconfig daemon-dd FreeBSD General 4 29th July 2008 03:21 PM


All times are GMT. The time now is 03:13 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick