Questions tagged [xfs]
Questions about XFS filesystem, utilities and other situations where XFS filesystem is relevant.
236 questions
1
vote
2
answers
103
views
XFS mount takes too long at boot
On my backup servers I created XFS LVM volumes for each hosts I backup.
The server is a Lenovo running 930-16i hardware RAID adapter with SATA disks.
When I reboot the server, it sometimes falls in ...
0
votes
1
answer
76
views
Booting in maintenance mode does not show all LVs (for fsck)
This is a follow-up on this question: How to run fsck with LVM
I have a RHEL 9 server which uses LVM on /dev/sda3. There are several LVs on a single VG.
After booting in maintenance mode (rd.break ...
11
votes
1
answer
829
views
df shows 539G used on /apps, but du shows only 47G — unexplained disk usage discrepancy
I have a problem and I don't know what the problem is.
df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda4 5.0G 113M 4.9G 3% /
/dev/mapper/appsvg-...
3
votes
0
answers
117
views
Slow Linux file access to /tmp
time touch /tmp/test.dat
real 0m1.03s
user 0m0.00s
sys 0m1.02s
A full second of sys-mode time to create a file in /tmp. That can become unbearable for ksh scripts that open dozens of files ...
1
vote
0
answers
129
views
SMB writes fail, system thinks a file is a directory
Got a new NAS server I'm testing. It's basically CentOS 7.5.1804 with Areca hardware RAID cards and lots of HDDs, and XFS volumes.
Sporadic copying tests often succeed. But whenever I'm running large ...
0
votes
1
answer
145
views
reflink==always space usage
I've got a large directory structure (email Maildir), with 705430 files, 1719 directories
Using cp -rP --reflink=always $source $destination uses a fair chunk of space, approx 2–5GB.
This is not a CoW ...
1
vote
1
answer
213
views
Boot error / data corruption Redhat 7.9
After rebooting a Redhat 7.9 system, I am faced with data corruption on first partition (dev/sda1)
The System is a VM and last shutdown was graceful from within the OS, no power off, hard stop etc.
...
0
votes
1
answer
184
views
xfs_quota bsoft limit explanation
Using RHEL 8.9, I have xfs_quota applied to each home account folder under /home.
In doing xfs_quota -x -c 'limit bhard=1g ron' /home I can observe for example a cp fail when trying to copy a single ...
0
votes
1
answer
671
views
xfs_quota apply for all users under /home
in RHEL 8.9, I have a 100gb XFS formatted /home partition; all local user accounts in /etc/passwd have their home directories under /home. And all user accounts primary gid is and will always be 100 {...
12
votes
2
answers
3k
views
What's using all the space on a seemingly empty partition?
OS: RHEL8
Filesystem: xfs
I'm guessing that some zombie process is holding the space, but I can't find it.
The problem is with /var/lib/pgsql/14, which df says is using 1.1TB of space:
$ sudo df -T -...
4
votes
0
answers
904
views
copy XFS filesystem to another XFS filesystem on another disk with reflinks
I have a VM with two XFS file systems on two separate virtual disks.
The first XFS is 2.5 TB big and the second one is 1.5 TB big.
The first XFS uses 844 GB storage reported by df -h, but in reality 7....
0
votes
2
answers
3k
views
XFS version 4 vs 5 (RHEL 7 to 8)
In RHEL 7.9 I formatted my large /data volume with XFS 4.5.
In RHEL 8.8 XFS is version 5.0.
XFS v5 in RHEL 8 can mount an XFS v4 file system created by RHEL 7.9, however RHEL 7.9 cannot mount an XFS ...
0
votes
0
answers
208
views
Is this the correct way to shift space from one LVM to another?
I need to move 500G from my RHEL 8 XFS home volume to the root volume. Here's what I have now:
Can someone tell me if this blog post has the correct instructions for doing this?
https://www....
3
votes
1
answer
2k
views
Is it possible to downgrade an XFS filesystem in order for it to be compatible with an older kernel?
Background
I have a system, where I generate an XFS filesystem image on one system, and then use this image in another system. Currently both use CentOS7 (7.9 and 7.8 respectively). This works ...
4
votes
4
answers
3k
views
How to provision multi-tier a file system across fast and slow storage while combining capacity?
I'm hunting for a way to utilise a slow 500GB magnetic HDD alongside a fast 500GB SSD.
I'd like to end up with a reasonable fraction of the two combined [hopefully > 800GB] in terms of capacity, ...
0
votes
0
answers
907
views
How to auto-recover after unclean shutdown?
I have an embedded system that I do not have very easy access to. Although in retrospect, I shouldn't have built it this way, but the only way to shut down the system is to kill power. This works 99.9%...
3
votes
1
answer
772
views
What is the difference between the chattr and setfattr command
At the Veeam Documentation, I read that the chattr and setfattr commands need to be supported:
https://helpcenter.veeam.com/docs/backup/vsphere/hardened_repository_limitations.html?ver=110
I have ...
0
votes
0
answers
1k
views
How do I recover data from xfs and ext4 filesystem
Hi guys I just wanna know if there’s a simple command to recover a simple data file such as vi text in ext4 and xfs filesystem in linux
2
votes
0
answers
5k
views
how to solve `XFS Filesystem has duplicate UUID - can't mount` without reboot?
I use udiskctl to mount my usb disks. From time to time my usb hub has power problem that when I turn on some device using large current, the hub will reset all connections. This results in ...
1
vote
1
answer
803
views
Unable to figure the permissions required by lstat
I am running into this weird permission issue on Debian 10, with lstat call on XFS filesystem. I have been referring to this link to understand how extended ACLs will work
The man page says that ...
1
vote
1
answer
4k
views
Resize an xfs-formatted logical volume group
My partitions currently look like this:
sda 8:0 0 1.8T 0 disk
└─sda1 8:1 0 1.8T 0 part /mnt/storage
sdb 8:16 0 119.2G 0 disk
├─sdb1 ...
0
votes
0
answers
58
views
Buffalo NAS access FILEIO
Alright my Linux gurus, i have a situation. I am trying to recover data from a Buffalo NAS with 12 4 TB drives in RAID 6 totaling close to 40 TB on one array. It shows that the drive has around 36 TB ...
3
votes
2
answers
6k
views
NTFS mount under Linux: Slow transfer speeds
I am migrating my home server from Windows to Ubuntu server 22.04. Some of the data I am migrating is on an NTFS drive and I want to transfer this data to a new (second) drive which is using XFS. ...
3
votes
3
answers
8k
views
Filesystem with checksums?
I have a single hard drive. I want to use a filesystem that will give me less storage space, but as a tradeoff, give me checksums or any other method to help preserve data integrity.
It is my ...
0
votes
1
answer
2k
views
Proper way of extend /opt with lvm and xfs filesystem
I am keen to know more about the proper way to extend /opt after additional hard disk 5GB with lvm and xfs filesystem. Kindly advised. Many thanks.