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 18th February 2009
guitarscn guitarscn is offline
Package Pilot
 
Join Date: Oct 2008
Posts: 166
Default Mounting problems - unsupported inode size

I'm trying to mount an external hard drive:

# mount_ext2fs /dev/sd0c /mnt

(I also tried # mount -t ext2fs /dev/sd0c /mnt)

But I get the error:
Code:
Ext 2fs: unsupported inode size
mount_ext2fs: /dev/sd0c on /mnt: specified device does not match mounted device
What does this mean?
Reply With Quote
  #2   (View Single Post)  
Old 18th February 2009
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Banned
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Default

You're mounting the wrong device for one, sd0c represents the entire disk.. you should be using the letter indicated by the generated label, that will represent the partitioned portion of the disk.

To find the proper device node, examine the output of:
$ disklabel sd0

Now, finally.. the inode size error is something of a problem, OpenBSD's ext2 implementation only supports an inode size of 128 bytes.

A patch does exist to fix this problem, but it hasn't been approved yet.. if you feel capable of testing it, reply to that thread with the results.

I hope that helps..
Reply With Quote
  #3   (View Single Post)  
Old 18th February 2009
guitarscn guitarscn is offline
Package Pilot
 
Join Date: Oct 2008
Posts: 166
Default

sd0 only contains c. (I had originally formatted the entire disk and put stuff on it without creating any partitions.)

How long does it usually take for a patch to be approved?

Quote:
...yet you really should only test
it on a fs you wouldn't mind to blow to pieces.
Hmm...I think I'll just wait...
Reply With Quote
  #4   (View Single Post)  
Old 18th February 2009
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Banned
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Default

You might be waiting a long time, that patch isn't on the bug tracker.. unless people test it out.. there is a good chance it won't be approved.

As for the unpartitioned disk, that isn't a very recommended approach.. creating 1 large partition would have been the better option.
Reply With Quote
  #5   (View Single Post)  
Old 18th February 2009
guitarscn guitarscn is offline
Package Pilot
 
Join Date: Oct 2008
Posts: 166
Default

Why is 1 large partition better?
Reply With Quote
  #6   (View Single Post)  
Old 18th February 2009
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,318
Default

Quote:
Originally Posted by guitarscn View Post
Why is 1 large partition better?
The better question to answer is ask is how is the disk being used? Partitioning should follow usage.

At the same time, experience has taught me that allocating all space upfront may be handy, I have had longer term results by allocating only what is needed. Having unallocated space means that I can create one or several partitions later either in response to pressing needs or new needs.
Reply With Quote
  #7   (View Single Post)  
Old 18th February 2009
guitarscn guitarscn is offline
Package Pilot
 
Join Date: Oct 2008
Posts: 166
Default

I'm using this as a backup drive for anything that I don't want to lose. It mainly sits on my desk not being used unless I'm copying over files to save from my main hard drive.
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
CLI font size idefix FreeBSD General 3 7th February 2009 11:19 AM
Negative partition size? giga FreeBSD General 1 2nd January 2009 09:02 PM
"/libexec/ld-elf.so.1: /lib/libc.so.7: unsupported file layout" MacApp FreeBSD General 1 9th September 2008 04:40 PM
Change the Size of a Slice kienjakenobi FreeBSD General 9 27th June 2008 03:01 PM
apache fd size problem oxy FreeBSD Ports and Packages 0 10th May 2008 10:49 AM


All times are GMT. The time now is 11:44 AM.


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