Questions tagged [filesystems]

A file system (or filesystem) is a means to organize data expected to be retained after a program terminates by providing procedures to store, retrieve and update data, as well as manage the available space on the device(s) which contain it.

A file system (or filesystem) is a means to organize data expected to be retained after a program terminates by providing procedures to store, retrieve and update data, as well as manage the available space on the device(s) which contain it. A file system organizes data in an efficient manner and is tuned to the specific characteristics of the device. A tight coupling usually exists between the operating system and the file system. Some file systems provide mechanisms to control access to the data and metadata. Ensuring reliability is a major responsibility of a file system. Some file systems allow multiple programs to update the same file at nearly the same time.

1986 questions
0
votes
2 answers

different size on disk after copying with robocopy

I've copied a folder using robocopy by using the command switches /mt /s /e /copyall /np /nfl /ndl When I navigate to -> Right Click -> Properties I can see a significant difference in size on disk The source folder shows 1.1GB size on disk and the…
gabtzi
  • 103
  • 1
  • 5
0
votes
2 answers

File Operation not supported on Windows drives mounted on Ubuntu

My Windows drives are automatically mounted in Ubuntu. File operations on Windows drives had been going well until today when creating a directory on a nfts Windows drive is denied: $ mkdir /windows-d/tmp mkdir: cannot create directory…
Tim
  • 1,487
  • 6
  • 28
  • 43
0
votes
2 answers

Cannot format a drive once used in a ZFS pool

I have created a ZFS test pool with a drive - now I have pulled thet drive out and want to format it to EXT4 and use it outside of ZFS. I think the pool wasn't properly destroyed. Now when I plug the drive into a different machine running ZFS - the…
unfa
  • 171
  • 1
  • 8
0
votes
1 answer

Special characters on QNAP filesystem

I installed and configured a QNAP TS-463U-RP in a branch office to mirror data used by this office and the main office. Some time after the initial sync, I suddenly find special (maybe Unicode) characters in file- and directory names. Windows…
Lenniey
  • 5,220
  • 2
  • 18
  • 29
0
votes
1 answer

powershell get changed files and copy them

Trying to copy all changed files from a directory (recursively) to a new location, keeping the directory structure intact. I put the changed files into an array: $datechanged = ($datechanged).addyears(-3) $changedfiles = ls -recurse |…
aSkywalker
  • 555
  • 3
  • 9
  • 15
0
votes
1 answer

Allow users to edit their own files and folders

I'm setting up file and storage services on Windows Server 2016 wherein I wish to allow AD users to have their own folders under a common folder where they will save and modify files. However they can modify and save files under their own folder but…
0
votes
0 answers

why list of disks not printed with order from sfdisk or fdisk commands

we notice about this problem in last few days on one redhat machine ( version 7.2 ) we notice that order of the disks isn't according to the right order note - sda is the OS instead to get the order from small to end as the following…
shalom
  • 461
  • 13
  • 29
0
votes
1 answer

linux + how to identify disk health

we have linux redhat server version 7 we are suspects that one of the disks (/dev/sdc ) in the machine HW ( dell ) is in bad state, ( and that because required to do fsck from dmesg ) but we not sure , machine is on new HW and new disks we found…
shalom
  • 461
  • 13
  • 29
0
votes
1 answer

ls *.csv --ignore="*pattern*" returns files which contain "pattern"

Why does ls --ignore not ignoring the pattern? Looking at the below example: mkdir books cd books touch books_abby.csv touch books_karen.csv touch books_david.csv touch books_tom.csv This creates four files: $ ls books_abby.csv books_david.csv …
Greg
  • 1,657
  • 5
  • 27
  • 38
0
votes
1 answer

Restoring logical volumes to their original sizes after running lvreduce and screwing things up in CentOS 7

Should have read more on the subject before attempting this, but now I am much more informed... screwing things up tends to do that. Only learned of the shortcomings of xfs after the fact. The OS was apparently installed with the default partitions…
cjones
  • 127
  • 5
0
votes
2 answers

unison set owner of files

I'm copying files from my workstation to a dev sandbox, locally I don't have the www-data user, which is needed by my web server. Is there a way to set up an user_id for files synced by unison?
astropanic
  • 307
  • 2
  • 5
  • 18
0
votes
2 answers

GlusterFS SSL not working

I have been trying for hours to get GlusterFS SSL workong on the management and I/O path to no avail, so I hope you can help me. I have tried it the simple way: openssl genrsa -out glusterfs.key 4096 openssl req -new -x509 -key glusterfs.key -subj…
Chris
  • 76
  • 2
  • 6
0
votes
0 answers

Use a specific disk for database cache on Linux

I am running a Postgres instance for a ~200GB database (including data and indexes). It's on a Google Compute Engine server. My options for disk are either network block storage or local SSD. I'm wondering if I can use local SSD as a caching layer…
carbocation
  • 123
  • 3
0
votes
1 answer

mkfs with condition VIA ssh

I want to create filesystem on remote machines VIA ssh in my bash script disk=sdg the following line is from my bash script ssh $IP " [[ ` lsblk -f | grep $disk | awk '{print NF}' ` -eq 1 ]] && mkfs.ext4 -j -m 0 /dev/$disk -F " bash: -c:…
shalom
  • 461
  • 13
  • 29
0
votes
1 answer

linux redhat + how to overwrite the existing link quiet mode

is it possible to overwrite the exiting link Without to get fail/error with standard output 1 ? ( like mkdir -p ) ls -ltr /hadoop lrwxrwxrwx. 1 root root 12 Jun 25 12:51 /hadoop -> /data/hadoop ln -s /data/hadoop /hadoop ln: failed to create…
jango
  • 59
  • 2
  • 3
  • 12