Install crash with foreign block size ext4 fs present

Bug #1913882 reported by Marko Kohtala
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lvm2 (Ubuntu)
New
Undecided
Unassigned

Bug Description

I attached a disk from non-x86 network drive to x86 host. It has two RAID partitions on it and an ext4 data partition. I installed lvm2 in hope to get access to the RAID. The data partition has block size of 64KB and x86 was unable to mount it. I suspect the RAID has same blocksize and is causing this problem, but have no evidence.

Here info on the data partition:

kohtala@verkkolevy:~$ sudo tune2fs -l /dev/sdb4
tune2fs 1.45.5 (07-Jan-2020)
Filesystem volume name: <none>
Last mounted on: /shares
Filesystem UUID: 77c9c286-fda8-43ca-9353-671ea3baf1dc
Filesystem magic number: 0xEF53
Filesystem revision #: 1 (dynamic)
Filesystem features: has_journal ext_attr resize_inode dir_index filetype extent flex_bg sparse_super large_file huge_file uninit_bg dir_nlink extra_isize
Filesystem flags: unsigned_directory_hash
Default mount options: (none)
Filesystem state: clean
Errors behavior: Continue
Filesystem OS type: Linux
Inode count: 45565440
Block count: 45714848
Reserved block count: 0
Free blocks: 968394
Free inodes: 44956388
First block: 0
Block size: 65536
Fragment size: 65536
Reserved GDT blocks: 32
Blocks per group: 65528
Fragments per group: 65528
Inodes per group: 65280
Inode blocks per group: 255
Flex block group size: 16
Filesystem created: Mon Apr 16 01:32:59 2012
Last mount time: Mon Mar 18 08:03:24 2019
Last write time: Wed Jan 13 08:14:12 2021
Mount count: 0
Maximum mount count: 31
Last checked: Wed Jan 13 08:14:12 2021
Check interval: 15552000 (6 months)
Next check after: Mon Jul 12 09:14:12 2021
Lifetime writes: 2737 GB
Reserved blocks uid: 0 (user root)
Reserved blocks gid: 0 (group root)
First inode: 11
Inode size: 256
Required extra isize: 28
Desired extra isize: 28
Journal inode: 8
Default directory hash: half_md4
Directory Hash Seed: ef140d1f-e748-816f-33cd-cea961984b9a
Journal backup: inode blocks

ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: lvm2 2.03.07-1ubuntu1
ProcVersionSignature: Ubuntu 5.8.0-41.46~20.04.1-generic 5.8.18
Uname: Linux 5.8.0-41-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.14
Architecture: amd64
CasperMD5CheckResult: skip
Date: Sat Jan 30 17:27:39 2021
ErrorMessage: installed lvm2 package post-installation script subprocess returned error exit status 1
Python3Details: /usr/bin/python3.8, Python 3.8.5, python3-minimal, 3.8.2-0ubuntu2
PythonDetails: N/A
RelatedPackageVersions:
 dpkg 1.19.7ubuntu3
 apt 2.0.4
SourcePackage: lvm2
Title: package lvm2 2.03.07-1ubuntu1 failed to install/upgrade: installed lvm2 package post-installation script subprocess returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Marko Kohtala (marko-kohtala) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.