-1
votes
1answer
52 views

mv deleted my directory. Why?

I was trying to correct the spelling on a directory, issued a mv command, and the directory is now gone. I'd like to understand--specifically--what happened. Here's the command I ran: mv ...
-2
votes
1answer
49 views

Centos 5.5 [Read-only file system] issue after rebooting [on hold]

I have a virtual server under centos 5.5 (hosted by a japanese company called sakura ) Since yesterday, connection through ssh couldn't be established. I've contacted support center who told me to ...
0
votes
0answers
9 views

Multiple file systems on BeagleBone Black? [migrated]

I'm trying to put together a BeagleBone Black using Debian on the EMMC, a separate MicroSD card and a flash USB disk (but could ostensibly be platter media on USB). My question, simply put: are there ...
0
votes
0answers
68 views

Mount Docker container contents in host file system

I want to be able to inspect the contents of a Docker container (read-only). An elegant way of doing this would be to mount the container's contents in a directory. I'm talking about mounting the ...
0
votes
2answers
51 views

Where should I place compiled source code [closed]

I'm running a virtual server for development purposes. On this server there are several packages which are compiled from source. I know the source of these packages should be placed in /usr/src. But ...
1
vote
2answers
217 views

Transparent compression filesystem in conjunction with ext4

I am trying to test a project that needs compressed storage with use of the ext4 file system since the application I use relies on ext4 features. Are there any production/stable solutions out there ...
3
votes
1answer
35 views

Read only permissions still allows to save

I have a weird permissions situation that I can not explain. Let me explain my users and group and then show you the folder permissions. drwxrwsr-x. 2 jenkinsuser applog 4096 Jul 15 09:56 . ...
0
votes
1answer
37 views

Deleted File, Available Space Did Not Return [duplicate]

On CentOS linux, I just deleted a large log file over 3gb on XFS file system. After deleting the file, the available file space did not return to the drive seen via df -h. Is there anything I can do ...
2
votes
1answer
115 views

How to get best performance: storage cache server (small files) with for 4 disks (3TB's)?

We're preparing a cache storage server for some small files that will be cached for a few days (so HDD will have more reading then writing). All files are rather small around 100 to 500KB a file, but ...
-2
votes
1answer
22 views

Separate io input/output in linux [closed]

My question is really short. Sometimes we have to separate i/o from a machine for example case of remote file system ? Why we do that ?
1
vote
1answer
105 views

How to sync SVN repository with a remote FTP filesystem

I configured a Centos server locally(in-office) which contains a SVN repository with a project. Many developers are working on this repository and making changes. Also I have a remote server which ...
-2
votes
2answers
32 views

Deleting file in tar mounted with archivemount?

archivemount allows rw-mounting tar archives. What happens when I delete a file? Is it actually removed from the tar archive? Is a delete flag set? If the file is actually removed, then I assume the ...
1
vote
2answers
107 views

ext3/ext4 physical block size view

I'm using a suse 11 server with xfs and using "xfs_info /srv" command i seen this. xfs_info /srv/ meta-data=/dev/mapper/vg01-srvvol isize=256 agcount=38, agsize=1964032 blks = ...
0
votes
3answers
67 views

lamp — edit PHP file but doesn't change web output — including die()

Server is standard Linux server on Amazon Web Services. Cent OS 5/Apache/PHP 5.3. No APC. It's worked fine for over a year, but now when I edit some but not all PHP files on the server using vi, the ...
0
votes
1answer
68 views

Moving cpanel location from /usr/local to /home

My /usr partition is almost full, and it seems that the most practical option is to move the largest directory /usr/local/cpanel which is almost 4GB, to /home. Something like: Create link to new ...
-2
votes
1answer
95 views

Shared storage solution for Debian Wheezy [closed]

I need to setup a new infrastructure which provides high available shared storage between debian servers. Our current solution is a "clustered DRBD NFS solution". We have setup 2 virtual file ...
1
vote
1answer
278 views

Loss of data when trying to fix ext4 “group descriptors corrupted!”

When I try to mount an existing disk, I get the message sudo mount -t ext4 /dev/sdc1 /data mount: wrong fs type, bad option, bad superblock on /dev/sdc1, missing codepage or helper program, ...
0
votes
1answer
68 views

Which file system was I using?

This is an odd question of a somewhat forensic nature. I was running a server, which originally had openSuse 11.4 installed, and was upgraded twice (to v12.3 and v13.1). Recently, an update messed up ...
0
votes
2answers
101 views

How to increase inodes? [duplicate]

How can I increase the maximum amount of inodes available on a dedicated server running CentOS 6.5 and ext4? The websites we are hosting create and use millions of small files. We are already hitting ...
3
votes
3answers
225 views

Maintain setgid bit (after bower install or gulp build)

We run web servers where we have the following situation: The www-data user runs the web server and must have read+write access to the files The deploy user deploys all the code The bob and alice ...
2
votes
2answers
194 views

Memory mapping files for a blazing fast webserver on Linux

Is there any simple way of telling Linux to keep a directory of files cached in memory? I realized that Node.Js and Apache are spending most time on file I/O, making users wait if you have a lot of ...
7
votes
3answers
415 views

Install application/HTTP services to “/srv”?

I have been working with a team who used to install all the application and HTTP services like Apache or Tomcat to the '/srv' directory. I suspect mostly in order to keep the installed services ...
3
votes
4answers
686 views

Performance difference between ramfs and tmpfs

I need to setup an in memory storage system for around 10 GB of data, consisting of many 100 kb single files(images). There will be lots of reads and fairly periodic writes(adding new files, deleting ...
2
votes
1answer
54 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 ...
1
vote
2answers
179 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
248 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
48 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 ...
-1
votes
1answer
31 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
115 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
133 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
36 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
246 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
39 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
85 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
74 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? ...
0
votes
0answers
72 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
80 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
127 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
57 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
338 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
239 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
131 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
398 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
100 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
40 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
127 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
290 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
89 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
140 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 ...