2
votes
1answer
24 views

How to add partition table to existing EXT4 filesystem

I have software RAID6 on 8x3TB disks (18TB), there is filesystem od device /dev/md1, but EXT4 can`t be bigger than 16TB so there is 2TB of free space. I would like to use this space. My first idea was ...
0
votes
1answer
26 views

Best parameters for ext4 filesystem for storing virtualbox disk images

I have partition, which I'm going to use for keeping VirtualBox disk images (VDI, or may be VMDK). They are fixed-size (not dynamically-allocated) images. There are no other files/directories on ...
-1
votes
3answers
59 views

How to find out capacity for network interfaces?

I could get the capacity for the network interface by lshw, but which file in sysfs is this information stored(i.e. which file in /sys/class/net/eth0/device/ directory)? $ sudo lshw -class network ...
-3
votes
1answer
34 views

manually clearing my ubuntu-based linux tmp folder while booted from a linux live cd [closed]

If it is a temporary folder, then nothing should be required to remain there. Now I'm not looking to cause myself issues and I could just leave well enough alone but there are always folders and ...
-3
votes
0answers
85 views

Is this a filesystem bug? How can I remove this file [duplicate]

Check out in the middle of this output. What is wrong with this file system? root@amt-server:/home/amt# ls -al ls: cannot access .gvfs: Permission denied total 160 drwxr-xr-x 22 amt amt 4096 Mar ...
-1
votes
1answer
24 views

mount hd as a different filesystem [closed]

I guess this question is already answered but could not find the solution. I have a USB hard disk connected to a remote linux machine and I want to mount that hard disk. What would happen if I mount ...
-1
votes
2answers
48 views

What network based file system for linux allows for read only access,remote access and allows for mounting at any time?

I'm brainstorming at the moment, but basically this is what I need: A remotely accessible and mountable file system for Linux That requires no password or key to access. Is read only Allows multiple ...
1
vote
1answer
49 views

Can't rsync files to NFS mount where file has special characters

I am trying to backup a few directories (Millions of files) and a handful (A thousand or so) have special characters. For example, the source file is '78192-File Name ? Name File.pdf' And rsync ...
1
vote
1answer
25 views

Sharing a file system, or how to horizontally scale access to files

My API mostly serves up stuff from the database, but a big part of the product is generating images by combining SVG files with large pattern fills (~50MB tiff files). The API can scale ...
0
votes
1answer
84 views

btrfs: Looking for experience on btrfs error modes on bad sectors / read errors / medium erros

While running a Hadoop cluster that uses HDFS (so data is already replicated 3x) we experience often issues with ext4 because some bad sectors (the filesystem is unable to read or write to them) ...
0
votes
0answers
33 views

Make new files group-writable?

Is there a way to configure a Linux directory such that any time anyone in the group that owns that directory creates a file in the directory, that file will be writable by anyone in that group? I'd ...
0
votes
0answers
54 views

RAID5, unknown filesystem and disk failure

I have an Ubuntu 12.04 machine with 3 disks in RAID5, and the RAID controller is on the motherboard. After almost a year of flawless use, it seems that one disk had a failure. Every time I restarted ...
-1
votes
1answer
47 views

Will rm delete files currently being accessed by web-client?

My web-service running on nginx and php deliver's files using X-Accel-Redirect header to the client, if I use rm /my/folder/*.* how will it handle files currently being accessed/downloaded by clients? ...
1
vote
0answers
41 views

Can NetApp filers/shelfs be directly connected to Linux?

I have a NetApp FAS2050 which is no longer in production. It have 4 disk shelfs. So I wonder: Would it be possible to connect the disk shelfs directly to a Linux host with a LSI adapter, and then ...
0
votes
0answers
41 views

Linux Kernel messages in log - disk write seems to be hanging on database

I was having database issues whereby commits were not completing (PostgreSQL) and it seems to be related to these messages that are filling up my server log: Jan 30 02:29:45 server001 kernel: ...
1
vote
1answer
55 views

Linux RAMFS grows. Does it also shrink?

The RAMFS file system automatically grows as much needed and as long as there is avaiable memory. Removing files from it makes it shrink or it remain at the same size?
2
votes
2answers
88 views

Storing duplicate files efficiently on linux

I host a lot of websites and our system makes it easy to duplicate items in these sites which is handy, but leads to lots of duplicated (and potentially quite large) files. I was wondering if these is ...
1
vote
0answers
56 views

Directories converted to files

Our development team went to start HTTPD and got this: Starting httpd: (20)Not a directory: httpd: could not open error log file /etc/httpd/logs/error_log. Unable to open logs ...
0
votes
1answer
78 views

Why is Ubuntu/Linux /proc/mounts lying to me?

I've got a broken HDD for the rootfs - this probably caused the filesystem to be mounted read-only... however /proc/mounts still says it's mounted rw: $ cat /proc/mounts rootfs / rootfs rw 0 0 ...
7
votes
1answer
158 views

Which block sizes for millions of small files

I have 2x 4TB Disks in hardware RAID1 (it might be a LSI MegaRaid) on Debian Wheezy. The physical block size is 4kB. I'm going to store 150-200 million of small files (between 3 and 10kB). I'm not ...
0
votes
3answers
83 views

File Monitoring on Ubuntu 12.04 Server [closed]

I´m looking for a simple way to monitor critical folders for changes to recognize hacks on a ubuntu 12.04 server. After Days of reading How To´s on different programms I´m a bit confused which way to ...
10
votes
4answers
328 views

last time a filesystem was checked?

What command can tell me the last time that a filesystem was fsck'd? A date would be nice, but I'd settle for the mount count since the last fsck. I've looked all around for this in fsck*, lsattr, ...
3
votes
1answer
69 views

could fsck -Af -M cause corrupt filesystem?

Last night my server encounter "Read-only file system" error. So then I ran "fsck -Af -M" to trying to repair but no use, these are output: fsck 1.39 (29-May-2006) e2fsck 1.39 (29-May-2006) /: ...
2
votes
1answer
38 views

Filesystem on a block device that now has another name?

Here's the scenario: I'm attaching a disk to a KVM guest VM, lets say 'vdb' Now I create a partition on 'vdb' and format it as ext4 (vdb1) I mount 'vdb1' and write some data I unmount the 'vdb1' I ...
0
votes
2answers
100 views

Expandable Linux filesystem w/ redundancy & support for different drive sizes?

I did a bit of research already and didn't come across any filesystems so far that have the following features: Expandability, Redundancy, and the ability to utilize the full capacity of different ...
6
votes
3answers
172 views

Root filesystem filling up, no big files

So im a very new sysadmin, just got out of school and doing my internship. Only problem is that im the only sysadmin in the place and no one to show me the job. Anyway, it's a very small company, ...
0
votes
0answers
29 views

Why does xfs_db show ifree=0 but I can still create files?

Recently we ran into a problem with an xfs file system reporting that it had run out of space, even though there was lots of free space left. Because it is a backup volume, we ran into the 5% of space ...
2
votes
4answers
75 views

Partition required for ext4 filesystem?

I read on the arch wiki that it is not recommended to partition a disk before creating the ZFS filesystem on it. I searched but did not find any such statement about ext4. So my question is: can I put ...
1
vote
0answers
98 views

du, df and ls report wrong free / used space [duplicate]

We have an Ubuntu 12.04 server running on a VMware ESXi host, with multiple partitions, running Zimbra 8 (mta/ldap only). One of partitions is a 30GB partition mounted as /opt/zimbra/data. I had a ...
1
vote
2answers
49 views

How to allow an arbitrary group to mount a file system?

As far as I understood from the mount man page, by default only root is allowed to mount a filesystem. Filesystems with either the user or the users option can be mounted by any user. The owner and ...
3
votes
2answers
345 views

Write once, read many (WORM) using Linux file system

I have a requirement to write files to a Linux file system that can not be subsequently overwritten, appended to, updated in any way, or deleted. Not by a sudo-er, root, or anybody. I am attempting to ...
3
votes
1answer
131 views

Choice of distributed filesystem for intensive reads and writes

I have a series of servers (HP ProLiant, 34 servers) each of which with 500 G of hard drive space. These servers are part of a computational cluster which runs processes that roughly fall into two ...
9
votes
1answer
1k views

How can I recover an ext4 filesystem corrupted after a fsck?

I have an ext4 filesystem on luks over software raid5. The filesystem was operating "just fine" for several years when I was beginning to run out of space. I had a 9T volume on 6x2T drives. I began ...
1
vote
1answer
68 views

low priority linux filesystem

Does anybody know of a some sort of (virtual) filesystem that will run as a low priority i.e. All other regular disk activity will take priority? The reason for this is an application I am developing ...
1
vote
2answers
282 views

How to find cause of main file system going to read only mode

Ubuntu 12.04 File system goes to readonly mode frequently. First of all I have read this question file system is going into read only mode frequently already. But I have to know if it's not caused ...
0
votes
2answers
72 views

Program complains not enough disk space even if the disk space exists

I have an EXT3 partition mounted in ordered data mode. If a power failure occurs when a program is creating files on that partition, I see that space usage reported is normal and I don't see any ...
0
votes
2answers
223 views

Fedora, fsck fails at boot

I'm facing a problem in my server during the startup. This is my actual configuration: 320GB each. Raid1 -> /dev/md127. Working. /dev/sda /dev/sdc 1000GB each. Raid1 -> Use to be /dev/md126, ...
0
votes
0answers
224 views

Direct I/O on Linux

I'm trying to enable Direct I/O on /opt (/dev/sda6, ext4) on Linux Mint 13. What I'm trying is: mount -o dio,rw /dev/sda6 /opt as root. The system responds with: mount: wrong fs type, bad ...
0
votes
0answers
230 views

file system rootfs, which is mounted at /, reached warn status because it is 90% full

I have a dedicated server with OVH. Problem is that i keep receiving warnings that the / is getting full. Yesterday it was 89%, today it is 90% and tomorrow it will probably be 91%. It keeps ...
0
votes
0answers
35 views

How to rearange disks with a new SSD

Here is the problem: I have a Debian server with only 4 disk bays. At the moment there are 4 x 1GB SATA disks in software RAID 10. I'd like to swap one of the SATAs with a 1GB SSD disk and move the OS ...
1
vote
1answer
98 views

Linux: File is not shown in ls but cannot be touched with message “File exists”

I can remember creating this file but it disapeard. But not completely: root@XXX:/etc/vz/conf# ls -al total 0 drwxr-x--- 2 root www-data 0 Okt 1 16:04 . drwxr-x--- 2 root www-data 0 Okt 1 16:04 .. ...
4
votes
3answers
122 views

How to allow SSH logins even when filesystem forced check fails

Intro I'm having a problem with a few servers (CentOS 6.4) in a production environment, the problem is making the servers crash from time to time and we need to actually reboot those server in order ...
4
votes
3answers
155 views

Store multiple versions of large binary file with minimal data duplication (preferably Linux)

I need to store multiple versions of a ~ 150 GB binary file (qcow2) on Linux servers with local storage, and was hoping there is some solution that involves just keeping diffs that can be merged as ...
5
votes
1answer
111 views

Correct usage of /srv on debian systems

I'm a bit confused about what goes inside /srv and looking for good practices about its usage on Debian. Acording to the FHS: "/srv contains site-specific data which is served by this system." ...
8
votes
2answers
308 views

Why “lsmod | wc -l” not equal “ls /sys/module | wc -l”

Why do these two commands return different results? lsmod | wc -l 100 ls /sys/module | wc -l 138
4
votes
1answer
217 views

“No space left on device” error when writing certain session filenames

I have some filenames (session files) that can't be written ("No space left on device"). Other filenames (same directory) are fine. Disk is not full. The filesystem is ext3 PHP is giving an error ...
3
votes
2answers
71 views

Next-gen filesystems: disk space usage log?

From time to time I run into problems when server hard disks (Linux) fill up quickly with lots of small files. When this happens I have to try to figure out how much space is being taken up and where ...
2
votes
1answer
68 views

How long does Linux (by default) cache information about files in the disk?

I'm testing whether some changes I made to some code are effective or not. For this, I need to know how the file system cache normally works. I'm assuming the default is what we're getting, since we ...
1
vote
1answer
64 views

Is there downtime by remount /tmp

Just want to know, Is there any downtime by remounting /tmp filesystem. step 1. mount -o remount defaults,exec /tmp step 2. mount -o remount defaults,noexec,nosuid,nodev /tmp
3
votes
3answers
163 views

Cleaning up junk and logs on unix/linux

I manage some unix systems, and users on my system are creating a lot of junk and littering their work areas. I am running into filesystem full every day. There are many terabytes locked up and is ...