Questions tagged [xfs]

XFS is a file system originally for SGI's IRIX OS, but is now available for Linux. It is known for handling large files and large file systems well, one of the few Linux file systems that can handle partitions over 16.8TB.

XFS is a file system originally for SGI's IRIX OS, but is now available for Linux. It is known for handling large files and large file systems well, one of the few Linux file systems that can handle partitions over 16.8TB.

332 questions
2
votes
0 answers

Corrupt XFS header

On my file server I ended up growing the RAID (5) and then I went ahead and deleted and remade the partition holding the XFS filesystem. I used Parted to do this. After parted ran I tried to mount the filesystem but it failed with a bad…
2
votes
1 answer

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 isn't possible in this case. I want the users to have only write permissions on log files. The problem is, that write permissions…
metalhead
  • 23
  • 4
2
votes
1 answer

When I mount an XFS snapshot that was frozen, do I need to unfreeze it?

I'm snapshotting an XFS EBS volume, freezing it first. When I mount the snapshot as a new volume on a different instance will I need to unfreeze the volume before it can be used, or will it not be frozen after mounting it?
andy
  • 159
  • 1
  • 10
2
votes
1 answer

XFS disk becomes unavailable after a while

Ubuntu 12.04 (but the same was on 11.10 before upgrading) WD MyBook, 2TB, no RAID (or RAID0, not completely sure, anyway no mirroring, both 1TB disks are in use, mounted as a single device). Formatted to XFS, normally used for big movie…
Guard
  • 121
  • 4
2
votes
1 answer

Debian package performance on XFS, btrfs, ext3, ext4

I did 4 clean installations of debian 6 and measured time of installing some average virtual package. FS options are default. time apt-get install build-essential I got very strange results (min:sec, less is faster): XFS: 3:12 btrfs: 2:45 ext3: …
ujifgc
  • 186
  • 1
  • 10
2
votes
3 answers

Raid-5 Performance per spindle scaling

So I am stuck in a corner, I have a storage project that is limited to 24 spindles, and requires heavy random Write (the corresponding read side is purely sequential). Needs every bit of space on my Drives, ~13TB total in a n-1 raid-5, and has to go…
Bill N.
  • 123
  • 1
  • 5
2
votes
1 answer

get mkfs.xfs options from existing xfs filesystem

I set up a new server last week, did some testing with different mkfs.xfs options on mdadm raid5, i finally found some statisfying mkfs options. Now i am about to set up a new server having exactly the same disk setup Unfortunately i did not write…
Niko S P
  • 1,182
  • 8
  • 16
2
votes
4 answers

Store and backup 200 million small files

My disk are 10x1TB SAS 7200 RPM in a RAID 10 with a MegaRaid 9260 hardware controller with cache/BBU. This results in a 4.6TB RAID 10 volume. hdparm -t (when device is empty) results in 500MB/s. RAID chunk size is 64KB, filesystem block size is 2KB…
cedivad
  • 690
  • 3
  • 13
  • 25
2
votes
1 answer

How can I check whether 64-bit inodes are used in an existing XFS filesystem?

Some of my users have had trouble with software (on Scientific Linux) that cannot list directory contents when accessing an XFS filesystem mounted with the "inode64" option. So I have copied the data to a freshly created XFS filesystem without this…
Ben
  • 153
  • 2
  • 10
2
votes
3 answers

NFS / DRBD / XFS Performance issues

we have a NFS sitting on top of XFS and drbd which delivers us a horrible performance (about 1MB/s read / write as shown in iostat/iotop) the xfs volume properties are: meta-data=/dev/drbd0 isize=256 agcount=4, agsize=52427198 blks …
tmsmaster
  • 21
  • 1
  • 3
2
votes
2 answers

Can I use blockdev --setra on a formatted device or exisiting RAID Array?

I have an existing RAID Array and I want to increase the readahead setting. But the device has already been formatted and contains data that I cannot afford to lose. I'm unfamiliar with the blockdev command. Is it safe to run blockdev…
AlanZ
  • 526
  • 4
  • 6
2
votes
2 answers

Hardware RAID controller set to 256kB stripe size, but XFS to 4k block size

Is this configuration ok? I've read that the stripe size should match the block size. I am mostly storing 8-30GB single files that are read sequentially. What should I adjust, and how? Ubuntu doesn't let me create a block size greater than 4k. …
ensnare
  • 2,212
  • 7
  • 24
  • 40
2
votes
1 answer

Corrupted XFS and no way to xfs_repair

One of my hosted server has some XFS problems. after the last crash, some of my RRD folders got corrupted. example (sorry, it's in french): # rm * rm: impossible de supprimer « create_rrd.sh »: La structure a besoin d'un nettoyage rm: impossible de…
Julien Vehent
  • 3,017
  • 19
  • 26
2
votes
1 answer

Resize XFS Partition (Increase)

I'm new to xfs and was wondering how to increase the size of /var and /home, I'm guessing xfs does not simply increase in size as needed... Filesystem Type Size Used Avail Use% Mounted on /dev/sda1 ext3 4.0G 418M 3.6G 11%…
Ian
  • 335
  • 1
  • 3
  • 19
2
votes
3 answers

Linux (NAS) Permissions problem (Permission Denied)

This is probably easier to show than to explain... -bash-3.2$ id uid=501(admin) gid=503(admin) groups=100(users),501(admins),503(admin) -bash-3.2$ groups admin users admins -bash-3.2$ ls -l total 8 drwxrwxrwx 78 admin www 4096 Dec 9 09:02…
calumbrodie
  • 192
  • 1
  • 3
  • 12