I have added umask 002 to /etc/profile, but software like git and apache still sets files to 755 instead of 775. Is there a way to force umask 002 for all programs on a machine?
How can I get NTFS5 file system in XP? When I install XP to my PC it shows only format using FAT32 and format using NTFS. Which version of XP contains NTFS5?
We are facing a design "challenge" where we are required to set up a storage solution with the following properties:
What we need
HA
a scalable storage backend
offline/disconnected operation on the client to account for network outages
cross-platform access
client-side access from certainly Windows (probably XP upwards), possibly Linux…
I VM Player running a linux guest and I was wanting to know how do I expand the disk? In the VM player I gave more disk space but I am not sure how to mount/expand/connect the new disk space to the system.
My old disk space was 14GB
[root@localhost ~]# df -h /
Filesystem Size Used Avail Use% Mounted on…
I have an OS X system. I want to use it to put some files on a USB drive and then be able to loan the drive to Mac and XP and Vista users so they can get the files off it.
I also need to wipe the drive clean first to make sure there's nothing sensitive on it by accident because I'm going to be passing it around.
…
We are in the process of pruning our directories to recuperate some disk space.
The 'algorithm' for the pruning/backup process consists of a list of directories and, for each one of them, a set of rules, e.g. 'compress *.bin', 'move *.blah', 'delete *.crap', 'leave *.important'; these rules change from directory…
I'm looking for a tool to maintain the integrity of a filesystem and it's contents using checksums. Effectively storing a list of checksums/filename pairs somewhere on the filesystem in a way that can be verified later if files are somehow damaged or lost.
Git does what I want, but because it stores the contents…
I tried to make a btrfs RAID-1 filesystem in "degraded mode" by following the btrfs UseCases instructions but hit a fatal assertion error. Why is this failing, and is there any workaround?
The instructions I followed are at:
https://btrfs.wiki.kernel.org/articles/u/s/e/UseCases_8bd8.html
The output of the…
I have a CompactFlash card that is used in a custom piece of hardware. WAV files are written to it. Windows doesn't recognize the media and wants to format it, which rules out FAT 16/32, NTFS, UDF, etc. Is there a Windows tool that can determine what filesystem the media is using and possible read the…
We have an external USB 2 drive that we are using as a backup drive for our configuration. We use rsnapshot for the backups. It uses a few standard commands for managing snapshots:
rm -rf: deletes expired snapshots
mv: moves older snapshots down a slot
cp -al: duplicates last snapshot to new slot
rsync…
I have a dedicated Ubuntu web server in a cloud environment, and I am looking for a nice way to do automated backups.
I would like to backup some directories with web apps, and all my MySql databases. As for destination: make snapshots every two hours localy, and every six hours to a remote ftp server.…
I'm considering using my 4 GB Kingston DataTraveler USB stick to store my Firefox and Thunderbird profiles for my laptop and desktop PCs.
I want to maximize performance when using Firefox. The question is: what is the best file system and allocation size for the fastest Firefox profile operation on a…
Hi
I use a script to partition and format CF cards (connected with a USB card writer) in an automated way. After the main process I check the card again with fsck. To check bad blocks I also tried the '-c' switch, but I always get a return value != 0 and the message "FILE SYSTEM WAS MODIFIED" (see…
I'm working on this emergency open wi-fi network project and it includes a local website (nginx + MySQL). In order to eliminate SPOFs, we're going to setup at least two of everything (server, switch, router, etc.).
This network is thought to work when an earthquake strikes and it's very likely to…
I just bought from eBay a Kingston 32GB microSDHC that was advertised as defective. The seller said that there could be formatting problems or with transfer of large files.
Unfortunately, when I got it, it was a total mess.
My Nikon camera doesn't read it at all (OK, maybe it doesn't support…
After failing to copy a file bigger than 4G to my 8G USB flash drive, I formatted it as ext3. While this is working fine for me so far, it will cause problems if I want to use it to copy files to someone which does not use Linux.
I am thinking of formatting it as UDF instead, which I hope…
When I try to lunch my MacBook Pro I can see a progress bar on loading screen. It goes to 1/15 or something like this and then it shut downs - I cannot reach even login screen. It happened to me 2 months ago, I have 'fixed' this by formatting my hard drive and installing OSX (Lion) again.…
I am using Postgres to store a variety of application data for a webapp. Part of the application involves storing and retrieving user uploaded files. I am storing the files in the filesystem with some associated metadata in the database.
I am trying to come up with a backup and…
I have DMG I need to mount and write a file to. When I mount it, finder shows the root and all as read-only.
Then I discovered 'mount -w'. But when I run that, I get 'mount: unknown special file or file system.'
How can I mount this disk image as writable, or force a file into…
I need to implement a distributed storage system for a set of nodes(devices) connected in a mesh network.
So what basically my design goals are:
The storage system should be capable of handling dynamic entry and exit of nodes.
Replication (for fault tolerance).
For this i am…
I'm going to be building a fancy new desktop soon, and I want to experiment with file systems. I know that ext3 is the most common for linux, but what about ext4, or zfs? Are their any pros or cons to certain ones?
I won't be doing anything spectacularly off the wall, just…
So, I've been reading several articles around ServerFault as well as google. (For Example, this link)
My Requirements are very similar to the link above, however i'd like to also have dynamic or at least resizeable file volumes, so if necessary i can add 4-5 servers to the…
I'm not sure if I should be asking this here or on StackOverflow, but here goes:
I'm part of a team maintaining a document management application, and I'm trying to figure out Windows file locking permissions. We use a utility somebody downloaded years ago called…
I have a very small and quite old hard drive disk, about 32G.
On to this disk I have copied a largish tar file, about 5G.
When I run md5sum to generate a checksum on this file I repeatedly get different results (on the same machine and the same file). This…
I have a brand new Transcend StoreJet 25M3 (external HDD) mounted to MacBook (Leopard 10.5.8) at /Volumes/Transcend. I copied some data from my old Windows (XP) machine on it, and now, after cleaning some stuff up, I wanted to delete some directories, but…