Other Trouble with mounting ext4

Hello everybody.

I'm new in the FreeBSD universe. I have read a few books, especialy MW Lucas ones(great books btw), about FreeBSD, before migrating my server from Debian to FreeBSD. But it isn't going as smoothe as I would like to go :) .

I'm running fresh install of FeeBSD:
uname -a
Code:
FreeBSD doomhammer 12.2-RELEASE-p1 FreeBSD 12.2-RELEASE-p1 GENERIC  amd64

I installed FreeBSD on SSD with ZFS. But I'm having trouble with mounting my second ext4 disk. First ext4 disk mounts without problem. Code used: mount -t ext2fs /dev/ada2p1 /mnt. And I have loaded kernel module into bootloader:
kldstat
Code:
Id Refs Address                Size Name
 1   22 0xffffffff80200000  227ad00 kernel
 2    1 0xffffffff8247c000    2ed30 ext2fs.ko
 3    2 0xffffffff824ab000     a448 opensolaris.ko
 4    1 0xffffffff824b6000   3bad38 zfs.ko
 5    1 0xffffffff82b21000     1860 uhid.ko
 6    1 0xffffffff82b23000     2908 ums.ko
 7    1 0xffffffff82b26000      acf mac_ntpd.ko

When I try to mount my second ext4 disk with mount -v -t ext2fs /dev/ada1p1 /mnt as root I get:
Code:
mount: /dev/ada1p1: Operation not permitted
zroot/ROOT/default on / (zfs, local, noatime, nfsv4acls, fsid 9f914741de45beb7)

Here output of gpart show -pl:
Code:
=>       40  250069600    ada0  GPT  (119G)
         40       1024  ada0p1  freebsd-boot  (512K)
       1064        984          - free -  (492K)
       2048   16777216  ada0p2  freebsd-swap  (8.0G)
   16779264  233289728  ada0p3  freebsd-zfs  (111G)
  250068992        648          - free -  (324K)

=>     2048  625140367    ada2  GPT  (298G)
       2048  625133568  ada2p1  linux-data  (298G)
  625135616       6799          - free -  (3.3M)

=>      2048  3907027087    ada1  GPT  (1.8T)
        2048  3907027087  ada1p1  linux-data  (1.8T)

I can not mount ada1p1(1.8T).

Thank you for all your help and if you need any more output from my server, please do not hesitate to write it here and I will respond as soon a posible.
 
Returns (errors) :( :
Code:
/dev/ada1p1: Linux rev 1.0 ext4 filesystem data, UUID=13c25415-44d2-4001-9e4c-ca6bba46db7b (errors) (extents) (64bit) (large files) (huge files)

/dev/ada2p1 does not:
Code:
/dev/ada2p1: Linux rev 1.0 ext4 filesystem data, UUID=9c26b026-e63d-4a3d-8f16-8a40eaddb9bf, volume name "300GB" (extents) (64bit) (large files) (huge files)


Edit:
Solved the problem with e2fsprogs found here .

fsck.ext4 /dev/ada1p1 found and solved errors on ext4 partition. Mounts without a problem.

Thanks for pointing me in the right direction ;) .
 
Back
Top