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

learn more… | top users | synonyms (2)

0
votes
0answers
5 views

Loopback (bind) mount automatically mounting additional ext4 USB drive

I have a USB (ext4) drive connected and it's registered in /etc/fstab. It mounts at /media/Backup fine. I want to mount a specific directory on that drive using a bind / loopback mount (this is ...
2
votes
2answers
821 views

Debian won't boot: udevd fails to load device sda and sdb

I can't boot my Debian system, I got this error during boot up: Driver 'pcspkr' is already registered, aborting. I have solved this by adding blacklist snd-pscp to /etc/modprobe.d/blacklist.conf ...
3
votes
1answer
5k views

Installing Android-x86 on a USB (not creating a Live USB)?

I want to carry around an Android OS install on a USB so I can have a Google Authenticator with me everywhere I go since I don't own any mobile devices. The idea being that I can run Android through ...
1
vote
1answer
36 views

Transforming a disk from MBR to GPT

I have a disk with classic MBR and want to transform it to use GPT without data loss. I have seen several more or less useful tutorials, but most of them are dealing with the specific problems related ...
0
votes
1answer
27 views

Non-journalled filesystem that allows instant power off?

Is there a filesystem for Linux that allows for instant off via a power switch without going through a shutdown procedure? If so, would there be a significant performance hit compared to a journalled ...
68
votes
6answers
18k views

Why hard links not allowed to directories in UNIX/Linux

I read in text books that UNIX/Linux doesn't allows hard links to directories but soft links do. Is it because, when we have cycles and if we create hardlinks, and after some time we delete the ...
3
votes
1answer
4k views

Mounting a multi-partition (GPT/HFS+) USB 2.0 harddrive on Debian

I have a 3TB USB 2.0 hard-drive which has two HFS+ (Mac) partitions using GUID partition table for the partition records. It was partitioned with Mac OS Disk Utility. How can I mount these partitions ...
6
votes
3answers
6k views

Should a laptop user switch from ext4 to btrfs?

Related to this. I'd like to take advantage of an OS switch to upgrade to BTRFS. BTRFS claims to offer a lot (data-loss resiliency, self-healing if RAID, checksumming of metadata and data, ...
3
votes
1answer
779 views

Reading FreeBSD UFS formatted external drive in Mac OS X

I have an external USB drive with backup files formatted in FreeBSD's UFS file system. When I plug it into a computer running Mac OS X 10.9.4, I cannot read the drive's contents, and I don't have ...
1
vote
2answers
49 views

Mount zip file as a read-only filesystem

I am looking for a way to mount a ZIP archive as a filesystem so that I can transparently access files within the archive. I only need read access -- the ZIP will not be modified. RAM consumption is ...
12
votes
3answers
946 views

On system memory… specifically the difference between `tmpfs,` `shm,` and `hugepages…`

I've been curious lately about the various Linux kernel memory based filesystems. Note: As far as I'm concerned, the questions below should be considered more or less optional when compared with a ...
1
vote
1answer
22 views

Cluster Lock Manager without TCP/IP

I have 2 linux sharing same SAN disk LUN. There are many cluster files systems to manage lock/unlock. But all of them are using a seperate TCP/IP comminication. But I need a cluster lock manager ...
1
vote
1answer
42 views

why doesn't iozone generate output file?

I'm using iozone3 for tesing, on Xamin (an Debian-based OS). When I enter iozone command, for example iozone -Rab output.xls, the test runs successfully. But after running the test (after displaying ...
2
votes
3answers
51 views

How to know list of directories under a filesystem?

If I run sudo df -h command, I got below output: Filesystem Size Used Avail Use% Mounted on /dev/sda2 12G 9.5G 1.1G 91% / /dev/sda4 3.8G 1.5G 2.1G 41% /home ...
0
votes
0answers
7 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 ...
1
vote
1answer
35 views

Why does Ubuntu change my file system to read only

Since last Ubuntu kernel update (actual 14.04.1 LTS with GNU/Linux 3.13.0-39-generic i686) on my server I'm noticing something strange. My system boots normally - read-writable, no problems. But ...
1
vote
1answer
25 views

run btrfs balance with cron

Since I run today in a problem with a full disk, which turns out is not unbalanced. Which you can fix with btrfs balance. So my question is: Is there any risk by ruining this by a cron job? (in ...
3
votes
1answer
185 views

Equivalent of pvmove for BTRFS

Similar to the question I asked a while back. This one's a little easier? I can see there's volume management logic in BTRFS for removing/adding/rebalancing physical drives, but is there a tool to ...
2
votes
1answer
2k views

Mount exFAT file system as user without hardcoding

I've "solved" the following problem, but not in a desirable way. First, mounting exFAT file systems in Linux was truly as simple as this site says. The catch is, "as long as you are root." A user ...
5
votes
4answers
921 views

Is Gobolinux active any more?

Today I hear about existence of a revolutionary distro named Gobolinux. I am very interested and excited about it (in particular its file structure). Unfortunately it is not updated for a while. ...
5
votes
1answer
646 views

Preventing access blocking while external HDD spins up?

I have an old laptop where I installed Debian along with a samba server which I am using to share read-write access to 4 external hard drives, which I use to stream my media from. All works fine, ...
1
vote
1answer
34 views

broken fs after removing disk from LVM group

I messed up a bit and I am trying to find the best way to recover. A few days ago, 1 of the physical disk of my lvm setup started to show sign of failure (I/O errors) so I decided to move it to ...
1
vote
1answer
26 views

Where apache's /tmp located?

I was just advised to re-ask my question from http://security.stackexchange.com/questions/72795/command-execution-dvwa-creating-file-in-tmp here. I use CentOS 7, and I'm trying to understand command ...
24
votes
2answers
8k views

I made a mistake last night, which deleted 1800GB of my File-Server unintentionally

I ran this command yesterday, I thought on a test machine, but it was a File-Server connected through SSH. sudo rm -rf /tmp/* !(lost+found) My terminal emulator is Konsole. My system is Debian 7. ...
0
votes
6answers
7k views

Script to check for read only filesystem

How can I check a bunch of systems to find any filesystem that are mounted read-only? Possibly via a script?
3
votes
1answer
498 views

How do I mount a UFS disk in read-write mode?

I have a system drive that has filled up to the last sector, so that it doesn't boot anymore. The file system is UFS (it's an old Freenas 0.7 installation), but since UFS write support doesn't appear ...
1
vote
0answers
22 views

How can I limit or delay the write speed to specify directory?

I want to limit the write speed and limit to specify directory. Make this directory flakey. Make this directory error for can't write data to it. I have user dmsetup to create the device mapper with ...
1
vote
0answers
18 views

Mount success but property of device mapper that dmsetup create is lost

I tried to create device mapper with dmsetup as followed: dmsetup create error_disk 0 20000 linear /dev/loop0 0 20000 1 error 20001 20959 linear /dev/loop0 20001 Then I check with command below: ...
1
vote
0answers
17 views

ZFS datasets attribute inheritance

I have a ZFS filesystem on a Solaris system. In one pool I have an ISCSI share and an NFS share. zfs list tank 1,01G 2,88G 24,0K /tank tank/nfs 24,0K 2,88G ...
-1
votes
0answers
17 views

what to do after accidental MKFS command issued on lynxos 2.2.1 partition

Accidentally I used mkfs on /dev/sd0b. The system OS, LynxOS 2.2.1, is OK on the sd0a partition but I have lost the sd0b partition's contents. I can see this partition with the df command but this ...
2
votes
1answer
663 views

What determines the maximum file size in ext2 file system

I was reading the Kernel Documentation where it says There are various limits imposed by the on-disk layout of ext2. Other limits are imposed by the current implementation of the kernel code. ...
5
votes
2answers
829 views

Querying an overlayfs

I'm looking for a way to query a mounted overlay filesystem (overlayfs) in order to check it's upper and lower directory, but until now I haven't found any suitable command for that. Is there is a way ...
3
votes
3answers
6k views

How to Expand LVM2 Partition in Fedora Linux

I've been using Fedora 15 on a VMWare virtual machine. Over time, the disk space I initially allocated for the file system began to run out, only 12GB left. I've expanded the disk space an extra 25GB. ...
3
votes
1answer
42 views

How to update directory size after file removal?

This is mostly theorethical question without real practical usage. As you may know, filenames are stored in directory inode. That means the more files we have and the longer filenames are the more ...
0
votes
2answers
17 views

RPM command stuck/FREEZE when installing RPM file

I want to install the following rpm from some reason RPM is stuck or freeze and not install the RPM package also I cant stop it by control C , please advice what could be the problem ? root]# rpm ...
2
votes
4answers
750 views

Why is writing SLOW on raw device, and FAST on filesystem (USB key)?

I have a USB key (PQI U822V-Speedy 32G) that I am trying to benchmark quick'n'dirty on Linux. I'm testing write bandwith. dd on raw partition I created a partition starting at sector 2048, then did ...
2
votes
1answer
23 views

Free-ing up unused space on a partition that is unaccessible after a mount

Originally I had a 50GB disk where the root / was mounted to a 6 GB partition on it. The partition was running out of room so I created a second partition with the rest of the free space (44 GB). ...
1
vote
1answer
2k views

Mounting HTFS Disk on Linux

I got my hand on a harddrive that contains a SCO Openserver 5 and I need to access the data inside. Is there any way I can just mount and start copy-pasting the files? I've googled around and mostly ...
16
votes
2answers
5k views

Birth is empty on ext4

I was just reading up on the Birth section of stat and it appears ext4 should support it, but even a file I just created leaves it empty. ~ % touch test ...
3
votes
2answers
27 views

Optimize file layout for minimal seek in specific situations

Starting VLC is slow on my system. The reason: it reads more than 1000 different .so files. Is there a way to make it read those files faster? I think if all the files followed immediately after each ...
0
votes
1answer
20 views

How to verify which line in /etc/mtab is not in use

How to verify which line in /etc/mtab ia not in use I will explain Some times on my linux servers some command are hung As df –k So I Suspected on /etc/mtab file , and maybe some line is stuck the ...
5
votes
1answer
117 views

Calls to sync/fsync slow down after 30 minutes uptime

After 30 minutes of uptime using Ubuntu 14.04 with a hybrid SSD I see many processes blocking IO using iotop. This is during disk writes, for example if I open and close an empty file in gedit it can ...
3
votes
4answers
79 views

Forcing owner on created files and folders

I have a directory that contains data shared between a number of users. Access to this directory and anything underneath, will be controlled by the directory's group, which will be added to the users ...
2
votes
2answers
1k views

Sphinx Search shutting down after `FATAL: accept() failed: Too many open files`

I'm running Sphinx Search Server V2.06 ( the latest stable release ) on an Amazon EC2 with Linux CentOS. In general it is running fine, but the searchd.log is showing this error over and over with ...
1
vote
1answer
1k views

Give read-only access to specific folders?

I would like to give read-only access to a user but I want him/her to see only the exact folders I give access. for example he/she shouldn't travel around all the server and browse to all users ...
1
vote
3answers
33 views

Why does Debian prefer a temp file replacing the original over modifying bytes in original file?

In the mp3gain manpages, you can read the following: -t mp3gain writes modified mp3 to temp file, then deletes original instead of modifying bytes in original file (This ...
0
votes
2answers
5k views

How to force drop all partitions and erase disk from terminal?

My question is in fact related to OS X, however I'm using Linux tools to resolve my problem. I'm trying to delete all the partitions on my SSD drive and create new GUID (HFS+) partition table. Native ...
0
votes
1answer
3k views

How to install squashfs-tools on Ubuntu?

I tried running `unsquashfs and got: $ unsquashfs filesystem.squashfs The program 'unsquashfs' is currently not installed, You can install it by typing: So I went to install it: $ sudo apt-get ...
6
votes
1answer
652 views

How are extended attributes stored and preserved?

I have a small question about extended file attributes. Assume I label my files with metadata in extended attributes (e.g. to account for the integrity - but this does not matter for my question). The ...
2
votes
2answers
75 views

What filesystem mount point am I currently working on?

I would like to know in what filesystem mount point I am currently on, similarly to using pwd to know what directory I am in. I know you can use df . (or df $(pwd) or many variants), but I find it ...