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

learn more… | top users | synonyms (2)

2
votes
1answer
7 views

What are the alternatives to the FHS?

Please don't crucify me for asking this question. :) I'm a long time Linux user for over 15 years but one thing I hate with a passion is the mandated directory structure. I don't like that /usr/bin ...
0
votes
0answers
11 views

fs_usage: a part of stdout is missing.. Where did it go?

I'm using $ fs_usage -f diskio to spy on processus when I hear my hard drive spinning for no reason, so that I know who is working so hard.. Here is one sample line: 16:14:13.785568 ...
1
vote
0answers
29 views

How do I find out hard disk model and serial number in amazon machine?

when check in local machine /proc/scsi/scsi file it contains Attached devices: Host: scsi0 Channel: 00 Id: 00 Lun: 00 Vendor: ATA Model: ST3160215AS Rev: 3.AA Type: Direct-Access ...
1
vote
1answer
17 views

How to increase the size of a vfat file system to exactly the size of the containing partition?

This is a further question after this one. I google for it, but most of the search results are about how to grow the partition and the file system at the same time. I think this question is simpler ...
0
votes
2answers
41 views

File System that is order sensitive [on hold]

Is there a file system that is unix compatible that is order sensitive? For example the following 2 directory structures would be different. a b c and a c b
0
votes
0answers
16 views

Modify /dev/zero Output Minix [duplicate]

I am trying to modify the /dev/zero block file so that it returns a character "Z" for example instead of zero. I tried opening /dev/zero thinking I would be able to see the code and modify it. To my ...
-1
votes
2answers
24 views

Is there a variant of the “cp -a” command that avoids copying from other filesystems?

Let's say I have a directory /data/something with the following subdirs: /data/something/iowa /data/something/wyoming /data/something/burkinafaso /data/something/slovenia All four subdirs have ...
0
votes
0answers
24 views

To fix “Read-only File system” issue when SSH access to IP Camera

Currently I have a IP Camera, which allows the SSH access as root user. The build-in Shell is BusyBox 1.19.3 (but guess not relevant to this issue). There are a few directories, such as /bin, /root, ...
0
votes
0answers
14 views

after extension of partition grub says unknown file system

I have a vServer with Debian Wheezy running, yesterday I wanted to extend the partition but after the reboot grub2 says error: unknow filesystem. Entergin rescue mode... grub rescue> Here I am in ...
-1
votes
1answer
31 views

Why readdir() only reads 32K of directory entries at a time?

readdir() only reads 32K of directory entries at a time. Why does it read only 32K entries? Is it dependent on buffer or any other parameters? Can I change that value so that I can read as many ...
0
votes
2answers
15 views

is VFS a module?

While studying VFS, this question popped into my head. Is it okay to think of VFS as a module? The reason why I thought like that is because VFS has the characteristic of simplifying actual file ...
1
vote
3answers
27 views

Having a host with ZFS system, how to make it available to other hosts on local network?

Having a Linux (RHEL 6) host with ZFS system, how to make it available to other hosts on local network (over LAN or InfiniBand if possible)? what shall be done to ZFS pool to make it sharable? how ...
3
votes
1answer
30 views

Using File Date/Time as Metadata: Reliable?

Background: I have groups of files in their own directory which I merge into one file in order of their filename. I call them t1.txt, t2.txt, t3.txt... I merge them in order of the integer. ...
1
vote
0answers
17 views

Which filesystem information are considered to be userspace relevant? [closed]

These filesystems normaly allow to store/retrieve information via files (hierarcical) by way of the kernel - having a module/driver for the filesystem - making the data stored in the filesystem ...
0
votes
3answers
22 views

How to influence the inode number, e.g. at fs restore?

Files in *nix filesystems almost ever have an associated inode number. In most cases users seem not to deal very much with those inode numbers, as they use filenames (i.e. a hierarchical ...
0
votes
0answers
12 views

Granular control of rwx permissions on NTFS partition

I am running a Ubuntu-Windows dual boot setup, and I have a third NTFS partition for my shared data (documents, music, downloads, etc). I currently mount the partition using /etc/fstab like so: ...
1
vote
1answer
35 views

Live Linux and FAT32

I'm looking for a Linux distribution that will run (uncompressed) on a FAT16/32/NTFS partition, preferably on an external USB drive. I've come across Slax and Porteus as well as a few others but they ...
2
votes
1answer
31 views

How to take snapshot of an ext4 filesystem

Is there any way we can take a snapshot of an ext4 filesystem so that we can revert back to it later?
1
vote
1answer
32 views

Should I use hardlinks for my “sites-enabled” folder instead of softlinks?

Every article I find about web servers suggest creating a sites-available and sites-enabled directory within apache/nginx/etc. Then, using symbolic (soft) links, create a link from the available to ...
0
votes
1answer
13 views

How to use tune2fs?

I want to adjust the time interval between ext2, ext3 and ext4 filesystem checks to 180 days? I know that I have to use tune2fs -i 180 but I am not sure about the arguments
0
votes
0answers
14 views

3 TB ext4 partition performance issue

I have deployed Centos 6.6 VM based on vSphere ESXi 5.5, it consists of 2 VMDK (virtual disks): 1st vmdk is for System / with 25 GB second vmdk /var is a 3TB / ext4 underlying storage is RAID 5 ...
4
votes
1answer
38 views

Reason for change in ctime when the file content is modified

I understand that ctime changes when the file metadata or the file content is changed and mtime on file content modification. I would like to know the reason for updating ctime when the content of ...
0
votes
0answers
19 views

How to create several directories in linux using full character set?

I would like to create several thousand directories on ubuntu per command line. Using mkdir {000..999} does create 1.000 directories name 001, 002 etc. How do I create directories using the entire ...
1
vote
1answer
43 views

Problem mounting disk

[root@localhost ~]# fdisk -l Disk /dev/xvdb: 2147.5 GB, 2147483648000 bytes 255 heads, 63 sectors/track, 261083 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size ...
2
votes
1answer
32 views

remounting FS with read write rights

Looking for the read only file system: grep "\sro[\s,]" /proc/mounts /dev/disk/by-uuid/2c04d594-b11d-4b02-b1b3-3d9f0b66b73c / ext3 ro,relatime,errors=remount-ro,barrier=1,data=ordered 0 0 So the / ...
2
votes
0answers
22 views

Why is my raid5 always resyncing ? (device names no persistent?)

I have a Intel RST software raid on ubuntu 14.04 with mdadm: (4 x 6TB drives in Raid 5, created with device names /dev sudo mdadm -C /dev/md/imsm /dev/sda /dev/sdb /dev/sdh /dev/sdi -n 4 -e imsm sudo ...
2
votes
0answers
40 views

Disk i/o latency using /proc/vmstat file

How do i calculate Disk read and write latency in Linux? Is it possible to do the calculation using /proc file system? I am used iostat and vmstat command. But i do not understand how the ...
1
vote
1answer
8 views

Only move folders not existing in target directory

I am looking for a way to move folders that are not already present in the target directory on my linux server. Example: Target directory folder1 folder2 folder3 folder4 Source directory folder1 ...
18
votes
6answers
3k views

How to safely turn off swap permanently? (on Debian Jessie)

I fresh installed Debian Jessie with default partitioning on an SSD drive. My current disk partitions look like this: As I have 16GB RAM, I think I don't need swap. On Windows, I had it turned off ...
-2
votes
0answers
32 views

df and du differences too large [duplicate]

-bash-3.2$ df -h | grep /mnt/opt /mnt/opt 197G **163G** 32G 84% /mnt/opt -bash-3.2$ du -sh /mnt/opt **74G** /mnt/opt More then 1/2 the differences between df and du. ...
3
votes
0answers
31 views

OverlayFS - How to make changes to upper filesystem persistent without unmounting?

I am using an USB drive to start a linux system which needs changes from time to time and also writes some logs. Flash drives tend to fail early if there are many write operations. That brought me to ...
1
vote
1answer
25 views

Content Explanation Of: /proc/fs/ext4/device_name/mb_groups

I've been wondering, what are the explanation of the columns in the /proc/fs/ext4/device_name/mb_groups file. The columns are: #group: free frags first [ 2^0 2^1 2^2 2^3 2^4 2^5 2^6 2^7 2^8 2^9 2^10 ...
0
votes
1answer
25 views

why does my Ubuntu Virtual Machine slow down after a number of searches, and builds?

I recently learned that my Ubuntu Linux file system may cache the result of some commands such as searches, sorts, and perhaps build commands such as make. I run Ubuntu in a VM, and although I have ...
2
votes
1answer
27 views

System call 'open' mode not working

I am writing a simple code about opening a file with O_CREAT | O_WDONLY | O_EXCL flags. The code looks like this: int fd = open(fileName, O_WRONLY | O_CREAT | O_EXCL, 0777); It works well, except ...
1
vote
1answer
41 views

What do “extents” feature do in ext4 filesystem in linux?

I was reading about the ext4 filesystem that it supports compression, encryption and a feature called extents which is used to save disk space. What are extents and how are they are effective for ...
0
votes
1answer
23 views

Does udev (/udev) consume storage?

Let's say I install a single partition (root) of linux that's 20GB. When I run 'df' it shows me the root drive that's 20GB, udev, and several tmpfs info. I believe tmpfs is just temporary and from ...
2
votes
1answer
40 views

EXT filesystem family: Why does the first superblock start at offset 1024?

I was brushing up and diving deeper into filesystem anatomy and in numerous resources it is said to be a requirement that the very first superblock start at an offset of 1024 bytes. I started looking ...
0
votes
1answer
26 views

How to install applications temporary into RAM on LiveCD?

So I have a Scientific Linux LiveDVD. And I have it installed on a PC that has no hard drives configured and avaliable at all. I want to install some applications that would allow me to configure ...
0
votes
1answer
20 views

How do I pass options to forcefsck?

I am trying to run a one time disk check at bootup by using /forcefsck but I would like to pass some of the FSCK options such as y, c, f, and v. I have tried inserting these in the file but I seems to ...
0
votes
0answers
18 views

Debian 8.1 Automatic Mounting Issues

I'm having some issues mounting a partition in Debian 8.1. I have my system set up to mount /home/caleb/Downloads on a separate partition (on a different drive than /). The drive is /dev/sdc3 and ...
1
vote
1answer
16 views

How to extend partition to all unallocated space in a VPS?

Hello and sorry for the dumb question but I'm a bit new to Linux and I'm always very scared to mess with partitions. Anyway, here it goes my story: I rent a VPS that uses a SSD of 10GB (Debian 7) and ...
1
vote
1answer
29 views

Making aufs union mounts read-write

So I've got two systems, lucyvanpelt and schroeder. lucyvanpelt's /home is exported read-write to schroeder via NFS. Its location on schroeder is /mnt/home/lucyvanpelt I want to union-mount it with ...
1
vote
0answers
35 views

How to install a system on top of ZFS?

I have a clear system with 5 hard drives, bios. No OS installed, no formatting applied to hard drives. I want to install a Scientific linux (6.6 or higher) OS on top of ZFS on it. What are the ...
0
votes
0answers
9 views

Verify file permissions [btrfs]

I did a fresh installation of OpenSUSE and copied all my files from the old home directory. The user and group names hadn't changed, and all the files seem to have proper permissions. However, I ran ...
13
votes
2answers
601 views

Why is df missing 500MB of available space?

I've just had a message today from Ubuntu 11.04 that I have only 100 MB left, so I cleaned up some files, and I got 200 MB. Then, after a couple of hours, suddenly I have only 26 MB?! I tried df, du ...
0
votes
0answers
43 views

Samba Error NT_STATUS_HOST_UNREACHABLE on any other node yet not on host

host IP config: # netstat -nat | grep LISTEN tcp 0 0 0.0.0.0:445 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:3306 0.0.0.0:* ...
1
vote
1answer
23 views

How to share a file over “Windows Share” protocol from scientific linux?

I have a file on my linux. I want to share it via "Windows Share" (IPMI can understand only one way of remote large files mounting). How to share my file over "Windows Share" from my scientific linux? ...
1
vote
2answers
37 views

Disk usage in stat output and inode

Below is my stat output: [alankoh@SJOAM swap]$ stat myswapfile File: `myswapfile' Size: 2147483648 Blocks: 4194312 IO Block: 4096 regular file Device: fd03h/64771d Inode: 1179650 ...
3
votes
1answer
68 views

Force reconnect on sshfs drive mounted via fstab

I have a remote sshfs drive that I use on a daily basis. I previously executed the following command every time I booted up my computer. sshfs -o Ciphers=arcfour -o Compression=no -o reconnect ...
0
votes
1answer
50 views

EXT4 requiring twice as much storage space - Ubuntu / Beets

I have a question I'm struggling to research an answer for. I have am building a Ubuntu media server at home and decided to carve up my 2TB bulk storage disk into various partitions. I created a ...