The tag has no usage guidance.

learn more… | top users | synonyms

9
votes
3answers
726 views

What filesystem metadata operations are actually journaled in ext4 & xfs?

I can't find a simple, straight answer about which filesystem metadata operations are actually persisted to the ext4 & xfs filesystem journals. Note that I am not inquiring about what POSIX ...
7
votes
2answers
3k views

Restrict file access to append only

I have a directory with log files and I'm putting logs from script launched by users into them. Logging with syslog doesn't seem possible in this case. (non-daemon rsync) I want the users to have ...
6
votes
1answer
4k views

What is the difference between a symlink and binding with fstab?

In Eric Hammond's article Running MySQL on Amazon EC2 with EBS he shows how to add a second drive (/vol/) and then progresses to move mysql's config and data there. /sdh gets mounted as /vol by ...
6
votes
1answer
1k views

Is xfs_fsr safe to interrupt?

Is it safe to interrupt (Ctrl-C) a long running xfs_fsr job? I'm attempting to defragment a very large XFS volume.
6
votes
0answers
61 views

md raid5: translate md internal sector numbers to offsets

TL;DR summary: Translate an md sector number into offsets(s) within the /dev/mdX device, and how to investigate it with xfs_db. The sector number is from sh->sector in ...
5
votes
2answers
922 views

xfs disk usage is 15-30% bigger than the files

xfs seems to use 15-30% more disk space than the files require: # du 0 . # dd if=/dev/zero of=test bs=1M count=5k 5120+0 records in 5120+0 records out 5368709120 bytes (5,4 GB) copied, 10,527 ...
4
votes
1answer
190 views

218TB XFS LVM filesystem. 144TB Free. Error message “No Free Space Left on Device”

I have a giant 218 TB RAID6, across LVM. It is actually 2 separate RAID6s joined together through LVM to form one giant RAID6. df -h shows all space was available, and I mounted to /share. I wanted ...
4
votes
1answer
861 views

Resizing logical volume with no free extents but with free disk space

I have a 7.9 TB logical volume formatted with XFS filesystem. I have 8 1 TB RAID devices as physical volumes, and 1 volume group that contains all of these devices. I have 2.5 TB free space on my ...
4
votes
2answers
407 views

Resize XFS home directory in LVM

I am desperately trying to increase the swap space available to my server from 4GB to 16GB, however at present XFS + something is making this impossible. I have a single SSD hosting the OS (CentOS ...
3
votes
1answer
64 views

How to list all inodes and blocks in file system which are available for unprivileged user

I'm trying to list all inodes and blocks in certain file system which are available and unused for unprivileged user. I tried stat -f but from what I've read it list nodes and block available for all ...
3
votes
1answer
113 views

Copying a file that is written at the same time

This related question can't solve my exact problem, so I'm writing a similar question. My scenario is the following: a program (run by wine) writes to a file sized about 10-500 KB. About 1 KB ...
3
votes
0answers
556 views

Which file system (among XFS, BTRFS and EXT4 only) does provide the best data resilience to disk corruption? [closed]

Question: Given these three filesystems: XFS, BTRFS and EXT4, I'm wishing to know which does provide the best data resilience to data corruption in a setup without RAID. And, of course, why? ...
2
votes
1answer
118 views

Extend XFS parititon ( xfs_growfs )

Here are the partitions of my server : NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 54.6T 0 disk ├─sda1 8:1 0 1004.5K 0 part ├─sda2 8:2 0 19.5G 0 part / ├─sda3 ...
2
votes
1answer
964 views

EBS Volumes Mounted On Wrong Directory After Reboot

I have three EBS RAID 10 volumes in my /etc/fstab on an Amazon AMI hosted with AWS/EC2... Everytime I reboot the instance, the volumes get mounted to the wrong mount points. Any ideas on how I can ...
2
votes
1answer
531 views

How to correctly install GRUB on a soft RAID 1?

In my setup, I have two disks that are each formatted in the following way: (GPT) 1) 1MB BIOS_BOOT 2) 300MB LINUX_RAID 3) * LINUX_RAID The boot partitions are mapped in /dev/md0, ...
2
votes
2answers
5k views

Re-partitioning /home partition in CentOS

I have a CentOS 7 system with a /home partition that is too large. I wish to reduce its size but it's XFS so that's pretty much impossible. Since I don't have much user data anyway (only 1 user ...
2
votes
0answers
67 views

How are XFS deltas for xfsdump -l n calculated?

I have a xfs filesystem with many small and a couple very large files (~100GB), its on a lvm2 volume. I want to do incremental backups from it. Is there any computational overhead when using a tool ...
2
votes
0answers
129 views

XFS over iSCSI share with cluster; will fencing cause data corruption/loss?

When using XFS on iSCSI share, where HA is enabled, nodes may be fenced by cluster. Will this result in data loss / corruption / etc. ?
2
votes
0answers
1k views

Unable to mount XFS volume after reboot - unknown filesystem type 'xfs'

I have an aws ec2 instance that's been running Ubuntu 12.04 for a good long while. It has attached to it an EBS volume formatted with xfs. Today after a reboot, I'm unable to mount this volume. ...
2
votes
0answers
278 views

DMX problem with fonts

I have problem with fonts in xdmx: I am starting new X startx -- /usr/bin/X11/Xdmx :1 -display 192.168.0.104:0 -fontpath tcp/192.168.0.102:7100 (II) dmx: Generation: 1 (II) dmx: ...
1
vote
1answer
33 views

Split home partition into 2 (xfs on LVM)

I am using centos 7 and I have a /home mounted on an xfs filesystem on a dedicated LVM partition. /dev/mapper/centos-home 782G 34M 782G 1% /home I want to split this partition to 2 ...
1
vote
1answer
275 views

Use “tune2fs” on XFS filesystem, get “Couldn't find valid filesystem superblock.”

I ran into this message two days ago=: tune2fs: Bad magic number in super-block while trying to open /dev/vdc1 Couldn't find valid filesystem superblock. The system is Ubuntu, a KVM virtual machine ...
1
vote
2answers
402 views

XFS: rm does not terminate, xfs_repair not possible

I have a 500 GByte disk with a single XFS file system on it (EDIT: the OS is on another disk). On this disk I have backup data in the form of multiple hard-linked copies of the original data. After ...
1
vote
2answers
902 views

xfs quota not reliable

I have enabled quotas on an xfs-partition. But it seems to be broken: $ echo asdf >/disk/l/data/avi/foo -su: /disk/l/data/avi/foo: Disk quota exceeded $ quota -f /disk/l Disk quotas for user avi ...
1
vote
1answer
60 views

Unmountable XFS filesystem

I'm a bit hysterical right now because I am unable to mount my external hard drive. I formatted it to XFS about a month ago and moved some files there this morning (a virtual hard drive, among others, ...
1
vote
2answers
717 views

Which file system is better for Ceph?

I've read the Ceph OS recommendations document, but still I have a question. Which file system is better for Ceph? XFS, ext4, or something else?
1
vote
1answer
150 views

mkfs.xfs /dev/custom_dev

I try to format a custom block device with mkfs.xfs in Ubuntu Server 12.04 LTS. In the end terminal prints: cache_node_put: node put on refcount 0 (node=0x1cd7810) cache_node_put:node put on node ...
1
vote
0answers
20 views

what's the best filesystem for small files on mdadm RAID10? [closed]

I need to setup a RAID on my Linux server and I am looking for advise about which filesystem I shall use. These are the type of files I am going to be writing/storing into my system. File size ...
1
vote
0answers
7 views

Extending XFS filesystem CentOS 7 Google Cloud

I have Googled everything, and literally nothing is working. Here is df -h: Filesystem Size Used Avail Use% Mounted on /dev/sda1 10G 7.7G 2.4G 77% / devtmpfs 103G 0 103G ...
1
vote
1answer
40 views

Fast filesystem for virtual backup environments

I know filesystem supporters war is behind the corner and there are plenty of fine tuning guide for each filesystem in the wild, so please stick to the specifications: I'm asking what would you ...
1
vote
0answers
41 views

How can I tell if xfs_repair is stuck or still running?

I have a backup server with ~72TB of space. Only about half of that is used. Earlier in the week I got the following message and directly after the xfs filesystem was unmounted. Mar 15 15:15:47 ...
1
vote
1answer
142 views

Changing label of xfs root file system

I'm running a centos 7 server. I want to change the label of the root file system (xfs). xfs_admin -L "newlabel" /dev/mapper/centos-root fails because it can't operate on a mounted fs. Is this ...
1
vote
0answers
50 views

xfs partition table on RAID array corrupt

So, I'm usually fairly knowledgeable, and with google on my side am able to figure things out. This time however, I'm at a loss for figuring out what to do. background : I have a server I built, ...
1
vote
0answers
259 views

How to defrag XFS file-system if xfs_fsr exits with “no improvement will be made”?

I am trying to defrag a heavily fragmented XFS file-system on a CentOS 6.6 machine: [root@server opt]# xfs_db -c frag -r /dev/md3 actual 598, ideal 215, fragmentation factor 64.05% However, when I ...
1
vote
0answers
77 views

Unmount nested mounts not working after unmounted root of nest

I have a XEN Server, which I can't reboot. My boss has filesystems mounted as such strange way: /mnt/hda1/hda2 Then he unmounted them as such umount /mnt/hda1/ Now he can't unmount hda2 anymore. ...
1
vote
0answers
90 views

How is default readahead value determined

I have two different devices running XFS and the default readahead value set differs between the two disks. Why is that ? How is the default size computed ? Is it device dependent ? I might also add ...
1
vote
2answers
11k views

How do I mount an XFS partition via /etc/fstab and non-root users can r/w to it?

I have 2 XFS partitions I want to mount via /etc/fstab: /dev/sdb1 /media/data xfs defaults 0 2 /dev/sdc1 /media/backup xfs defaults 0 ...
1
vote
1answer
441 views

DD-WRT on WZR-HP-AG300H: Want XFS support; what firmware has kernel 3.8.13-1?

I installed latest DD-WRT firmware to my wifi router WZR-HP-AG300H. I got the firmware from here (05-27-2013-r21676). I'm currently trying to install XFS file system support because my USB hard disk ...
0
votes
3answers
181 views

df -h shows fs size smaller than LV size

I created a LV which it's size is 700MiB . When I mounted the FS, I noticed the df -h shows the filesystem's size is 697MiB. Where did 3MiB go? Could it reserved for the LVM's metadata? The FS is ...
0
votes
2answers
1k views

xfs maintenance mode in redhat 7

In my desktop I installed redhat 7 and after reboot it went to maintenance mode, After entering the password it is not allowing to do a file system scan for root and every time it boots enters to ...
0
votes
1answer
185 views

XFS on Volume Group or Mdadm Raid 0

Im starting to use XFS because I want to create a highly parallel disk array and experimenting on just 2 drives for now. I had thought that if I used a logical volume group to join two physical ...
0
votes
1answer
49 views

XFS increase size

How to increase data size at the expense of the other disk. xfs_growfs without param [from,to] increase. /dev/sda8 45695376 36341884 9353492 80% /data Disk /dev/sda: 128 GB Disk /dev/sdb: ...
0
votes
1answer
44 views

Panic fault when mounting LVM2 volume

I have a CentOS 7 system that I can boot using a live cd. The system HDD's have an lvm2 partition with 2 volumes /root and /home. I can mount /root volume without any problems in the live ...
0
votes
1answer
3k views

File system jfs/btrfs/xfs/ext4 [closed]

I was looking into some of the requirement, where huge amount of recursive files are written and deleted and looking forward if any FS (file system) as such gives advantage on others. I am trying to ...
0
votes
1answer
14 views

fedora 23 update kills XFS-how to install new xfsprogs?

I've been running 4.4.5 and it's been stable. I got the update prompt from Gnome Software and figured WTF I'll run it on reboot. I came back into the room to Fedora in emergency mode prompting for ...
0
votes
0answers
62 views

Unable to mount XFS after rescue, why?

I am facing a strange problem with XFS file system. Below is the exact scenario: I'd a corrupt 2TB disk with XFS (I/O error), so with that decided to rescue data from old disk to new disk. I'd run ...
0
votes
0answers
14 views

What is realtime section and realtime files of xfs?

http://man7.org/linux/man-pages/man5/xfs.5.html The realtime section is used to store the data of realtime files. These files had an attribute bit set through xfsctl(3) after file creation, before ...
0
votes
0answers
29 views

Why Labelling an XFS device doesn't accept spaces

I tried to label my external USB device to "USB DISK" using the following command: xfs_admin -L "USB DISK" /dev/sdb1 but was greeted with a usage screen. Then I tried: xfs_admin -L USB\ DISK ...
0
votes
0answers
163 views

Cannot add noexec to fstab /tmp/

Does anyone know why my Graphical Interface does not load after reboot when I remove " noexec " from fstab? So if I remove the " noexec " from the /tmp/ entry in FSTAB, it will load the GUI fine ...
0
votes
0answers
130 views

xfs directory quota doesn't work

now I have two tasks and I wanna run them in different directory and limit the directory's size. I use xfs's project quota to achieve this. I follow the steps from ...