Skip to main content

Questions tagged [resize2fs]

A utility to resize ext2, ext3, or ext4 file systems.

Filter by
Sorted by
Tagged with
4 votes
2 answers
113 views

On this filesystem, there are enough inodes already, I only need more filesystem size: # df -i Filesystem Inodes IUsed IFree IUse% Mounted on /dev/mapper/spinning-backup ...
klaus thorn's user avatar
0 votes
1 answer
39 views

I Im trying to resize my root volume. I already resized the virtual volume inside virtualbox and also reallocated the space with gparted: But undortunately after using lvextend and resize2fs there is ...
shyney's user avatar
  • 113
6 votes
3 answers
2k views

One may help me with this, because its confusing me: I have a 1.8T Disk (it's a VM virtual disk), here a snippet of df: df -TH Filesystem Type Size Used Avail Use% ...
MMAX's user avatar
  • 276
0 votes
2 answers
681 views

Please help me , when I try to increase the partition size in LVM, but when I try it doesn’t work, I do the following: df -h Filesystem Size Used Avail Use% Mounted on udev ...
Глеб Щеголев's user avatar
0 votes
1 answer
530 views

I need to move a Pop-OS installation from a 250GB HDD to a 128GB SSD. So far I have been trying to use GParted (which worked for moving my Ubuntu installation between drives of the same size). The ...
Liftyee's user avatar
1 vote
1 answer
414 views

I'm trying to shrink a filesystem image down to the smallest possible size. I'm okay with resize2fs leaving reserved filesystem blocks in place, but it's leaving about 400Mb of free space in the ...
Gogeta70's user avatar
  • 534
0 votes
0 answers
141 views

Hello i am kinda new with ffmpeg and learning everyday, i am now looking for on how i can compress a video in a smaller size. since i have some 1920x1080 mp4 files with a rediculous high size. For ...
Sam van Viegen's user avatar
0 votes
1 answer
931 views

I have a raspberry pi with a 1TB hard drive. I managed to fill it up, so I purchased a new 4TB hard drive to replace it. I then used software called "Macurim Reflect" to clone the previous ...
johncorser's user avatar
0 votes
1 answer
428 views

sda 8:0 0 400G 0 disk ├─sda1 8:1 0 953M 0 part /boot ├─sda2 8:2 0 7.5G 0 part ├─sda3 8:3 0 1K 0 part └─sda5 8:5 0 391.6G 0 part / I'm having this type of ...
Viktor's user avatar
  • 227
1 vote
1 answer
161 views

I resized an ext4 software RAID1 consisting of two disks sda3 and sdb3 (in rescue mode, i.e. disks are not mounted): e2fsck -f /dev/md126 resize2fs /dev/md126 39G mdadm --grow /dev/md126 --size 40G ...
Vladimir Dobias's user avatar
0 votes
1 answer
218 views

I have a question regarding the enlargement of a partition without LVM. I have already read through some things how to proceed here, but I am still unsure, so I ask the question myself. I have /dev/...
Cyanmodex9's user avatar
0 votes
0 answers
842 views

I created a file to mount as /tmp dir to limit it's size so it cant crash the system. I used mkfs.ext4 on it and it mounts in /etc/fstab. Now I need to increase the size, so I used fallocate again, ...
alchemy's user avatar
  • 807
1 vote
1 answer
10k views

I have an Ubuntu (v20.04) VM in VMWare. I increased (2x from 20G to 40G) the hard disk size. How do I add that space to the file system? From lsblk, I have the following: sda is 40G type disk which is ...
Lindsay's user avatar
  • 21
0 votes
1 answer
633 views

I just added bigger 4TBfrom 2TB ssd to the md0 raid but the size is still the same. I tryed to resize .partition but it says it is busy. Parted is still resizing it on old size. array: Personalities : ...
Delirium's user avatar
  • 378
0 votes
1 answer
5k views

I need to adjust the disk space given for an ordinary directory such as /opt directory. I'd found that the /opt directory allocates the space 4.0G, by using the below command: sudo du -sh /opt I need ...
Nasser_Omar's user avatar
2 votes
2 answers
2k views

I run a bare metal Ubuntu server with several VMs running in a KVM environment. I want to increase the size of one VM from 50GB to 100GB. I ran the following command to increase the nextcloudph-lv ...
kvmhali's user avatar
  • 29
0 votes
1 answer
321 views

After shrinking an ext4 file system with resize2fs M I mounted it to realize it has only 57% used. So I ran $ resize2fs -d 32 -M rootfs-2021-06-28.img resize2fs 1.44.5 (15-Dec-2018) fs has 9698 inodes,...
Philippos's user avatar
  • 13.8k
1 vote
0 answers
488 views

What I'm trying achieve is, a safe shrinking of an ext2 file system and make sure I can cut/shrink the physical partition underneath to a safe minimum (without cutting file system blocks). I have ...
tio78's user avatar
  • 91
1 vote
1 answer
87 views

we have rhel machine with disk sdb , and disk OS is sda before couple days - not sure about the time & date resize2fs was implemented on the disk sdb , so disk sdb expended from 20G to 40G is it ...
yael's user avatar
  • 14k
3 votes
0 answers
797 views

After shrinking a read only filesystem with resize2fs on GNU/Linux, how do i determine the correct partition entry for the shrunken filesystem? Initial partition scheme of remote host: Disk /dev/sda: ...
Torsten's user avatar
  • 31
2 votes
1 answer
4k views

when I try to resize the disk we get that resize2fs /dev/sdb resize2fs 1.42.9 (28-Dec-2013) Please run 'e2fsck -f /dev/sdb' first. so when I try to do e2fsck I get the following e2fsck -f /dev/sdb ...
yael's user avatar
  • 14k
2 votes
1 answer
6k views

I tried the process from this post resize partition on an image file. I didn't succeed in understanding why it goes wrong in my case. I produced a 8GB image using dd. The image contains two partitions....
sugarman's user avatar
  • 313
0 votes
2 answers
2k views

here is my partitions lsblk -o NAME,FSTYPE,LABEL,SIZE,MOUNTPOINT NAME FSTYPE LABEL SIZE MOUNTPOINT sdb 9.1T ├─sdb1 swap 16G [SWAP] ├─sdb2 ext3 512M /boot ├─sdb3 ...
ezak's user avatar
  • 3
2 votes
2 answers
5k views

First, filesystem was backed up and unmounted succesfully. Then, an lvresize was executed, and is already running: lvresize --resizefs --size 1024G /dev/dbdrp/db And shows the output: fsck from ...
msK's user avatar
  • 31
1 vote
3 answers
19k views

I've got a virtual Ubuntu 18.04 server which is running low on disk space. As this is a virtual server I increased the hard disk size in vSphere. I can see the free space in cfdisk but am unsure how ...
AstinTeeb's user avatar