0
votes
1answer
42 views

When does sychronizing files between servers get too much to handle? [closed]

Say I was creating a hosted application like wordpress, where people manage their blog. The key point I am focusing on is sychronizing the template pages between all my servers. So each customer ...
1
vote
1answer
33 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
203 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 ...
0
votes
3answers
114 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 ...
1
vote
2answers
984 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 ...
3
votes
1answer
119 views

Does having too many files on a filesystem significantly impact io performance?

My sysadmin is telling me that we should remove old static files from a server and store them in a database instead because having too many files on a filesystem impacts the general performance of the ...
1
vote
2answers
62 views

Fetching all PHP files and store their size

I like to monitor every php file with their size (and if a new file has been added). On my server are more than 200 000 of em so find takes very long. This is what I do: ls -1 --size $(find -P . ...
0
votes
1answer
309 views

file system is going into read only mode frequently

My server file system is going into read only mode frequently. If I reboot my system, It is performing a fsck operation on disks. But, It is exited with exit status 4 ( File system errors left ...
2
votes
2answers
173 views

A same file displays different time stamp and permissions between local file system and NFS

I created a nfs share entry mzhu@zeus:/share$ cat /etc/exports /share *(rw,async,insecure) From the local file system, execute 'ls -al' in /share. The output is mzhu@zeus:/share$ ls -al total 20 ...
0
votes
1answer
85 views

simple Linux alternative to Windows extpart to extend basic system disk without downtime?

On Windows there is Dell's extpart which allows one to extend a basic system disk (NTFS) of a running system without downtime. It looks like this: C:\>extpart.exe ExtPart - Utility to extend ...
0
votes
0answers
74 views

Ubuntu Server - Disk Space is full! Urgent help please [duplicate]

I see that my website is down due to full diskspace. I don't really use much diskspace, lets say maximum 50gb. My server has 1.4tb diskspace, how how did it became full? I really need help, thank you ...
0
votes
1answer
150 views

PXE server - ubuntu setting username/password later - is it possible?

so I am writing a program in mainly C/C++, though I think this question fits under server fault as it is related to the Linux distro Ubuntu. So what I am looking for is a way (possibly hackerish-way) ...
1
vote
0answers
173 views

Ubuntu 10.04 Server stuck at grub prompt

I have a virtualized server running 10.04 LTS that is no longer booting. We had a number of issues with our SAN that abruptly disconnected the storage from the virtual machine infrastructure and ...
6
votes
5answers
9k views

Is there any other reason for “no space left on device”?

I am using Dirvish on a Ubuntu server system for backing up a hd to an external usb 3.0 drive. Until a few days ago, everything worked fine, but now every backup fails with "no space left on device ...
0
votes
2answers
68 views

Filesystem owner changed by mistake [closed]

I ran this command on my ubuntu server 12.04 by mistake: chown someuser / -R On RHEL it would be fixed by this command: rpm --setugids -a Is there anyway to fix it in ubuntu server?
0
votes
2answers
42 views

Craft a file that ignores all writes without being marked as read-only

(Ubuntu 11.04.) I'd like to work around a configuration limit a certain service that writes an append-only file. I'll have that file mounted from a remote machine (say, by NFS, can change this). I ...
1
vote
2answers
1k views

Resize2fs at 81h and counting

Setup: 12x 1TB drives in a RAID6 (MDADM) crypt-setup running ontop of MDADM LVM running on the crypted drives EXT4 on the LVM Background: I added a new drive to the RAID (increasing from 11 to 12 ...
2
votes
1answer
1k views

What's the difference between mountall and mount -a? (Ubuntu, perhaps others)

The mountall man page says "this is a temporary tool until init(8) itself" can do it, basically. Why not just use mount -a? Is there a difference between the two, and if so, which should I use for ...
0
votes
1answer
66 views

4million+ images on a single LAMP stack server

Currently I am trying to come up with a naming convention for files and folders, essentially a method of spreading out 4 million+ images on a server into various directories or whatever. What I am ...
0
votes
3answers
423 views

Filesystem access through web interface

I have an SSH+Samba server so people can access its files from anywhere on the network. I thought it would be also interesting to provide access through a web interface, so they can access the files ...
1
vote
1answer
102 views

Maxed out directories in public folder for rails. What can I do?

We have a rails app that dynamically generates thumbnails on request and saves the result locally to make it faster to serve up the same one again. We use the following url structure: ...
0
votes
3answers
227 views

Force ID of user created by apt-get

Context: I'm automatically installing postgresql-9.1 on an Ubuntu server with apt-get. This creates the required postgres user. The Postgres data is on an external volume that survives reinstalls. ...
2
votes
1answer
353 views

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). ...
0
votes
2answers
1k views

Removing write-protected'ness of a file system from terminal in Linux

I recently saw that my 2GB SanDisk microSD card was mounting as read-only filesystem on my linux (Ubuntu 10.10). I tried changing its property through nautilus, but it went in vain. Also I tried ...
10
votes
5answers
2k views

Why is /dev/urandom only readable by root since Ubuntu 12.04 and how can I “fix” it?

I used to work with Ubuntu 10.04 templates on a lot of servers. Since changing to 12.04 I have problems that I've now isolated. The /dev/urandom device is only accessible to root. This caused SSL ...
0
votes
1answer
160 views

Trade reliability for speed in a slow filesystem

On my box running Ubuntu Server 11.10 I have a rather slow soft RAID6 array on four USB sticks (and no other means for persistent storage). I want a faster filesystem on that box. I'm OK if I'd lose ...
2
votes
2answers
683 views

Hyper-V Ubuntu 10.04, Filesystem suddenly becomes Read-Only?

We are running a Ubuntu 10.04 VM on a Hyper-V system, The VM is dedicated to running one of our web applications. We have enabled the Hyper-V drivers in /etc/initramfs-tools/modules like so: ...
2
votes
2answers
101 views

What is the best structure to save incremental subfolders?

I have 3 different folders containing particular information about sales orders. Everything was working fine but a few days ago I started having an issue about the amount of subdirectories in each of ...
1
vote
5answers
259 views

Synching 2 remote folders

We have 2 Drupal servers that read/write to their own copy of the same folder (the sites/default/files folder for those of you who know a bit about Drupal). Those 2 folders should be in sync. I've ...
11
votes
3answers
3k views

max files per directory in ext4

I manage an application that contains a filestore in which all the files are stored with the filenames equal to their md5 sums. All files are stored in one directory. Currently there are thousands, ...
4
votes
2answers
4k views

How to remove bad disk from LVM2 with the less data loss on other PVs?

I had a LVM2 volume with two disks. The larger disk became corrupt, so I cant pvmove. What is the best way to remove it from the group to save the most data from the other disk? Here is my pvdisplay ...
0
votes
3answers
135 views

Server migration: sync directory

We are currently migrating our servers over to a new platform and I need to keep 2 directories over 15Gb each in sync while testing/migrating services over to our new platform. I have thought of ...
1
vote
2answers
309 views

What file system to choose and mount options to use for serving a datastore to remote ESX server via NFS and ISCSI

I'm creating a shared storage server for ESX servers. The storage server is 2U Supermicro 24-bay rackmount server with 12x32GB Intel X25-e SSDs and 12x600GB Toshiba 10k SAS drives. Both SSDs and SAS ...
0
votes
2answers
229 views

Doubts on /etc/fstab vs /dev content (under Ubuntu 10.10)

I've a question: When I open /etc/fstab file, I see the following content: proc /proc proc nodev,noexec,nosuid 0 0 /dev/sdb1 / ext4 errors=remount-ro ...
1
vote
1answer
122 views

Setup windows share on Ubuntu Server 10.10

I was wondering if anyone could provide me, or give me a link to a easy to follow step by step guide to setting up a share on Ubuntu Server 10.10. Requirements: Need to share the folder /var/www/ ...
4
votes
1answer
1k views

Mount XFS partition with < 4k block size

I have an XFS partition with a 64k blocksize. But I can only mount it in Ubuntu 10.10 when the blocksize is the default of 4k. How can I mount a partition with the larger blocksize? This works: ...
2
votes
4answers
1k views

where are kvm-snapshots stored?

I run several VM's on KVM/ubuntu, which all get started with the -snapshot parameter (the VM's only compute several things which can be destroyed after reboot). Out of the docs I've read, the changes ...
3
votes
1answer
419 views

zfs-fuse in Ubuntu - ARC cache?

I just set up a file server running Maverick, and created a mirrored zpool of 2 2TB drives. In my prior experience with ZFS, it will use all available memory to cache from the drives... but now I'm ...
0
votes
3answers
179 views

On Linux: Directory takes up more space than the files therein

There's a directory on our fileserver (Ubuntu Hardy) that takes up much more space than the files and subdirectories in it combined. I'm checking the directory size with "du" and file sizes with "ls ...
1
vote
1answer
489 views

MDADM Array Being Limited to 2.0TB

I have an MDADM array with four 1TB disks in a RAID5 configuration. Here's the relevant part of mdadm --detail /dev/md1: Version : 00.90 Raid Level : raid5 Array Size : 2929537920 ...
1
vote
2answers
334 views

Can I make an ext3 filesystem recognize (and use) the entire partition?

Using gparted and partimage from SysRescCD I recently made a backup image of the partition containing my Ubuntu installation, deleted all partitions except for the original Windows partitions ...
3
votes
2answers
770 views

Do access logs (from nginx) slow down a website?

Does it slow down a website if your webserver (in my case, nginx) is writing to an access log? I'm mostly wondering if it's noticeable. Plus, what's the point of knowing the user agents / ips that ...
0
votes
2answers
76 views

directory naming explanation

Where can I find an explanation of directory names used in Ubuntu (the whole tree)? Why etc? When do I put my files in /usr/local when in /home/usr when in /usr/local/bin and when in /var/lib/ or ...
3
votes
2answers
93 views

How can I reset the permissions of /bin /boot /etc and /dev to orignal owner, Ubuntu?

I accidentally changed the ownership of the /bin, /boot, /etc and /dev recursively to nobody:nogroup using chown when I misplaced a forward slash! How can I resort the original file ownerships? I've ...
1
vote
2answers
816 views

How can I minimise the size of an ext3 partition (and its LVM logical volume)?

I am using LVM on Ubuntu 9.10 (Karmic). I have a single LVM physical volume (and a single volume group). I have an ext3 filesystem inside an LVM logical volume which I no longer use, but for the time ...
0
votes
2answers
329 views

File Operation not supported on Windows drives mounted on Ubuntu

My Windows drives are automatically mounted in Ubuntu. File operations on Windows drives had been going well until today when creating a directory on a nfts Windows drive is denied: $ mkdir ...
6
votes
4answers
19k views

Change filesystem encoding to UTF-8 in Ubuntu

How to find out what charset encoding is used by current file system and how to change it to UTF-8? EDIT: Here is the output of mount: /dev/sdb6 on / type ext3 (rw,relatime,errors=remount-ro) tmpfs ...
2
votes
4answers
2k views

Bypassing the 32k subdirectory limit (dir_nlink?)

I have run into the 32k subdirectory limit. Some research makes it sound like the dir_nlink filesystem option will remove this limit, but I can't find any documentation on it. Is it available for ...
1
vote
3answers
57 views

Proper location for installing packages?

What is the 'correct' location(s) to install packages/software in a Unix file system? I realize it will vary somewhat depending on the distribution you're using and the package you're installing, but ...
2
votes
2answers
408 views

ext3 file system failures after RAM upgrade

I have just added 2GB of RAM into my laptop and started getting problems with ext3 file system. I have tested the actual memory modules with MemTest86+, and they were fine. This issue also happens ...