Avatar of gotodengo7
gotodengo7
 asked on

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?
Unix OS

Avatar of undefined
Last Comment
jimbb

8/22/2022 - Mon
Crossley

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.
ASKER CERTIFIED SOLUTION
jimbb

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy