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 3 Days Ago
Zielonykid123 Zielonykid123 is offline
Port Guard
 
Join Date: Nov 2021
Posts: 45
Post mount_ext2fs: /dev/sd1i on /mnt: specified device does not match mounted device

Hello, I just tried to mount my EXT4 partition with following command: `mount_ext2fs sd0i /mnt` but I got a message: "mount_ext2fs: /dev/sd1i on /mnt: specified device does not match mounted device". I also checked the dmesg and I can read there: "ext2fs: unsupported incompat features: 64bit". I can mount that file system on FreeBSD and Linux but on not on OpenBSD, why?
Reply With Quote
  #2   (View Single Post)  
Old 3 Days Ago
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,404
Default

EXT4 support has been available in a limited fashion since 2014.There are two limits:
  1. The filesystem must be mounted read-only.
  2. The filesystem must not have been formatted with the EXT4 "64bit" option.
These limits are due to requiring EXT2 compatibility. Sorry.
Reply With Quote
  #3   (View Single Post)  
Old 3 Days Ago
Zielonykid123 Zielonykid123 is offline
Port Guard
 
Join Date: Nov 2021
Posts: 45
Default

Quote:
Originally Posted by jggimi View Post
EXT4 support has been available in a limited fashion since 2014.There are two limits:
  1. The filesystem must be mounted read-only.
  2. The filesystem must not have been formatted with the EXT4 "64bit" option.
These limits are due to requiring EXT2 compatibility. Sorry.
So i can mount only ext2 and as read only, right? Can you give me an alternative for ext4? I want to store my data on it.
Reply With Quote
  #4   (View Single Post)  
Old 2 Days Ago
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,404
Default

Generally, FAT32 is recommended for speed and ease of use, if individual files are under 4GB in size. EXT2 or EXT3 (mounted as EXT2) are recommend when individual files are over 4GB.

Here's the foreign filesystems that can be mounted through mount(8):

EXT:
You can mount EXT2. You can mount EXT3, but the EXT3 journal will not be used -- it will be treated like EXT2. EXT4 read only and w/o the 64bit option.
FAT:
FAT12, FAT16, and FAT32 are all fully supported, with the access control ownership set through the mount point or per the -u option of mount_msdos(8).
NTFS:
Can be mounted read only. See ntfs_3g below.
Here are two additional foreign filesystems that can be mounted through third party packages. These are slow, due to using Filesystem in USErland ("FUSE"), but provide additional options:
ntfs_3g: This package provides NTFS read/write mounts.

exfat-fuse: This package provides exFAT read/write mounts.

Reply With Quote
  #5   (View Single Post)  
Old 2 Days Ago
Zielonykid123 Zielonykid123 is offline
Port Guard
 
Join Date: Nov 2021
Posts: 45
Default

Quote:
Originally Posted by jggimi View Post
Generally, FAT32 is recommended for speed and ease of use, if individual files are under 4GB in size. EXT2 or EXT3 (mounted as EXT2) are recommend when individual files are over 4GB.

Here's the foreign filesystems that can be mounted through mount(8):

EXT:
You can mount EXT2. You can mount EXT3, but the EXT3 journal will not be used -- it will be treated like EXT2. EXT4 read only and w/o the 64bit option.
FAT:
FAT12, FAT16, and FAT32 are all fully supported, with the access control ownership set through the mount point or per the -u option of mount_msdos(8).
NTFS:
Can be mounted read only. See ntfs_3g below.
Here are two additional foreign filesystems that can be mounted through third party packages. These are slow, due to using Filesystem in USErland ("FUSE"), but provide additional options:
ntfs_3g: This package provides NTFS read/write mounts.

exfat-fuse: This package provides exFAT read/write mounts.

Okay, EXT2 would be nice for me. Thank you.
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
first match vs last match ruleset design (pf vs iptables) zelut FreeBSD Security 5 12th July 2009 08:13 AM
tun device zomo OpenBSD General 24 23rd September 2008 11:19 PM
device name qmemo OpenBSD General 2 4th September 2008 11:51 PM
dd: end of device ebzzry FreeBSD General 17 26th August 2008 12:18 AM
identifying device associated with USB device? spiderpig OpenBSD General 2 7th July 2008 05:18 AM


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


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