• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 539
  • Last Modified:

Trouble mounting an Ext2fs drive on OpenBSD

I have an existing drive from an older linux machine that I want to mount on my newly installed OpenBSD machine.  The drive shows up on /dev/wd1i.  When I type: "mount_ext2fs /dev/wd1i /mnt/media" I get this message: "/dev/wd1i: file system not clean; please fsck(8)".

I then "fsck_ext2fs /dev/wd1i", which completes all 5 phases.  When I trhen try to mount the drive, it says "Device busy".

If I reboot and try to mount, I get the same original message.  

I also tried to put an entry into the fstab table to see if I could get it to mount via startup: "/dev/wd1i /mnt/media extfs default 1 2"
This does not mount the drive.

Any suggestions?  Could there be issues between ext2fs and ffs?  How could I check if the drive is bad?
0
gotodengo7
Asked:
gotodengo7
1 Solution
 
CrossleyCommented:
Sounds like you're doing the right sort of thing...  'device busy' sounds suspicious though.  I've never tried this myself but I'll have a think - may be worth posting a query to one of the BBs.
0
 
jimbbCommented:
What about using:

mount -f -t ext2fs /dev/wd1i /mnt/media

The -f is to force a mount of a "dirty" fs (man mount).
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now