A filesystem is a method of storing and organizing computer files and their data.
0
votes
1answer
27 views
Ext2 filesystem for /boot partition
Is the ext2 filesystem good for /boot partition? I set ext4 for / root partition, but wasn't sure which filesystem to select for the /boot partition, and I just set ext2. Does it matter in this case?
0
votes
0answers
19 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 ...
6
votes
3answers
420 views
How can I make a special file that executes code when read from
Most files on a Linux system are normal files, i.e. they are saved on disk and reading from them just reads from a specified chunk of memory on the disk. How can I make something that behaves like a ...
0
votes
0answers
18 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 ...
3
votes
1answer
21 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
votes
1answer
22 views
In Mac Os, what is .DS_store?
In each folder I find a hidden file called .DS_store? What is this exactly?
1
vote
0answers
33 views
changing /var in running system
I have the challenge that I cannot start a CentOS Linux server in single-user-mode, but I need to change the /var (currently part of /) to a new disk.
My way would be:
mount the new disk on a ...
3
votes
1answer
297 views
Do files change while passing from ext2 to ext3 to ext4?
If one creates a file on an ext2 (or ext3 or ext4) partition, then moves from one partition to another, each formatted differently, does any part of that file change? Once returned to the original ...
3
votes
0answers
24 views
How to change relatime access time update interval from 24 hours?
According to the RHEL 6 documentation about the Relatime Drive Access Optimization:
The kernel used in Red Hat Enterprise Linux 6 supports another alternative — relatime. Relatime maintains atime ...
0
votes
0answers
11 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 ...
11
votes
1answer
132 views
When did directories stop being readable as files?
I have the 1st edition of The Unix Programming Environment book. In chapter 2, the authors state that directories are readable as files, and mention some facts about the format of these files. They ...
1
vote
1answer
39 views
Create a file that's really a network port
I have a program running on a cluster, and the output of the program is written to a log file which I specify. However, instead of writing it to a file, I want to write it to a network port, so that ...
2
votes
1answer
30 views
zfs deduplication “low” ratio
In Solaris 11, in a pool named mypool I activated deduplication with
zfs set dedup=on mypool
Then I created two 100 MB file: file1 and its copy file1copy. Only their names are different: their ...
2
votes
1answer
31 views
RHEL Error message mounting luks crypted filesystem at boot
I am configuring a luks crypted file system to be mounted at boot time using RHEL 6.5
I did all the configuration from command line and tt worked but printed an error message after asking for ...
2
votes
1answer
63 views
How creating forcefsck file triggers file system check on reboot?
What is the significance of the file /forcefsck? I understand by creating this file the file system check is enforced during the next reboot. But how does this work?
1
vote
2answers
108 views
Command not found problem in Linux-Ubuntu terminal
My friend is having problem in trying to call make to compile an application which both me and a second friend have previously successfully compiled.
The file uses a "linux-devkit" pack that possess ...
-1
votes
0answers
26 views
Use mount options from /etc/fstab for autofs?
I am using autofs to automount some partitions that I had mounted based on fstab entries before.
I expected that I can apply the mount options defined in /etc/fstab to be used as options for the ...
0
votes
1answer
46 views
NTFS drive not mounting in Debian
This drive has been working fine for a while, but I recall having had some slight trouble getting it mounted in the past. Anyway, it was disconnected from the machine for some time and when I ...
1
vote
1answer
26 views
How are files or chunks delimited on disk?
I'm trying to recover some lost files by grep-scanning a hard disk. (The OS is Darwin 11.4.2. The file system is HFS.)
How can I determine where a file (or contiguous chunk thereof) begins and ends ...
0
votes
0answers
25 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
1answer
22 views
iozone runs fail with “No such file or directory” errors
I want to start using iozone to benchmark an aufs filesystem on a virtual machine on ubuntu.
I tried following the manual to use relevant parameters, but I keep getting a weird error on most runs.
I ...
1
vote
1answer
87 views
“inode_size (128) * inodes_count (0) too big for a filesystem with 0 blocks” while creating a file system
My partition table looks like this:
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 32505855 16251904 83 Linux
/dev/sda2 32505856 33554431 ...
3
votes
1answer
42 views
Repeated filesystems and mount points in df output
when I type df -h to see the storage of my system the following is the result
root@kch-rsp:/home/pi# df -h
Filesystem Size Used Avail Use% Mounted on
rootfs 13G 2.4G 10G 20% /
...
9
votes
1answer
115 views
Why would a partition be in use by the system if it isn't mounted?
I've been migrating my system from btrfs to ext4 after running into performance issues with VMs. I have two hard drives in my laptop to work with. I've successfully moved my home partition, but the ...
0
votes
1answer
30 views
mv deleted my directory. Why?
I was trying to correct the spelling on a directory, issued a mv command, and the directory is now gone. I'd like to understand--specifically--what happened.
Here's the command I ran:
mv ...
0
votes
1answer
37 views
Why does df show Available 0 when 1K-blocks minus Used is greater than 0? [duplicate]
Why does it show 0 in the available column?
[root@server log]# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda2 4128448 4096484 0 100% /
It's ...
1
vote
1answer
48 views
Check the filesystem format with BusyBox (stat -f and df -T do not work)
I am using latest BusyBox v1.22.1 in my target. I want to check the filesystem type using stat -f or df -T but busybox doesn't support such commands. busybox help shows stat command as supported but ...
2
votes
1answer
40 views
How to test Disk IO on VMs with iozone?
I want to test the disk IO performance like read, write, random read, random write and so on both in physical machine and VMs (with aufs file system).
Also I want to test the throughput performance in ...
1
vote
1answer
40 views
How do you move files into the in-memory file system mounted at /dev/shm
Someone recently told me about /dev/shm. You all helped refine my understanding of what /dev/shm is What dev folder allows you tell the OS to cache something?
The person who told me about /dev/shm ...
3
votes
1answer
155 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 ...
0
votes
0answers
61 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 ...
2
votes
2answers
53 views
Is reading a file on UNIX faster than writing a file?
Sorry for the sheer simplicity of this question. A rather obtuse performance bottleneck has boiled down to this very small query. I have done some empirical analysis and I think I might be getting ...
0
votes
0answers
19 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 ...
5
votes
1answer
49 views
Why does the mountpoint of my root filesystem change?
When I look at the output of lsblk it will usually show:
lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 298.1G 0 disk
├─sda1 8:1 0 1023M 0 part /boot
└─sda2 8:2 0 ...
0
votes
1answer
38 views
how to access with Linux to the real block size info of a filesystem when it is mounted on nfs?
I have a Centos 6.5 and Solaris 5 machines. I'm trying to get the information about block size of a filesystem in the member f_frsize of statvfs.
I tried first from Centos but when the filesystem is ...
0
votes
1answer
17 views
Multiple file systems on BeagleBone Black?
I'm trying to put together a BeagleBone Black using Debian on the EMMC, a separate MicroSD card and a flash USB disk (but could ostensibly be platter media on USB).
My question, simply put: are there ...
1
vote
1answer
112 views
Determine if zfs is the actual filesystem [closed]
With Solaris 11 the default filesystem should be zfs, but following the official guide I obtained (with cat /etc/default/fs)
LOCAL=ufs
Is this an error?
I thought that the same information was in ...
1
vote
1answer
23 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 ...
1
vote
1answer
97 views
harddisk not recognized / filesystem too large to mount safely on this system / hdparm shows garbage
I have a 4 TB Verbatim external hard disk with ext4.
It can be successfully mounted at my Raspberry Pi.
I am trying to plug it at my WD Mybook Live Duo device where I have SSH root access.
When I ...
3
votes
2answers
48 views
How to copy to a formatted image without root privileges?
I have formatted an image file using the mkfs command, and I would now like to copy files to that image file without root privileges.
I have already tried to mount the image to a local directory, ...
2
votes
1answer
25 views
Regarding identical copies of gedit files
When ever I save a gedit file in a directory, two copies of it get saved with identical content. Ex: If the gedit file is named as file_name and saved in Home directory then when u ls the Home ...
0
votes
0answers
51 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 ...
6
votes
1answer
147 views
monitor file permission changes
How can I figure out which process is changing the permissions of a file?
on a Debian server, I have the problem that something is changing the permissions on /dev/null every day at 6:20 (since 3 ...
1
vote
2answers
109 views
How to format a 1GB USB stick to FAT32 with 512 bytes sector?
I am trying hard to format a 1GB USB stick so that I can use it to install a new linux OS. Because the Disk utility has failed me when creating the file system. I tried to do it manually using fdisk ...
2
votes
0answers
19 views
Defining Languages Available at boot - LiveCD
I am trying to create a refined version of the buggy uck for customizing Ubuntu LiveCD ISO, here it is if you're interested in helping.
NOTE: The process is straight-forward, except when customizing ...
3
votes
0answers
60 views
Why are block sizes limited by page size in Linux?
In many (all?) file systems that Linux uses, including ext2/3/4, the maximum block size is the page size of the architecture Linux is running on, ie. 4KiB on x86. Why is there this limit? Might this ...
3
votes
4answers
91 views
mount info for current directory
I can do df . to get some of the info on the mount that the current directory is in, and I can get all the info I want from mount, but get to much info. I can grep it down, but am wondering if there ...
2
votes
1answer
27 views
Installing a new OpenBSD kernel “safely”: why does `make install` go through these extra hoops?
After building a new OpenBSD kernel, the install target of the kernel Makefile does the following:
rm -f /obsd
ln /bsd /obsd
cp bsd /nbsd
mv /nbsd /bsd
I understand that the first two lines remove ...
0
votes
2answers
52 views
Can the Operating System access a particular filesystem after it has been unmounted?
I have mounted a filesystem at a particular directory and I replace a file present in the filesystem.I now unmount the filesystem. Is there any possibility of Operating system accessing the replaced ...
0
votes
0answers
15 views
Proper file system for an External Hard Drive to work well on Linux [duplicate]
I have a External Hard Drive (EHD) I want to use to backup the data on my Linux laptop. I want to know how I should format my EHD for it to work correctly with Linux.
Thanks.