You are not logged in.
Pages: 1
HI!
I have recently installed arch on my older laptop.
I made 3 partitions with dos partition table:
100M sda1 for boot
235GB sda2 for /
3.5GB sda3 for swap
Both fdisk and gparted says it is 235GB partition but baobab and df says it is 8.4GB disc and its almost full.
Is this issue related to dos partition table or is it due to wrong system configuration?
Offline
I made 3 partitions with dos partition table
What command / tool did you use ?
As root run
# lsblk -f
# fdisk -land post output.
If you're unsure how to get those outputs on the internet, see https://wiki.archlinux.org/index.php/Li … in_clients
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
What command / tool did you use ?
fdisk
# lsblk -f
NAME FSTYPE LABEL UUID FSAVAIL FSUSE% MOUNTPOINT
sda
|-sda1 vfat 7FCE-9332
|-sda2 ext4 b641b57e-830d-4d22-b696-c489bfd4e954 86.1M 94% /
`-sda3 # fdisk -l
Disk /dev/sda: 223.58 GiB, 240057409536 bytes, 468862128 sectors
Disk model: KINGSTON SUV400S
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x7df6a92d
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 206847 204800 100M 83 Linux
/dev/sda2 206848 461580287 461373440 220G 83 Linux
/dev/sda3 461580288 468862127 7281840 3.5G 83 LinuxOffline
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytesThose values match a drive using 4K sectors aka Advanced Format .
Such drives often have big disadvantages when used with small files.
please post
dumpe2fs /dev/sda2 -hDisliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
please post
dumpe2fs /dev/sda2 -h
Filesystem volume name: <none>
Last mounted on: /
Filesystem UUID: b641b57e-830d-4d22-b696-c489bfd4e954
Filesystem magic number: 0xEF53
Filesystem revision #: 1 (dynamic)
Filesystem features: has_journal ext_attr resize_inode dir_index filetype needs_recovery extent 64bit flex_bg sparse_super large_file huge_file dir_nlink extra_isize metadata_csum
Filesystem flags: signed_directory_hash
Default mount options: user_xattr acl
Filesystem state: clean
Errors behavior: Continue
Filesystem OS type: Linux
Inode count: 524288
Block count: 2097152
Reserved block count: 104857
Free blocks: 132826
Free inodes: 330666
First block: 0
Block size: 4096
Fragment size: 4096
Group descriptor size: 64
Reserved GDT blocks: 1023
Blocks per group: 32768
Fragments per group: 32768
Inodes per group: 8192
Inode blocks per group: 512
Flex block group size: 16
Filesystem created: Sat Jul 13 12:01:18 2019
Last mount time: Thu Oct 25 18:05:50 2012
Last write time: Thu Oct 25 18:05:50 2012
Mount count: 6
Maximum mount count: -1
Last checked: Wed Oct 24 18:05:24 2012
Check interval: 0 (<none>)
Lifetime writes: 8 GB
Reserved blocks uid: 0 (user root)
Reserved blocks gid: 0 (group root)
First inode: 11
Inode size: 256
Required extra isize: 32
Desired extra isize: 32
Journal inode: 8
First orphan inode: 8578
Default directory hash: half_md4
Directory Hash Seed: 569e7bcb-23d3-418f-94d4-05dc767e18f3
Journal backup: inode blocks
Checksum type: crc32c
Checksum: 0x749399f6
Journal features: journal_incompat_revoke journal_64bit journal_checksum_v3
Journal size: 64M
Journal length: 16384
Journal sequence: 0x000009c1
Journal start: 1
Journal checksum type: crc32c
Journal checksum: 0x4727b88aOffline
2097152×4096÷(1024×1024×1024)=8The filesystem is 8GB in size while the partition is 235GB. How did you create the filesystem?
Offline
I believe it was
mkfs.ex4 /dev/sda2 Offline
Please ensure you have a backup of all the data and that sda2 is not mounted then the following should expand the filesystem to fill the partition. Seem man resize2fs for more details.
resize2fs /dev/sda2Offline
Please ensure you have a backup of all the data and that sda2 is not mounted then the following should expand the filesystem to fill the partition. Seem man resize2fs for more details.
resize2fs /dev/sda2
Thanks, it worked out
Offline
Did you use to have some ext4 partition there before?
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
Did you use to have some ext4 partition there before?
yes, I had encrypted ext4 partition
It was about 230GB though
Offline
Pages: 1