-
Notifications
You must be signed in to change notification settings - Fork 1
Running sudo stratis pool create platter /dev/sda results in the mkfs.xfs error "Filesystem must be larger than 300MB" #523
Copy link
Copy link
Closed
Description
This is on a fresh (set up a few days ago) installation of Arch Linux. I'm trying to set up a new Stratis pool on a 2TB USB hard drive:
[stuart@studlow ~]$ sudo stratis pool create platter /dev/sda
Execution failed:
stratisd failed to perform the operation that you requested. It returned the following information via the D-Bus: ERROR: Error: Command failed: cmd: "/usr/sbin/mkfs.xfs" "-f" "-q" "/dev/dm-3" "-m" "uuid=2a6ec9d7-0679-4b90-a0fa-b4179894b83b" "-d" "noalign", exit reason: 1 stdout: stderr: Filesystem must be larger than 300MB.
Trying to rerun the mkfs.xfs command manually results in the same error message - it appears that /dev/dm-3 points to a partition that's only 16MB. Some diagnostic info:
[stuart@studlow ~]$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sda 8:0 0 1.8T 0 disk
└─stratis-1-private-2a6ec9d706794b90a0fab4179894b83b-physical-originsub 254:0 0 816M 0 stratis
├─stratis-1-private-2a6ec9d706794b90a0fab4179894b83b-flex-thinmeta 254:1 0 16M 0 stratis
├─stratis-1-private-2a6ec9d706794b90a0fab4179894b83b-flex-thindata 254:2 0 768M 0 stratis
└─stratis-1-private-2a6ec9d706794b90a0fab4179894b83b-flex-mdv 254:3 0 16M 0 stratis
[stuart@studlow ~]$ sudo dmsetup ls
stratis-1-private-2a6ec9d706794b90a0fab4179894b83b-flex-mdv (254:3)
stratis-1-private-2a6ec9d706794b90a0fab4179894b83b-flex-thindata (254:2)
stratis-1-private-2a6ec9d706794b90a0fab4179894b83b-flex-thinmeta (254:1)
stratis-1-private-2a6ec9d706794b90a0fab4179894b83b-physical-originsub (254:0)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels