Questions tagged [filesystems]

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

Filter by
Sorted by
Tagged with
2 votes
1 answer
282 views

Any tool to keep symbolic links valid?

Does anyone know of some tool capable of keeping symbolic links valid in spite of renaming or moving of files or directories? If not, are there obvious reasons why this should be difficult to ...
Telmo A.'s user avatar
0 votes
1 answer
120 views

Migrate to a new vdisk

I have to migrate some data to a new vdisk. But i have no idea how i can do this. The old Vdisk is under /dev/mapper/12345 which is a link to /dev/dm-1 The new Vdisk is under /dev/mapper/67890 which ...
Alex's user avatar
  • 1
2 votes
1 answer
447 views

What happened to /proc/sys/fs/relatime_interval?

According to one answer relatime interval can be changed by echo 60 > /proc/sys/fs/relatime_interval but I do not have such a file? Where did it go? $ ls /proc/sys/fs aio-max-nr file-...
ArekBulski's user avatar
2 votes
0 answers
348 views

New inode when mounting new file system

Does kernel really create any new inode when some file system gets mounted on some directory of root file system? I don't expect it to create as there is no new files are being created. Is there some ...
Vishal Sahu's user avatar
2 votes
1 answer
1k views

Is it safe to ignore O_DIRECT?

I am going to implement a filesystem in FUSE, and later in the kernel. I am not sure what to make out of Direct IO. Different sources emphasize on different things that this flag supposedly implies. ...
ArekBulski's user avatar
3 votes
1 answer
429 views

Recommended method for shared data store writeable by all users

I have a few users sharing a computer and accessing content (pictures, audio, video recordings etc) that other users save. I need a shared drive for this content. File permissions, access control or ...
koushik's user avatar
  • 218
3 votes
1 answer
964 views

Does Linux still use rootfs?

In the kernel documentation file "ramfs, rootfs, and initramfs" it says Rootfs is a special instance of ramfs (or tmpfs, if that's enabled), which is always present in 2.6 systems. I have not ...
Melab's user avatar
  • 4,018
5 votes
1 answer
666 views

Is there software relying on `strictatime`?

I am preparing to implement a filesystem in FUSE. Implementing only one mode would be easier. Relatime is the default behavior of all kernel implemented filesystems. Is strictatime behavior still ...
ArekBulski's user avatar
1 vote
1 answer
786 views

Airtel 4G dongle mounting

I am using a HUAWEI mobile broadband LTE USB stick model E3272. Whenever I insert it, it displays an error message like: Error mounting /dev/sr1 at /media/bhuvan/airtel: Command-line `mount -t "...
Bhupathi reddy's user avatar
2 votes
1 answer
613 views

How can I delete a former MTP directory, which now gives me input/output error whenever I try?

I have ~/srv/mtp, which I do not remember how I created. It was back when I was trying to set up a MTP mountpoint using various tools for that. Currently I can't do anything to the directory. ○ file ...
pchr8's user avatar
  • 25
5 votes
5 answers
21k views

Removing the rescue image from /boot on fedora

I am trying to upgrade my fedora system (21 → 22) using fedup. I removed all old kernels using package-cleanup but fedup still needs 2MB more on /boot. These are the files in /boot: -rw-r--r--. 1 ...
WYSIWYG's user avatar
  • 363
3 votes
2 answers
65 views

Do permissions for the root folder in *nix filesystems differ from other directories?

In a comment under this answer I received a suggestion that "permissions on the / folder are a special case". Is it true and if so, how does the implementation of permissions for the root folder ...
techraf's user avatar
  • 5,941
1 vote
1 answer
1k views

how to get crtime of a file in an ext4 partition as a single number or string

I am seeking a method of getting the crtime of a file in hexadecimal or decimal in unix epoch seconds instead of in a date and clock format and with no additional output. This command adds additional ...
Gemohn Herbile's user avatar
5 votes
1 answer
2k views

Locate owner of a computer on file system

I am trying to locate the owners name from a computer that was turned in, in order to return it. I am unfamiliar with Linux, and would prefer if I could be directed to a location in the actual file ...
Jason's user avatar
  • 53
3 votes
0 answers
3k views

Unable to mount UFS2 partition on Linux - ufs_fill_super(): bad magic number

In FreeNAS 9.3, I created a partition (slice?) by doing: fdisk -BI /dev/ada3 bsdlabel -wB /dev/ada3s1 newfs -O2 -U /dev/ada3s1a This drive is now /dev/sdg on Ubuntu 14.04, which I've been unable to ...
Craig Younkins's user avatar
0 votes
2 answers
86 views

Computer froze, now no OS will start

I was happily watching a TV show episode and 5 minutes later I am with a fried computer. I was using elementaryOS. I am going step by step with what just happened: I was using VLC when suddently the ...
dabadaba's user avatar
  • 133
0 votes
0 answers
491 views

Negative dentry

When we do rm foo.bar, kernel decrements inode ref count and checks if it's become zero. In case of 0, inode is removed and foo.bar dentry becomes negative. This negative dentry continues to stay in ...
Vishal Sahu's user avatar
1 vote
0 answers
2k views

How to run full SSD disk check with `fsck` command on system reboot (Debian)?

Please advice how to run full SSD disk check with fsck command on system reboot? (Debian) sdb2 is root, sdb1 is boot partitions. What is recommended options and where to find check report? I would ...
minto's user avatar
  • 525
2 votes
1 answer
50 views

Is partition created by dd (and cached) instantly available for writing

I'm creating a partition (from backup) with dd and need to know if there is a need of some sort of sync/timeout before I can access it. As I know data may be cached in dirty pages. But what if I read/...
user1780084's user avatar
7 votes
4 answers
5k views

How to find missing files with sequential names? [duplicate]

I have thousands of files named 1.txt 2.txt and so on. Some of those files are missing. Which would be the easiest way to find out which files are missing?
Sofia Ontiveros's user avatar
1 vote
1 answer
320 views

How do I detect used harddrive space on a block device?

I want to look at a raw block device (as in /dev/sda) and know how much space is being used on the drive. I don't know what type of file system is on the harddrive, nor do I have any way of figuring ...
IQAndreas's user avatar
  • 10.3k
1 vote
1 answer
2k views

How to hide original mount points with bind mount?

I use OpenMediaVault, a NAS software on top of Debian Wheezy. This system usually mounts the file systems at /media/, but that is cumbersome to type and to identify. As such, I've modified my fstab ...
rfgamaral's user avatar
  • 455
0 votes
1 answer
917 views

Cannot boot to windows after deleting Linux Partition(s). Stuck with grub rescue

I just updated my PC to Windows 10, and deleted my Linux partitions. After a restart, it came up with grub rescue. I've tried booting from a Windows recovery disk and doing bootrec /fixmbr bootrec /...
Ryan E's user avatar
  • 1
1 vote
0 answers
376 views

Getting file crtime under ext4 file system [duplicate]

I'm trying to display a file is creation time. I've been searching and I found out that under ext4 file systems this is something indeed possible to get and it's stored as crtime. As you can see in ...
yat0's user avatar
  • 113
0 votes
1 answer
39 views

Are there any caveats when restoring a backup to a larger disk than the original disk with Clonezilla?

I have a Clonezilla image of a 250 GB disk. Are there any caveats or downsides if I would restore this to a 500 GB disk? (I will of course not be able to use more than the 250 GB on the new disk, but ...
PetaspeedBeaver's user avatar
0 votes
2 answers
1k views

how to mount a filesystem without a mount point

In Ubuntu 14.04.3 inserting my SD card causes it to be automounted to a mount point that does not exist. How can I do this? /dev/mmcblk0p1 30780420 2269796 28510624 8% /media/admin/backup-...
Skaperen's user avatar
  • 716
2 votes
1 answer
991 views

Git "write failed, file system is full fatal: unable to write new_index file"

I am running OpenBSD 5.7 and am modifying the kernel for a university assignment. It's running in a virtual machine. I cloned the repository into '/usr/src' and started to modify 1 file. I went $ ...
jnd's user avatar
  • 121
0 votes
1 answer
70 views

Ext3 system calls during file creation and modification [closed]

I'm trying to learn more about Linux and its file system and I'm stuck on understanding the difference between the ext3 and ext2 file systems with regards to system calls during file creation and ...
tambin's user avatar
  • 1
8 votes
3 answers
8k views

Why size reporting for directories is different than other files?

I was wondering why an empty directory occupied 4096 bytes of space and I have seen this question. It is stated that space is allocated in blocks and hence, the size of a new directory is 4096 bytes. ...
Utku's user avatar
  • 1,433
1 vote
2 answers
1k views

Why do I not see inode data in a hexdump or dd?

I'm not quite familiar with filesystem layers in the Linux kernel but I suppose that dd and hexdump do not get the inode information since they only do open() and read() syscalls, but I might be ...
JohnnyFromBF's user avatar
  • 3,496
1 vote
1 answer
436 views

Moved /var/log to a new logical volume now data is missing

I have a RHEL server that has /var mounted inside an LVG on its on dedicated LV. Per RH Security Advisory CCE-26215-4 I needed to migrate /var/log to its own dedicated partition. So I shrunk /opt to ...
user53029's user avatar
  • 2,813
6 votes
3 answers
13k views

What is the "-rescue" function of Clonezilla and when should I use it?

When running Clonezilla on a NTFS-drive with bad sectors the cloning is interrupted and I get a suggestion from Clonezilla to use the -rescue option to save as much as possible from the damaged drive. ...
PetaspeedBeaver's user avatar
3 votes
1 answer
4k views

How can I zero the unused blocks on my filesystem in order to minimize the compressed disk image size? [duplicate]

If I dd my disk and compress the image with lzma or lzo the image is still big. The partition is 10GB used, 90GB available. But the image still around 20GB. I believe that is because I have copied ...
Diogo Melo's user avatar
2 votes
0 answers
777 views

How to check UBIFS for errors?

My ARM system uses NANDFlash and UBIFS. IS there a command that will let me check the filesystem, report any errors or warnings, and also report the current compression level?
SeanLabs's user avatar
  • 701
7 votes
2 answers
499 views

Strange mount entries, procfs on net:

On a device I get among others the following strange entries for mount: none on net:[4026532603] type proc (rw,relatime) none on net:[4026532424] type proc (rw,relatime) Any idea what or for what ...
phk's user avatar
  • 5,943
1 vote
2 answers
210 views

Where is the information about the file system format stored in External Hard Disks

I was reading about mounting in Operating Systems and have the following question related to it: When we plug an external hard disk it gets automatically mounted in our file system, the one our ...
sarthak's user avatar
  • 1,472
1 vote
0 answers
158 views

Is there a program like searchmonkey/Everything that previews images or webms?

On Windows there a nice file search engine called Everything, which is >(unlike find) very fast and (unlike locate) always returns up to date results. AFAIK it works by filling a database from the ...
user avatar
0 votes
1 answer
701 views

Ubuntu file system corruption error won't boot

my digital ocean droplet is going through some tough errors and I can't find any help. Perhaps someone here could point me the way. I was using the droplet normally, after running a failed DeployBot ...
sigmaxf's user avatar
  • 163
2 votes
1 answer
86 views

Are there any type of representation on filesystem for network ports?

Say I wish to feed some data into a certain network port created on my system and do that manually. Is there any interface for it on filesystem? Maybe a special type of file that I could write into? ...
Bibek_G's user avatar
  • 549
0 votes
1 answer
327 views

Write data/bytes in a file, out of content and metadata?

Using Unix & Linux FS, I aim to write data like: 10011010 11101001 01011011 10110110 01100011 01111110 00010001 11100101 10011101 01110000 11111110 11111111 10000001 10011100 11011100 10011111 ...
ArchiT3K's user avatar
  • 577
3 votes
1 answer
3k views

Recovering from a chown -R / [duplicate]

I've made today the greatest error on my server using root user: chown -R 33:33 / instead of chown -R 33:33 . within some webroot folder. Well, this brought ssh down. I made it this far to get it ...
Jack's user avatar
  • 33
4 votes
1 answer
413 views

If my program detects that a power loss will occur in a few seconds, what can it do to avoid data corruption?

A program (which needs to read and write from and to the filesystem), has the extra feature of being able to communicate with an external sensor. Therefore it has the unique ability to know if a power ...
vsz's user avatar
  • 547
2 votes
1 answer
1k views

Make ubi filesystem image from directories

I have a rootfs directory which contains all the directory structure (bin boot dev etc home ... var) to be installed on an embedded board . What I would like to accomplish, is to make a ubi image ...
xyx's user avatar
  • 757
1 vote
1 answer
5k views

A Start Job is running for dev-md1.device

Hello everyone I'm with the following error on my CentOS 7 I restarted the server is now the boot time is with this message is already so minimum 40 minutes, what should I do? Please Help-me?
Filipi Silva's user avatar
0 votes
1 answer
950 views

Compare size of file system

How to compare size of file system on 2 different servers Eg: Server1 Filesystem GB blocks Free %Used Iused %Iused Mounted on /dev/prddatalv 40.00 18.32 55% 65 1% /u01/...
user2243756's user avatar
1 vote
1 answer
98 views

Is it possible to mount a partition only for some users?

This thread comes from here. Even when it is an Android question, I think the theoretical command line part should better be asked here. In short: I have achieved to mount a Ext4 file system, but ...
Sopalajo de Arrierez's user avatar
6 votes
3 answers
7k views

How can I know if my kernel has ExFAT support?

I would like to know if some ExFAT formatted SD card (or pendrive, USB hard disk... etc) will be read by the kernel of my installed Linux distro. I know that, since about 2013, most kernels include ...
Sopalajo de Arrierez's user avatar
0 votes
1 answer
126 views

Relationship and distinction between VFS and FHS

It is clear that VFS provides programs to access different file systems with same interfaces. Meanwhile, FHS is standard for directory structure. I would like to have some inputs regarding them ...
Ron Vince's user avatar
  • 1,442
1 vote
1 answer
2k views

Lock a user with his home folder

Is there any way of making a user only able to see and modificate his home folder? I am currently on arch linux. Just explaining a little better, the user would not be able to see /etc or any other ...
Thiago Fontes's user avatar
2 votes
0 answers
331 views

How to move space from 1 file system to another?

I am currently using Virtualbox to run this server where my current disk space is: $ df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/ol-root 50G 44G ...
Jay's user avatar
  • 143

1
52 53
54
55 56
82