A filesystem is a way to organize and store computer files with their data.

learn more… | top users | synonyms (2)

4
votes
1answer
2k views

What options are there for tuning Linux file system caching?

What various types of caching are possible in the ext3 file system and how can their values be changed using system calls or other methods? I don't want to use commands or tools.
3
votes
1answer
60 views

How do I change the OS block size

I am using SUSE 11SP3 and formatted the devices with a block size of 4KB using mkfs.ext3. /sys/block/sda/queue/logical_block_size and /sys/block/sda/queue/physical_block_size show the OS is using 512 ...
1
vote
0answers
136 views

Optimization for an SSD?

I am running Fedora 20 on a Laptop ( Lenovo Ideapad Yoga 2 Pro ) with an SSD. My filesystem is LVM with ext4 as the format option. I am now running Fedora as the only OS on the system with Legacy BIOS ...
1
vote
0answers
2k views

kernel: “echo 0 > /proc/sys/kernel/hung_task_timeout_secs”

I got this errors in syslog. Any idea what does it mean? The system is running on Ubuntu 12.04, kernel: 3.8.0-35-generic #52~precise1 It looks to me like failure when trying to write to disk... ...
1
vote
0answers
171 views

How to blacklist bad blocks from a MD-raid + dm-crypt + ext4?

I have a ext4 partition, on top of a dm-crypt, on top of a MD-RAID 10. One partition (/dev/sdc1) dropped out of the array with a ton of read errors. I ran the manufacturer provided diagnostic tool ...
1
vote
0answers
954 views

Problem with openSUSE 12.3 dual-boot installation (with Windows 7)

I have a current Windows 7 64 bit installation that I'm using and I wish to create an openSUSE 12.3 partition on my HDD (not my SSD Windows drive). I used the Windows Disk Management tool to shrink my ...
1
vote
0answers
215 views

unionfs filesystem

I recently learned about unionfs and aufs and would like to put it to some real use. The scenario I have in mind is the following. Boot a machine with ubuntu on it which will serve as our base. Make ...
1
vote
0answers
153 views

How can I delete data from in a hexdump file from one offset to another?

I've created a disk image which was zeroed, formatted to ext4 file system, and then had several various files copied to it. I'm trying to extract these files using a combination of xxd and dd, but ...
1
vote
0answers
1k views

How to set up ZFS with ZIL and L2ARC SSD?

I have been considering bcache and flashcache. However my friend suggested me something called ZFS. In fact it says that formating disk with ZFS can actually do the exact same thing without kernel ...
1
vote
0answers
150 views

Directly convert Archbang live on a USB drive to one such with persistent file-system

I have installed Archbang 2012.12.03 from ISO image on my USB drive, now I have a USB drive with a live Linux installed on it but at end of every session and rebooting system I faced with a fresh ...
1
vote
0answers
129 views

Creating a Virtual filesystem to boot linux

I am trying to boot the linux kernel (bzImage) in QEMU but have had issues. After asking on U&L I found out that my problem was that I was booting the kernel without a filesystem to boot from. So ...
1
vote
0answers
349 views

Negative hdd usage. Available is larger than fullsize

Having issues with space accounting of lvm volume. 23G is available. But the full size of the partition is 20G. (So, it shows "-4.1G used" 0_O) > df -h Filesystem Size Used Avail Use% ...
1
vote
0answers
281 views

Unable to access Linux share from a Windows machine with NT_STATUS_BAD_NETWORK_NAME error

On the Linux machine I changed the smb.conf like this: [john] path = /root/john/downloads available = yes valid users = john read only = no browsable = yes public = yes writable = yes The path ...
1
vote
0answers
195 views

memtester runs faster after couple of runs

I am using this test tool : http://pyropus.ca/software/memtester/ And I noticed that first 3 iterations take 4 hours but 30 iterations take only 12 hours. I was hoping that 30 iterations will take 40 ...
1
vote
0answers
619 views

How can I determine how directories/filesystems have been mounted?

I have access to a VM which on a different network at work using NIS. (Debian by the way) This VM has about 10 extra /directories in / when I log in. They do not exist on that VM alone, they are ...
1
vote
0answers
84 views

How to access storage device related events with Zeitgeist?

I am trying to get my mind around Zeitgeist, using the Python DBus API. To get the latest accessed files and application is not so hard, here is what I do: #! /usr/bin/env python from ...
0
votes
0answers
24 views

find the cause of file corruption when copying files to a network share on an Ubuntu machine

I am copying files from my SD card to my Ubuntu server via Windows 7 using a network drive. The problem is that sometimes, 2 files out of 150, are corrupted during transfer. See here 2 example files ...
0
votes
0answers
20 views

Possible to detect and alert when SMB writes cryptolocker to a share?

I need to make an alert,task, or action when cryptolocker uploads a specific app into the OS How can I hook into the filesystem in such a way so that I can detect this? For reference, I'm using ...
0
votes
0answers
23 views

Detecting filesystem changes without direct fs-support

How do I detect changes (additions, deletions, modifications) to a directory tree without filesystem support (like btrfs snapshots)? I want to list all changes to a specific directory tree on an ext2 ...
0
votes
0answers
33 views

How can I recovery data? Or how can I fix file system without deleting of data?

I have done fsck.ext4 -f /dev/sda5 but questions were too much and I close one several times. After that I used several times e2fsck. But it was very slowly and I stopped one several times too. ...
0
votes
0answers
55 views

Live shrinking of root partition has failed on Linux Mint

Steps taken: *Used fdisk to delete the existing root partition and created a new root partition (PV) starting on the same block *Added the 'a' flag using fdisk to make it bootable as /boot is under ...
0
votes
0answers
16 views

How to pass local directory as drive in Windows+VirtualBox

Setup: Linux host + VirtualBox + Windows 7 guest. Currectly I use shared folders feature but it is too fragile, I see all phantom effects and on the other hand Windows have change file notification ...
0
votes
0answers
286 views

Device already mounted on resource is busy

Issue ::: I install Redhat 5.10 x64 on server which had faulty hdd . I removed the old faulty hdd and installed new one with 500GB capacity and after installation i need to copy some data from old ...
0
votes
0answers
16 views

Which tuning I should do to install an Ubuntu into a flash drive?

My goal is to have a portable Linux, preferably kubuntu, installed in a flash drive so I can have all the software I need to university always with me. Must have: Debian KDE Updatable in a usual ...
0
votes
0answers
27 views

Indestructibles files on NTFS - cannot delete, not even by inode

I have a couple files on NTFS partition that seem to be indestructible - I tried all I know, and nothing: .../test/db $ ls -la total 37K drwx------ 1 ondra ondra 32K Nov 30 23:54 . drwx------ 1 ...
0
votes
0answers
33 views

Stale NFS file on Postgresql directory

I have a Debian Wheezy computer running a Postgresql Server and NO NFS filesystems. After rebooting the computer, the following error has appeared: ls: cannot access 0000: Stale NFS file handle ...
0
votes
0answers
333 views

mkfs.ext4: Discarding device blocks: failed - Input/output error

I am trying to format my new SD card, using following command; mkfs.ext4 -O ^has_journal /dev/mmcblk0p2 and I get following error: Discarding device blocks: failed - Input/output error I don't ...
0
votes
0answers
25 views

Files and Directories Dissappearing from Software Raid on Power Failure

I have a home samba file "server" (a raspberry pi) with two hard drives in a software raid 1, which have proven less reliable than any of my non-raid disks. I know there is a chance for data ...
0
votes
0answers
103 views

Cannot label F2FS (SELinux)

I'm running Arch Linux [testing] x86_64 For some reasons, I can't relabel my root file system (F2FS) with SELinux (custom kernel compiled, using refpolicy) Kernel ver $ uname -a ...
0
votes
0answers
252 views

Cannot mount fresh partition twice

I try to partition a harddrive with a script, where I have some trouble remounting the partition. This happens both this btrfs as well as with ext4. So I assume the problem is the partition table, and ...
0
votes
0answers
48 views

how to get filesystem creation time/date for vfat on linux

I want the date, when the filesystem on a usb stick was created. This would be the age of the stick in my case, since I have not recreated it. I have found how to do this for files and ext ...
0
votes
0answers
23 views

Prime New GlusterFS Cluster w/ 24GB of Files

I am attempting to load my new glusterfs cluster on AWS with my existing files that total in size of over 24GB. From my calculations, it is going to take 8 days to transfer all the files via the ...
0
votes
0answers
138 views

Beaglebone: Backup image mounts root as Read-only

After I had completed creating applications for my BB white (running ubuntu), I created a backup of the SD card using-> sudo dd if=/dev/disk2 of=/Volumes/BONE/bone_custom.img Recently, I tried to ...
0
votes
0answers
281 views

How to write to RAID 1 disks on Raspberry PI

I'm using Arch Linux on my Raspberry Pi, though I'm not sure that's relevant. I followed this tutorial to set up a RAID 1 array with 2 USB HDs. I then mounted the array (md0) in /media. What I ...
0
votes
0answers
23 views

Proper way to deploy my service on linux

I have a service that I wish to deploy on a Linux server. The service will be in the form of a number of executables that are started and stopped like a service using upstart of similar. Also, the ...
0
votes
0answers
80 views

Avoid infinite loops in file operations

In many programs, such as in this example filezilla, when I go to use certain directories they get stuck in an infinite loop. So I might be uploading a folder to an FTP server, but this folder links ...
0
votes
0answers
188 views

Is it safe to use lvresize -r to reduce LVM

I know I can increase the size of file system and LV in one go using lvresize -r but is it safe to use the sam approach to reduce a LV file system ? here is the man page of -r -r, --resizefs ...
0
votes
0answers
18 views

Mount (or makefs or tunefs or cap or…) option to disallow symlinks?

(Other than mkfs.vfat, that is.) Is there a way in Linux to have a filesystem mounted but to prevent symlinks from being made on it? It's fine if this needs to happen at the time the filesystem is ...
0
votes
0answers
100 views

Unable to make file system writtable no matter what

I have a flash card SanDisk of a camera which I plug in into my computer: $ lsblk mmcblk0 179:0 0 3.7G 1 disk └─mmcblk0p1 179:1 0 3.7G 1 part $ mount /dev/mmcblk0p1 on ...
0
votes
0answers
931 views

CentOS 6.5 File system permission?

I am wondering, i have installed CentOS 6.5 Live-DVD in my company PC. After all the LAMP installation is done, am having a trouble with the File System permission settings. In the File system ...
0
votes
0answers
59 views

Unable to write to hdd formatted in anything other ext2,3,4

I am unable to write to my HDD mounted on Ubuntu server 12.04 that are formatted to NTFS or FAT32. However when I format to EXT and Mount as auto its able to write. I tried chmod and chown but the ...
0
votes
0answers
44 views

Big file overwriten with a 0B file

I just opend for write (by mistake) a big file with data (about 200 MB). Now I have this file and it has 0B. I want to know If I can find raw data on disk for recovery... ?
0
votes
0answers
795 views

touch: setting times of No such file or directory

I got strange issue with TeamCity server (from log-file): [2013-12-26 16:48:52,915] WARN - jetbrains.buildServer.SERVER - Failed to save custom data to the file: ...
0
votes
0answers
174 views

What's the problem with fsck.ext3?

It seems there is some problem with my HDD in my satellite box. The box records to and plays video from the HDD, but occasionally it hangs (it was stable before). It's Linux version ...
0
votes
0answers
72 views

How to compare two rfs directories with `diff`?

I've two RFS (RFS = Root File System) directories, which I would like to compare to each other with diff. Both directories represent an RFS of some other system, and they may contain links. If those ...
0
votes
0answers
507 views

e2fsck not working

I am using Linux slitaz on my machine. I am able to see drives on the left side of the screen but when I click the drives it is giving the error cannot open the drive. When I ran the e2fsck on that ...
0
votes
0answers
135 views

System cannot load Ubuntu based OS's

I built a computer a few months ago, specs listed here. I then installed Linux Mint 13, but then when I wanted to install Ubuntu, the install would start, and I would select "Install". But when it ...
0
votes
0answers
91 views

Span a directory on an SD card and an attached USB stick

Can I span a folder on the SD card on my Raspberry Pi with a folder on an attached USB device? I'd like to basically extend the size of a directory by using an attached USB memory stick. I'm running ...
0
votes
0answers
107 views

Real copy to Android device

When i copy files to the Android phone, they are copied to some cache, but they aren't written. I don't like it, because i don't know what is done. I've tried these methods: copying via thunar file ...
-1
votes
0answers
27 views

store Unix file permissions on a VFAT partition

I want to use USB drives (DoKs as well as USB connected hard drives) to backup files from Linux systems in a way that: Does not require reformatting of the VFAT formatted drives, so space on them ...