Questions tagged [xfs]
XFS is an open source file system for Linux.
61
questions
1
vote
0
answers
487
views
How to repair a XFS filesystem with a dirty log?
I had a server crash while its RAID array was running in a degraded state and now the XFS file system is corrupted. I have read up on how to repair the filesystem but most things I have tried have ...
1
vote
0
answers
81
views
Partition keeps getting corrupted. How to prevent or boot anyway?
I am running RHEL7, and my audit log partition randomly (not often, but often enough to annoy me) gets corrupted, preventing me from booting. How can I either prevent the partition from being ...
13
votes
4
answers
4k
views
Is it worth to defragment XFS on SSD (many files)?
I have quite old mail server (CentOS 6) of 4+ Tb mail in maildirs (so you may imagine numbe of files). It is VM (VMware 7) on SSD storage.
I wonder if I should care for FS fragmentation at all? I can ...
0
votes
1
answer
410
views
Make files truly immutable
I'm currently in the works of adding a third back-up that is Immutable. This all works fine from Veeam > Linux Ubuntu with XFS on a scsi disk. The files are locked for the days that is set in Veeam....
1
vote
0
answers
259
views
xfs acl not preserved after reboot
I'm adding a new xfs partition (/home) to a centos 7 server that has ext3 filesystem.
Old /home is ext3.
After mounting the new partition, I copied the info in the old home to the new home with rsync:...
1
vote
0
answers
462
views
How to set quota per directory/sub-directory in LInux
At the moment I use Oracle VM on a local environment, but the final intention is to utilize it in the server.
Filesystem type is xfs and the OS of VM is Ubuntu but if needed I can install any other ...
2
votes
0
answers
946
views
Cant mount previously created XFS file system in Debian
I am trying to mount a hard drive that has been previously used in another device that had the drive formatted as XFS. I have tried to research the error, but I cant find any solution to the exact ...
0
votes
0
answers
54
views
Disk layout: First 512 bytes are intentionally not used by filesystem(ext, xfs, brtfs) and volume management(lvm,zfs,brtfs), is this a design rule?
I suspect that all modern filesystem(ext, xfs, brtfs..) and volume management(lvm, zfs, brtfs...) intentionally avoid using at least first 512 bytes of the disk or partition,
is this true? I know it ...
2
votes
0
answers
405
views
CENTOS 7.2 + installing docker on OS with XFS file system
We have 12 machines with CentOS 7 servers ( VM servers ) where the root file system is XFS (created with ftype=0, default CentOS setting at the time the system was installed).
And we want to install ...
1
vote
1
answer
4k
views
why this is bad to use XFS file-system without d_type support , regarding to docker
from docker documentation we can see the following https://docs.docker.com/storage/storagedriver/overlayfs-driver/#prerequisites
Warning: Running on XFS without d_type support now causes Docker to ...
0
votes
1
answer
6k
views
How to extend Linux non root partition
There was 3TB EBS volume attached to an ec2 instance. I have increased the volume to 4TB.
I am trying to extending the partition size.
#lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
nvme0n1 ...
0
votes
1
answer
365
views
Corrupt XFS after power failure in Virtual Machine
One of our servers failed and when it came back to life, one of the hosted VMs [CentOS 7] had issues with XFS.
There are 3 volumes, root, /swap and /home, and I was able to xfs_repair the root volume,...
1
vote
1
answer
525
views
changing sunit and swidth in XFS without data loss
we have a medium sized scientific cluster with 32 compute nodes. The head node serves a 54TB storage that is RAID-6. It is consisted of 22 3TB HDDs (2 Parity units) and stripe size of 256K. The NFS is ...
0
votes
0
answers
104
views
Recover XFS partition after writing Ubuntu ISO over it
I usually write my ISO distros on USB pendrives with USB Writer or "dd" command. Accidentaly, I selected a 1TB HD connected via USB external dock station to write an Ubuntu ISO. ISO was about 2GB, but ...
1
vote
1
answer
430
views
Hanging XFS filesystem on encrypted USB device
I have an XFS filesystem mounted from LUKS encrypted partition on a USB device on Arch Linux.
It works fine sometimes, but occasionally hangs (or gets incredibly slow?) for minutes at a time when ...
2
votes
1
answer
302
views
Why an empty directory has large volume?
All the directories below are empty
[user@xxxx ~]$ ls -lah /home/1m
total 387M
drwxr-xr-x 22 foo foo 4.0K Apr 17 22:49 .
drwxr-xr-x 10 foo foo 4.0K Apr 17 22:49 ..
drwxr-xr-x 2 foo foo 9.2M Apr 17 ...
0
votes
1
answer
847
views
Why do an XFS volume need to be mounted in order to resize?
If I have an ext4 volume I can resize it regardless of it being mounted or not using the resize2fs command (supplying the device), but for an XFS formatted partition I would need to mount the volume ...
2
votes
0
answers
378
views
How to format as XFS version 4?
Apparently, my router uses a legacy Linux kernel and can't read / write to XFS5 despite the support page claiming it has full read-write compatibility with XFS.
I currently use Ubuntu 18.10, and I ...
0
votes
1
answer
288
views
xfs formatted USB HDD getting mounted as yaffs filesystem with mount option '-t auto' in mdev automount.sh
working on linux 3.12 kernel on custom board. I am trying to mount XFS formatted USB HDD on board, but on board kernel mounts HDD filesystem as yaffs.
My kernel supports both xfs and yaffs, i need ...
12
votes
2
answers
26k
views
Recreating an XFS file system with `ftype=1`
I have a CentOS 7 system where the root file system is XFS (created with ftype=0, the default CentOS setting at the time the system was installed). Unfortunately, the Docker overlay2 storage driver ...
1
vote
1
answer
2k
views
xfs_repair is stuck - safe to kill it?
Centos 6.9
So, I had two 40TB volumes fail, at least nominally, after reconfiguring the raid they're a part of. The raid volumes are ok, but when mounting them, one reported "can't read superblock", ...
0
votes
1
answer
987
views
CentOS 7 Root Logical Volume Being Checked Every boot
The boot time of my CentOS 7 system is being severely slowed down because FS checks are being performed EVERY time:
Started Show Plymouth Boot Screen.
[ OK ] Reached target Paths.
[ OK ] Reached ...
0
votes
1
answer
217
views
Recovery xfs partitions (after low space, i think)
I don't really know the cause of that failure. I think, it caused by insufficient free space and hard reboot.
So. We have Centos installed on the HyperV's virtual machine. File system is xfs.
After ...
0
votes
0
answers
2k
views
XFS Filesystem Backward Compatibility
I have been running a server for the past couple of weeks with CentOS-7 and it has worked out quite well. The current kernel version is:
3.10.0-514.6.1.el7.x86_64
This machine has 40TB of storage ...
3
votes
1
answer
1k
views
How to find out the last time an XFS partition was mounted
I found the answer to this question, but that only works for EXT* filesystems, there's an answer also for NFS (even though the question tagged ext4). However I'm using XFS so neither of the answers ...
3
votes
1
answer
12k
views
CentOS 7 Linux resize filesystem after partition resize
I am running CentOS 7 on a HyperV virtual server. I recently increased the size of the hard disk from 32GB to 64GB and used GParted Live to extend the partition, which seems to have worked as shown ...
8
votes
1
answer
5k
views
How to grow xfs formated disk?
Here is the disk, it is thin provisioned vmware disk, and has been grown from 300 to 800 GB
*-disk:1
description: SCSI Disk
physical id: 0.1.0
bus info: scsi@2:0.1.0
...
0
votes
0
answers
113
views
How to dump only unused space of XFS linux partition?
I'm trying to recover a file that has been overwritten with an empty one on a WD MyBook, an Ethernet disk (1 TB) using linux (very stripped down) and XFS partitions. The processor is ARM of course and ...
0
votes
1
answer
838
views
Reallocate available space from 1 file system to another?
I am currently using Virtualbox to run this server where my current disk space is:
$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/ol-root 50G 44G ...
1
vote
0
answers
1k
views
Recover mdadm raid5 with XFS
I am trying to recover data from an old Buffalo Terastation that failed. A previous attempt to recover the data by someone else was unsuccesful and I have been left with the following situation.
NB: ...
0
votes
1
answer
241
views
Increasing size of XFS partition
I've installed Fedora Server ARM on the sdcard of my cubietruck, and now the system partition is full, and I want to expand it.
The sdcard have a size of 7.5GiB.
Gerät Boot Anfang Ende ...
1
vote
1
answer
1k
views
how do I access a CentOS 7 file system from Windows 8.1
I am using an Apricorn SATA Wire to connect a hard drive removed from another PC to the USB drive of a Windows 8.1 machine. The external hard drive is from a machine that had both CentOS 7 and ...
1
vote
0
answers
774
views
Alignment with RAID-6 (mdadm) + LUKS + XFS
What I want:
I have a 4x4TB RAID-6 array with mdadm.
I want the storage to be encrypted and plan on using LUKS.
I will most probably use XFS as filesystem.
I will add more disks to the array as ...
0
votes
1
answer
208
views
Linux temporarily thinks disk is full
I’m working on a Linux server with CentOS 6.5 and a NAS NFS on a QDR Infiniband network. I am running a bash script that basically creates a directory, makes symlinks inside of it, and cats together ...
0
votes
1
answer
2k
views
Mount XFS filesystem with userquota in Debian
I'm trying to get userquotas working on a xfs-formatted root partition.
However, I can't mount the partition with userquota enabled:
# mount
[...]
/dev/disk/by-uuid/91f9e241-4878-4c86-868e-...
6
votes
2
answers
5k
views
XFS Incorrect statement of "No space left on device"
I have a server setup of an XFS partition on LVM on a Ubuntu 14.04.1 LTS. While copying files to the home partition, "No space left on device" is displayed.
df -h displays sufficient space:
/dev/...
3
votes
1
answer
6k
views
XFS: Mount overrides sunit and swidth options
I have a 9TB XFS partition consisting of four 3TB disks in a RAID-5 array with a chunk size of 256KB, using MDADM.
When I created the partition, the optimal stripe unit and width values (64 and 192 ...
0
votes
2
answers
6k
views
"mount: special device /dev/sdc1 doesn't exist" but according to fdisk -l, it does
I'm booted into a live usb linux environment, and I plugged in a hard drive. It's listed in fdisk -l as /dev/sdc{,1}, is a 3tb drive, and has a single partition containing an xfs filesystem.
But when ...
1
vote
2
answers
1k
views
XFS in-memory corruption after hibernate
I am constantly getting the below errors with XFS filesystem present on software raid-1 which was then converted to 3-disk raid-5. Errors happen exclusively after hibernate, normally either ...
2
votes
1
answer
356
views
Filesystem for few large files
I am looking for a filesystem suited for a few (no more than 5 or so) large-ish files (ranging from 10GB-100GB). The files are already compressed (sparse support not needed).
The FS will be used to ...
3
votes
1
answer
2k
views
What exactly does the ikeep mount option on XFS do?
I have a laptop with a 512GB SSD in it. I use XFS as my / file system, mounted with noatime,discard,ikeep. The ikeep is because of some mailing list posting about how slow discard and TRIM was on XFS ...
1
vote
1
answer
4k
views
Why directories size are different in ls -l output on XFS file system?
I can't understand why ls -l shows folder size less than block size.
For example:
[user@01 NEW]$ ls -l
total 4
drwxr-xr-x 5 root root 78 Apr 22 00:43 controllers
drwxr-xr-x 14 root root 4096 Apr ...
1
vote
0
answers
384
views
Troubleshooting XFS performance (number of cylinders reported by
I have two servers with identical hardware, both running CentOS 5.8. They both have 40 TB external RAID arrays attached (via eSATA) to LSI MegaRAID SAS 9280 cards. The array has a GUID partition ...
3
votes
1
answer
5k
views
Mounting LVM2 volume with XFS filesystem
Unfortunately I'm not able to access the data on my NAS anymore. I can't figure out why this is the case as I haven't changed anything. So I plugged one of the harddisks in my computer to access the ...
2
votes
1
answer
2k
views
Optimal raid array on Centos 6
I have 4x2TB disks and I want to create a well-performing RAID5 array (server is HP N40L microserver with 8GB RAM, booting from a 64GB SSHD). The OS is Centos 6.3, x86_64.
I created the raid array ...
1
vote
0
answers
257
views
from XEN to VMWare
I have migrated many xm virtual machine to vmware
Using http://www.zoobey.com/index.php/resources/all-articles-list/268-xen-to-vmware
, migrations were very smooth. But now I am struck in a xm ...
2
votes
1
answer
7k
views
Unable to mount device on Linux (XFS)
I am unable to mount a device on my server due to error when mounting, the device is type XFS. The mount command returns message: "mount: structure needs cleaning"
I've tried using xfs_check and it ...
3
votes
3
answers
23k
views
Mount XFS partition on OS X using OSXFUSE
How can I mount an XFS-partition on OS X 10.7 using OSXFUSE?
In their filesystem repository under filesystems-c/unixfs I have found minixfs. However, I'm not sure how to go about installing it and ...
1
vote
2
answers
450
views
Restore XFS system to a point in time
I've just made the mistake of trying to install the proprietoy ATI drivers on 12.04 Ubuntu. It asked me to reboot, which I did, and was greyed with a kernel panic.
Now I'm looking for the undo button,...
0
votes
1
answer
432
views
Dead drive in LVM/XFS configuration
I had three drives in LVM: a 2 TB drive and two 1 TB drives (added later). One of the 1 TB drives -- I believe the third one -- has died. Spanning all three drives was an XFS partition.
Reading: ...