Questions tagged [ext4]

The ext4 or fourth extended filesystem is a journaling file system for linux/*nix developed as the successor to ext3.

469 questions
2
votes
2 answers

Centos 7 - fstab does not mount some partitions, but mount /dev/sd* does

i have a Virtual Machine with Centos 7, on which i want to mount some ext4 partitions. Physical disks are actually hard disks provided by vSphere. All disks are located on the same NAS - so the three working ones (a,c,d) are virtually identical to…
2
votes
1 answer

Make Ubuntu Server use less swap and more actual RAM

I have a server with 128 GB of RAM and a 100 GB hard drive in it. It seems to use pretty much swap instead of using actual RAM when rsyncing disks. I found other questions on Stack Overflow with similar problems, but none had a real solution. This…
Amon Bune
  • 63
  • 1
  • 6
2
votes
1 answer

Uneven disk load with mdadm RAID5 and ext4 filesystem with journal

Recently I created a RAID5 with mdadm: mdadm --create /dev/md0 -l 5 -n 4 -c 512 /dev/sdb /dev/sdc /dev/sdd /dev/sde The usual tuning to speed up the initial sync: echo 32768 > /sys/block/md0/md/stripe_cache_size Then I left it alone to finish…
PoC
  • 236
  • 1
  • 8
2
votes
0 answers

Partition mounted and unmounted simultaneously

Edit: Narrowed this down to virtfs mounts. To jump to the question, mount says the partition is already mounted and umount says that the partition is already unmounted, and fsck agrees with mount. Cannot fsck, mount or umount the partition without a…
Adam
  • 196
  • 5
2
votes
1 answer

"Operation not permitted" on files over 2GB on ext4 filesystem

I have a bit of a mystery. I have an Ubuntu 17.04 system (upgraded from 16.04 LTS) using ext4 as it's main filesystem. I used wget and curl to download a 2.3GB iso, but i cannot mount it. In fact, I cannot do any operation on it: md5sum, wc, cat,…
Mike Weller
  • 51
  • 1
  • 6
2
votes
1 answer

How to inject a file into a Linux VM running on Hyper-V?

I am trying to create a CentOS image template and my environment requires me to add a route file to the networking which would be different on each deployment. Is there any way for me to inject a file from a Hyper-V host to a ext4 formatted Linux…
Bilbo Bongo
  • 99
  • 1
  • 8
2
votes
1 answer

MD, partially grown from RAID1 to RAID5 but was interrupted, disks removed, and now file system is FUBAR

I know that I made some stupid moves to get into this situation, please don't remind me, and don't ask why :-/ I have this Synology DS1515+, with 2x6TB drives in SHR, which means MD RAID1, with LVM on top. After starting a RAID1 to RAID5…
Esben von Buchwald
  • 281
  • 1
  • 4
  • 10
2
votes
2 answers

no space on ext4 partition left with files not summing up to used space and with sufficient inodes

On a newly created machine, its root ext4 partition has allegedly run out of space. When summing up all files on the partition, the total used space is not close to the used space as noted by df. inodes are sufficiently available and reserved space…
THX
  • 243
  • 2
  • 10
2
votes
1 answer

Extend ext4 partition past 16TB Debian

Im running debian jessie 8.6 on my server and i have extended my raid array past 16TB... 19TBish total. however i cant extend the partititon since its EXT4 32 instead of ext4 64. resize2fs: Size of device /min/disk is too big to be expressed in 32…
2
votes
2 answers

Best filesystem setup for 'partial data loss: ok' scenario

I'm searching for the best way to set up filesystems/partitions for a storage server with the specialty that partial data loss is not a problem. Lets say I got 4x3TB disks and I want to arrange them in a way that a) I got the maximum space available…
Anonfunc
  • 33
  • 4
2
votes
0 answers

Optimize Disk Mount Parameters for EXT4

I am looking to optimize the mount options when mounting a disk to write large files to under linux (Ubuntu 16). Specifically, mounting an external EXT4 USB 3 drive to backup VM files (~10G) and also copy over video files (~8G). Copying from an…
Gordo
  • 73
  • 1
  • 6
2
votes
2 answers

Recover the file system from a corrupted RAID1

TL;DR How to recover the ext4 file system from a corrupted RAID1 partition? My situation I have one failed disk that belonged to an RAID1 array on a Synology DiskStation, the other one is lost. Using ddrescue I've copied most of the relevant…
Jakub
  • 123
  • 1
  • 5
2
votes
1 answer

Ext4: how to prevent hard links?

Our backup system duplicity does not support Linux hard links. To prevent data loss, I want to enforce that no hard links exist on our systems. AFAIK, there is no ext4 mount option to disable hard link functionality. I could remove the ln utility…
Willem
  • 2,872
  • 4
  • 28
  • 35
2
votes
1 answer

fsck.ext4 error after re installing iptables

I removed iptables, installed it again and rebooted my centos server ; after that my access to the domains on server has denied. When I checked console There was an error: fsck.ext4: No such file or directory while trying to open …
SAM
  • 123
  • 3
2
votes
1 answer

SSD fstrim on CentOS 6.x with software raid5

I have some CentOS 6.x servers. They have software raid1 and fstrim works well there. On one of the servers, I decided to do software raid5 and ext4. I can mount it with discard and there is no error message. However if I decide to run fstrim, I get…
Nick
  • 826
  • 2
  • 15
  • 42