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 12th March 2010
amorphousone amorphousone is offline
Port Guard
 
Join Date: Nov 2009
Posts: 11
Thanked 0 Times in 0 Posts
Default errors re-mounting external drive

i was transferring data between 2 usb drives. rebooted at one point, could mount one drive fine, but not the other (the case on 2 different computers, macppc OBSD 4.6 and i386 OBSD 4.6).

at connection:
Code:
umass0 at uhub5 port 3 configuration 1 interface 0 "Seagate FreeAgentDesktop" rev 2.00/0.00 addr 6
umass0: using SCSI over Bulk-Only
scsibus1 at umass0: 2 targets, initiator 0
sd0 at scsibus1 targ 1 lun 0: <Seagate, FreeAgentDesktop, 100F> SCSI2 0/direct fixed
sd0: 953869MB, 512 bytes/sec, 1953525168 sec total
disklabel says:
Code:
$ sudo disklabel sd0
# /dev/rsd0c:
type: SCSI
disk: SCSI disk
label: FreeAgentDesktop
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 121601
total sectors: 1953525168
rpm: 3600
interleave: 1
boundstart: 0
boundend: 1953525168
drivedata: 0

16 partitions:
#                size           offset  fstype [fsize bsize  cpg]
  c:       1953525168                0  unused
  i:       1953525105               63  4.2BSD   2048 16384   16
but mount yields:
Code:
$ sudo mount /dev/sd0i /mnt/
mount_ffs: /dev/sd0i on /mnt: Invalid argument
again, my other drive mounts fine.

thanks in advance!
Reply With Quote
  #2   (View Single Post)  
Old 12th March 2010
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 2,935
Thanked 190 Times in 160 Posts
Default

Quote:
Originally Posted by amorphousone View Post
i was transferring data between 2 usb drives. rebooted at one point, could mount one drive fine, but not the other...
  • Was the reboot done while the transfer was still taking place?
Or...
  • Were both drives fully umount(8)'ed at the time of the reboot?
And...
  • Is the drive not mount(8)'ing correctly now the target drive from the previous transfer?
Reply With Quote
  #3   (View Single Post)  
Old 12th March 2010
amorphousone amorphousone is offline
Port Guard
 
Join Date: Nov 2009
Posts: 11
Thanked 0 Times in 0 Posts
Default

thank you for the response ocicat. your question #2 may have answered my question.

Quote:
* Was the reboot done while the transfer was still taking place?
no

Quote:
* Were both drives fully umount(8)'ed at the time of the reboot?
i did not manually unmount them, assuming that that all disks were unmounted at shutdown. is this not the case?

Quote:
* Is the drive not mount(8)'ing correctly now the target drive from the previous transfer?
the unmountable disk was the source disk.

so, if my above assumption has been a gross error, is there a way to salvage the data on the disk?
Reply With Quote
  #4   (View Single Post)  
Old 12th March 2010
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Helpful companion
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Thanked 193 Times in 184 Posts
Default

You cannot share UFS/FFS filesystems betweens systems of different byte order (endian), so i386 and macppc are incompatible.

I'm not sure of the limitations of ext2, but you may try that.. alternatively you may need to use FAT32 with tape archives.
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
mounting NTFS external hard disk. bsdnewbie999 OpenBSD General 16 4th September 2010 01:59 PM
mounting external XFS HDD rativid OpenBSD General 5 3rd September 2010 02:31 PM
looking for external drive buy suggestions gosha General Hardware 20 5th September 2009 05:32 AM
Problem Installing From External DVD Drive jimnms OpenBSD Installation and Upgrading 8 16th July 2009 07:12 PM
Mounting External harddisk rex FreeBSD General 1 3rd June 2008 09:34 PM


All times are GMT. The time now is 02:57 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