0
votes
0answers
9 views

Filesystem vs Object Store

Few months ago I created a PHP storage service, that serves as a bridge between our filesystem and web applications via its REST api. File metadata and file path (and "clustering" per storage type) is ...
0
votes
1answer
31 views

What is the correct way to configure a linux installation's partition system?

FIRST Sorry if this is technically a duplicate. i Have searched for the information and was unable to find it in any of the answers or forums. SECOND Since SE likes to close questions that don't get ...
0
votes
3answers
33 views

Caching a file system over the internet

I store all my files on my private server (DSL line, /28 network but still slow, especially the up-stream which is 512kBit). This works well for my smaller files, all my emails, Zarafa etc. But for ...
1
vote
1answer
14 views

Mountpoint for static mounts

I have a new Server with multiple hard drives (four of them). It's running Debian and I am currently installing it. Now I want to mount the HDDs according to the FHS. I found two possible locations: ...
0
votes
0answers
21 views

overlayfs, merging upperdir and lowerdir

after unmounting the overlayfs, Would it be possible to apply changes saved in upperdir (rw dir) to the lowerdir? (merging changes) Regards
0
votes
0answers
15 views

Userspace manipulation of partition and disk images

On a Linux system, is it possible to use only user-space tools to create and manipulate partition images (which will probably only have ext2 filesystems on them) and then take those partition images ...
2
votes
1answer
50 views

Hidden Files in Linux

In Linux (specifically), what's the difference between making files hidden by adding a "." before the name, or adding a "~" after the name. I know that both work for files, and that only the period ...
1
vote
2answers
49 views

Will a big RAM improve filesystem write IO?

We have hundreds of millions of small files on our server, totally about 500 GB. I'm looking for a way to speed up their creation. Would there be any difference if I get more RAM for that purpose? ...
0
votes
0answers
18 views

edited file not saved, while root, with mounted image

My problem is editing a file in the file system of and Android device. I have provided a short synopsis of how I got the file system off the Android device and mounted it on a Ubuntu PC - but the ...
0
votes
1answer
18 views

Fast splitting of list of files in chunks of the same size (memory)

See title. Assume I have the following list of files and relatives sizes: cat list_of_files.txt: 1243 001.txt 124 002.txt 4132 003.txt 3000 004.txt I want to be able to split into multiple chunks ...
1
vote
0answers
13 views

ext4 superblock checksum?

I'm reading the ext4 superblock, but its s_checksum (offset 0x3FC) is always zero. Also the s_checksum_type (offset 0x175) field is zero as well, however according to ...
1
vote
1answer
22 views

Is there a method of pre-pending one text file to another much larger text file without cat?

I have a 330 Gb file and 10 lines of text I'd like to pre-pend to the file. I don't particularly want to write out all 330 Gb again, just for 10 lines of text. Is there some low level command that ...
1
vote
0answers
22 views

Linux LUKS and choice of filesystem

Which filesystem displays the best performance when running on a LUKS encrypted partition? Does it make sense to use f2fs when the LUKS partition is on an SSD, or does the device-mapper abstraction ...
0
votes
1answer
46 views

Why does Windows lock the files during installation while linux doesnt lock the files

I noticed when a file is executed on Windows (.exe or .dll)for installation, it is locked and cannot be modified, whereas Linux allows user to modify them by delete/edit. Why does Windows lock when ...
0
votes
0answers
19 views

What directory is '//'? [duplicate]

I accidentally typed a couple of backslashes instead of a couple of periods: jwalton@debian-q500:~/openssl-1.0.1f$ cd // jwalton@debian-q500://$ pwd // jwalton@debian-q500://$ What directory is ...
1
vote
1answer
79 views

create a very small filesystem 4k or smaller

I'm trying to create a very small Linux filesystem. Something 4k or smaller. It's for an experiment with backup software that does block level backups. I've got a Linux logical volume that's 4K in ...
0
votes
0answers
68 views

USB disk not auto-mounting in Ubuntu 12.04

It used to, but suddenly now it doesn't. The device shows up in the following: dmesg | tail -1 [394191.758315] usb 2-1.3: new high-speed USB device number 9 using ehci_hcd ...which I know is the ...
0
votes
1answer
25 views

Best way to access ext partion in windows?

What is the most stable and easiest way to get readable access of linux partitions in windows? All software and drivers I´ve found seem to have been dead/inactive for at least 4 years. Native ...
0
votes
1answer
35 views

USB Filesystem that can run executables and can mount on Linux and OS X

I'm looking for a filesystem that I can format a USB drive with that can run C++ executables. Tried FAT32: $ ./main bash: ./main: Permission denied Tried NTFS: $ ./main bash: ./main: Permission ...
0
votes
1answer
28 views

GNU/Linux with a NTFS Drive and Samba?

I have a NTFS drive connected to a GNU/Linux machine, which I use samba with to share on the network. I find that it takes quite long compared to a ext4 file system. Also I have to restart samba: ...
0
votes
1answer
217 views

Change GPT partition file system type with parted

When I created my GPT partitions using parted, I was using ext2 file system type perviously: $ parted /dev/sdc print | grep ^12 12 961GB 1118GB 157GB ext2 msftdata Now I ...
0
votes
0answers
46 views

copying files from linux mint filesystem to ntfs ridiculously slow

Any ideas why file transfer in linux mint is very slow? I'm simply copying from the linux filesystem in the same drive that is partitioned. If it helps I have set the ntfs partition to auto-mount ...
1
vote
1answer
55 views

Case (in)sensitivity issues on a NAS connected to from both Linux and Windows machines

Scenario I have a NAS (Synology DS1813+ based on DSM 4.3). It runs a version of linux, so the file system is (supposedly) case sensitive. I access the NAS with 2 computers. One of them runs Windows 7 ...
1
vote
1answer
59 views

Can I find files through the extended attributes

In Linux can I find files through the extended attributes I define? Since I can find files through its basic attributes like the file's type and others, I wonder if this is possible (because in ...
2
votes
2answers
92 views

How do I mount an SSH folder in linux so I can access it and read/write as if a normal folder?

I have a remote server that I can SSH into. I want to mount a folder that's on that server onto my local linux desktop. Then I want to be able to read/write files there from within my text editor. How ...
2
votes
5answers
103 views

How to access linux disk from windows 7? [duplicate]

I have a computer with Linux installed. And I want to be able to read and write data to its disk from Windows 7. Is there any software or does Windows 7 have any functionality for it built-in? I've ...
2
votes
1answer
45 views

Resize a dd dump without changing partition size

First of all, apologies if this has been asked before. I found a lot of similar questions, but none that completely match my situation. I have a raw disk image made from an ext4 partition on an ...
1
vote
1answer
146 views

Reasoning behind hosting virtual disk images on BTRFS Filesystem

I have been reading about BTRFS and ZFS for a while and while I do appreciate the benefits of CoW when hosting important files I am currently puzzled by the following dilemma: Given that both ZFS and ...
1
vote
3answers
137 views

How do I refresh directory in BASH?

I have a directory, containing files generated by compiler. During each rebuild this directory gets cleaned and, after build process ls gives me empty output. After I cd out of directory and then back ...
1
vote
1answer
76 views

How to format a compact flash disk with ext3 filesystem, when the device is apparently in use by the system?

I would like to format a 2 GB compact flash disk in the ext3 format under Linux (Ubuntu). To do so, I put the flsh card into the flash card reader checked dmesg to see the device is under /dev/sdb ...
1
vote
0answers
42 views

Linux directory becoming a clear plain text file

Did anyone encounter this before? I have a directory called opt which is working previously. Last few days ago, i tried to expand LVM size by using off-line expand. It show success but with some error ...
1
vote
4answers
64 views

Mountable filesystem that automatically splits files

Is there a [virtual-]filesystem that can automatically split files in storage but present them to the user as single files? For example: The user sees: /user/files/10TBfile But it is stored as: ...
1
vote
1answer
138 views

Error using ubiattach

I have a small 'ARMv7 Processor rev 2 (v7l)' powered box running Ubuntu 10.04 LTS with kernel 2.6.37 The environment is a squashfs rootfs with a small RW config area: # df Filesystem 1K-blocks ...
1
vote
2answers
41 views

Using wc on a file while it is used by other program

I am generating a text file that in the end will contain roughly a billion entries. The file is generated by a program that writes to it every couple of seconds. For this it always opens the file and ...
0
votes
1answer
31 views

Formatting harddrive for data storage

I have an SSD and a HDD drive stored on my computer. The SSD is for running programs and the OS and the HDD is for storing media, data, and other things that don't require fast read and write speeds. ...
1
vote
0answers
22 views

Linux - How to change default application for text files with custom extensions?

I do some creative writing and use PyRoom for most of my drafts. I want to save my drafts with a custom extension story(i.e. Persuasion.story) and associate story extension to PyRoom. I want to, ...
2
votes
2answers
203 views

Can I expand the size of a file based disk image?

I created an empty disk image using dd, then I used mkfs to make it a real filesystem image. I am mounting and using it fine. What I need is to be able to expand or shrink this file based disk image ...
0
votes
2answers
32 views

ls -lrt showing file which is not present

When I do ls -lart in my current working directory it shows lrwxrwxrwx 1 root 10004 36 Dec 16 17:59 index.html ->/home/moviebeam/assets/ui/index.html But I cannot see contents of the ...
0
votes
2answers
59 views

How to understand this messages in /var/log/messages?

the messages is: Dec 18 10:08:55 localhost kernel: sdb: Current [descriptor]: sense key: Recovered Error Dec 18 10:08:55 localhost kernel: Add. Sense: ATA pass through information available Dec ...
1
vote
3answers
97 views

How to mirror a filesystem structure but without any content

This is needed for backup purposes. Just the index of the entire fs structure. I can do such image with a FAR plugin. How can the same be achieved in the GNUverse? Mirroring means perfect copy, i.e. ...
3
votes
2answers
127 views

Is there anything faster than `find . | wc -l` to count files in a directory?

Not uncommonly I have to count the number of files in a directory, sometimes this runs into the millions. Is there a better way than just enumerating and counting them with find . | wc -l ? Is there ...
1
vote
2answers
52 views

How to make the system detect hard drives as a designated block? (e.g. /dev/sde)

If I attach a hard drive to the system, and I want the system to recognize this device as a /dev/sde device rather than the default /dev/sdb. How should I do that? Thanks.
4
votes
2answers
77 views

What is file ']' ? How is it created?

I wonder how this file got in my directory? When I run ls -lrt it shows -rw-r--r-- 1 and size 117562 . Can I get any directions for this?
1
vote
2answers
37 views

Relocating Double OS to New Disk

I have a 256GB SSD which is my OS disk. I have 2 OSes in it, Debian and Windows. I want to move to a larger SSD Disk, probably 1TB (again SSD) or 512 GB (SSD). I just have a really nice working two ...
0
votes
1answer
81 views

Setting up Debian file server, looking for advice about what file system to use

I'm currently working on setting up a Debian media and torrent server for my home. Most of my home network is comprised of Macs, and up until now my "server" was two 4 TB hard drives formatted HFS+ ...
1
vote
1answer
22 views

Search for file in drive without filesystem and partitions

I have a drive without any file system or partitions available. I copy there file with dd command. Is there a program which can search such drive for file headers or something like this and thus ...
1
vote
1answer
330 views

Reformatting USB to support large files in Windows, Linux and Mac

I'm trying to copy a 5.3 GB file from hard disk to a USB 3.0 SanDisk 16 GB USB key. I've tried this both from OS X as well as from Linux. In both cases the file is partially copied and then the ...
1
vote
2answers
99 views

Are there any issues of have huge files in HD in a 32 bit system?

I know that in 32 bit systems the largest memory we can have is 4GB (2^32). But I am not clear what is the implication of this in terms of files. I think that we can have files of arbitrary size in ...
0
votes
1answer
332 views

Shrink or delete udev partition in Ubuntu?

I ran out of disk space today while trying to compile a program. When I ran df -h, I noticed that the partitions were wonky. df -h yields Filesystem Size Used Avail Use% Mounted on /dev/sda1 ...
1
vote
1answer
50 views

Fixing lost symbolic link status [closed]

I have a couple of soft symbolic links that have lost their link status and have become normal files containing link TARGET_FILE_LOCATION I searched quite a bit to find a way to restore their ...