Skip to main content

Questions tagged [mkfs]

mkfs is a Linux program used to build filesystems.

12 votes
1 answer
887 views

Apparently, ntfs.mkfs counts one byte less when checking if the block device is large enough; or I have made some kind of mistake. After creating a partition of 2048 512-byte sectors (exactly 1MiB ...
Fivos Theophylactou's user avatar
5 votes
3 answers
665 views

I have a 6TB disk in Debian Linux 12, let's say the disk is /dev/sdd. It's just for data; no parts of the OS are on it. Now I’m trying to use it as a normal disk with the full space in a single ...
chris01's user avatar
  • 1,049
4 votes
2 answers
977 views

When I use mkfs.ext4 to /dev/loop18 I get this warning: 128-byte inodes cannot handle dates beyond 2038 and are deprecated Code: echo y | mkfs.ext4 /dev/loop18 Result: mke2fs 1.47.1 (20-May-2024) ...
ArtEze's user avatar
  • 137
4 votes
2 answers
599 views

I created a mapper device with dmsetup and created a partition table with parted: $ fdisk -l /dev/mapper/vdisk Disk /dev/mapper/vdisk: 511.57 GiB, 549295737344 bytes, 1072843237 sectors Units: sectors ...
chienyan's user avatar
1 vote
1 answer
232 views

How approximately calc bytes-per-inode for ext2? I have 7.3GB storage (15320519 sectors 512B each). I have made ext2 filesystem with block size 4096 mke2fs /dev/sda2 -i 524288 -m 0 -L "SSD" -...
Андрей Тернити's user avatar
0 votes
0 answers
107 views

I'm on Debian Bookworm. I am trying to format my USB drive to FAT32 filesystem. ~$ lsblk -f NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS sdb ...
vrgovinda's user avatar
  • 349
0 votes
0 answers
253 views

There is a 25G /dev/sda6 ext4 partition mounted on /data. I'm trying to make a fixed size filesystem on a file using fallocate, mkfs.ext4, mount: fallocate -l 5G /data/new_storage mkfs.ext4 -E ...
TheAct1on's user avatar
13 votes
3 answers
8k views

I have a small "rescue" system (16 MB) that I boot into RAM as ramdisk. The initrd disk that I am preparing needs to be formatted. I think ext4 will do fine, but obviously, it doesn't make ...
Martin Vegter's user avatar
0 votes
0 answers
200 views

Yesterday, I had an idea of having two root partitions for my arch system, one which would contain packages and system files and another one to store my personal files (music, videos, etc). With that ...
Asmit Das Choudhury's user avatar
0 votes
1 answer
814 views

Trying to put the journal of a big hard drive on a smaller, but faster SSD. $ sudo mkfs.xfs -N -l logdev=/mnt/data-journal/journal /dev/sdc unable to get size of the log subvolume. $ sudo mkfs.xfs -N ...
martixy's user avatar
  • 123
14 votes
3 answers
4k views

Is there a difference between sudo mkfs -t ext4 /dev/sdb and sudo mkfs.ext4 /dev/sdb? Or is the latter just an alias of the former?
muggi's user avatar
  • 769
3 votes
1 answer
295 views

I want to make ext2 file system. I want to set "number-of-inodes" option to some number. I tried several values: if -N 99000 then Inode count: 99552 if -N 3500 then Inode count: 3904 if -N ...
Андрей Тернити's user avatar
0 votes
1 answer
1k views

As the title states, grub is unable to recognise my ext4 partition: GNU GRUB version 2.06-3~deb11u5 Minimal BASH-like line editing is supported. For the first word, TAB ...
ManSamVampire's user avatar
1 vote
1 answer
496 views

I am trying to find the creation date on an ext2 file system. I seem to get a current date using dumpe2fs. The problem is that the original ext2 superblock specification does not contain such ...
Panagiotis Stefanis's user avatar
0 votes
1 answer
1k views

I know I used to be able to do it, and its frustrating I cant recall. I want to write an ext4 filesystem to a disk image in a folder. I don't want to re-partition my drive, I just need the filesystem ...
j0h's user avatar
  • 3,979

15 30 50 per page
1
2 3 4 5
10