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.

learn more… | top users | synonyms (1)

0
votes
2answers
1k views

Ext4 self errors after some time on CentOS 5.8 64-bit

I get such warnings in dmesg: EXT4-fs error (device md2): mb_free_blocks: double-free of inode 0's block 602619328(bit 15808 in group EXT4-fs error (device md2): mb_free_blocks: double-free of inode ...
0
votes
0answers
102 views

Linux filesystem ext4 fragmentation

I have a question about the filesystem ext4 and disk fragmentation: Does ext4 place files in the same directory near or next to each other on the disk? And if so how is it fragmented, for example is ...
3
votes
1answer
45 views

Why would a bind mount unmount unexpectedly?

I have configured some bind mounts on all users's home directories to access a shared directory (or parts of it) that is somewhere else in the file system, so I have entries like these on my fstab ...
3
votes
1answer
2k views

Converting BTRFS filesystem to RAID1 fails with “Inappropriate ioctl for device”

I had a ~1.6TB BTRFS volume on a single partition, to which successfully I added another freshly created and formatted partition (on another device) of exact same size with the intent of mirroring ...
0
votes
1answer
82 views

Fiberchannel disk Centos6.5

I got some fiberchannel disk shelves including several 300Gb SCSI drives and a HP c7000 blade system with multiple blades in it. As there is no storage controller (filer) available i have to do it ...
14
votes
7answers
9k views

Copy permissions to identical tree on linux / unix

i have a tree of files with correct permission. then i have a (filewise) identical tree (with different file contents tough) with wrong permissions. how can i transfer the permissions layout from ...
1
vote
1answer
187 views

Where to install GRUB 2 boot loader?

I have: sda and sdb which partitions is forming mirror RAID md0 md1 md2 md3 During update process, I was prompted where to install GRUB boot loader - on sda, sdb, md's or all together? What ...
2
votes
4answers
15k views

How to format a partition under FreeBSD

I want to format a partition under FreeBSD and change it to UFS filesystem. I searched the web but even the "fdisk" man page is not clear at all. Any help would be clearly appreciated ! My current ...
22
votes
9answers
21k views

Best way to compare (diff) a full directory structure?

What's the best way to compare directory structures? I have a backup utility which uses rsync. I want to tell the exact differences (in terms of file sizes and last-changed dates) between the source ...
4
votes
11answers
1k views

Things to consider when building a file server? [closed]

I'm planning on building a file server for my home network, and I want to know what I should look out for in building the machine. I was thinking of just building a crappy linux box with a slew of ...
1
vote
4answers
2k views

Accidentally formated external usb harddrive (500GB) with bootable iso (1GB), how can I recover my data?

I was attempting to create a bootable usb thumbdrive from the ubuntu install cd using UNetBootin. Unfortunately, I accidental wrote the live cd to my 500gb usb external drive (which was almost ...
3
votes
1answer
87 views

Read only permissions still allows to save

I have a weird permissions situation that I can not explain. Let me explain my users and group and then show you the folder permissions. drwxrwsr-x. 2 jenkinsuser applog 4096 Jul 15 09:56 . ...
2
votes
1answer
636 views

Arranging a raidz3 ZFS vdev to tolerate entire JBOD failures?

Let's say I'm going to build a very large 1PB zpool. I'll have a head unit with the HBAs inside of it (maybe 4 port LSI SAS cards) and I will have perhaps 7 45-drive JBODs attached to the head unit. ...
1
vote
1answer
198 views

How can I place /tmp, /var, /opt, and /usr/local into a /data partition instead of the / partition?

I want to partition a CentOS 6.5 server that has 4 RAID VDs: sdb - 102398 (100GB) sdc - 2185727 (2TB) sdd - 11440639 (11TB) sde - 11440639 (11TB) So that I can have the majority of the disk space ...
2
votes
5answers
6k views

Alternative to robocopy /MIR

We run a number of web apps that store a lot of local data in small xml files. One part of our backup / recovery strategy is to produce a local mirror of the file system via a VPN to the hosting ...
0
votes
0answers
150 views

zfs checksum verfication failed, solaris booting failed

Looks like my solaris 10 got hosed overnight for unknown reason. I get below error while booting and also when trying to cat menu.lst file in grub. Hard disk is being detected by ubuntu so it may not ...
0
votes
1answer
43 views

File attributes on a NAS Drive not reporting user information

We have a Synology NAS drive attached to a server 2012 network, but the file attributes do not report who last modified any of the files? Does the NAS need to be reconfigured or is it a configuration ...
0
votes
1answer
62 views

Deleted File, Available Space Did Not Return [duplicate]

On CentOS linux, I just deleted a large log file over 3gb on XFS file system. After deleting the file, the available file space did not return to the drive seen via df -h. Is there anything I can do ...
1
vote
1answer
1k views

Remount root RW without reboot

Today I did something stupid on production xen vm server. I mounted the external device mapper as read only to make a copy of the filesystem. This process went well but then the rootfs / become ...
4
votes
1answer
281 views

Should I exclude all 'dev/' or only 'dev/pts/' during full server tar backup?

I'm curious why in all backup tutorials I found tar command excludes among others /dev/pts and not all of /dev/ Why would I want to backup anything under dev?
2
votes
1answer
252 views

How to get best performance: storage cache server (small files) with for 4 disks (3TB's)?

We're preparing a cache storage server for some small files that will be cached for a few days (so HDD will have more reading then writing). All files are rather small around 100 to 500KB a file, but ...
-2
votes
1answer
25 views

Separate io input/output in linux [closed]

My question is really short. Sometimes we have to separate i/o from a machine for example case of remote file system ? Why we do that ?
1
vote
1answer
157 views

Does fsfreeze flush FS caches?

If I run fsfreeze on a mounted filesystem, it will not be possible to perform new "write" operations on that FS until it is unfrozen, and "ongoing" writes should "complete". Now, will fsfreeze also ...
2
votes
1answer
554 views

How to sync SVN repository with a remote FTP filesystem

I configured a Centos server locally(in-office) which contains a SVN repository with a project. Many developers are working on this repository and making changes. Also I have a remote server which ...
-1
votes
2answers
272 views

Server Disk Space Calculation - Errors No such file or directory [closed]

When i do a du -h --max-depth=1 in my server i get following errors coming up, du: cannot access `./proc/13379/task/13379/fd/4': No such file or directory du: cannot access ...
0
votes
2answers
440 views

Is atime/mtime updated on fopen, fread/fwrite and/or fclose?

I'm just curious; Is atime updated on fread, fopen and/or fclose? What about mtime? Is it updated on fopen, fwrite and/or fclose?
0
votes
1answer
159 views

Copying files with tilde has odd behaviour

It's pretty simple to replicate. Create a folder with file "ABC123~1.txt" Create a folder with file "ABC 123.txt" Try to copy the file from the first folder to the second... windows asks if you ...
-2
votes
2answers
54 views

Deleting file in tar mounted with archivemount?

archivemount allows rw-mounting tar archives. What happens when I delete a file? Is it actually removed from the tar archive? Is a delete flag set? If the file is actually removed, then I assume the ...
4
votes
4answers
14k views

Debian, How to convert filesystem from ISO-8859-1 into UTF-8?

I have a old pc that is running Debian stable, that is in need of a upgrade. The problem is that it is using latin1 (ISO-8859-1) for everything, and since the rest of the world has moved to UTF-8 I ...
1
vote
1answer
2k views

prevent filesystem from entering read-only mode

I have found that my server's filesystem is continuously entering read-only mode. There have been some issues with the raid1 array, but I have removed the bad disk from the array. However, it is ...
2
votes
4answers
14k views

Can't mount nfs volume - time out

I have an NFSv3 export from a Linux fileserver which used to mount fine. The fileserver had to go down for hardware maintenance. After bringing the server back up, the Linux client can no longer mount ...
5
votes
6answers
4k views

“Mount” cloudfiles on a Linux server?

Is it possible to 'mount', for ignorance of a better term, a cloud service like as Cloud Files or S3 to a linux / ubuntu server? Ideally I'd like to be able to browse the remote location as if it ...
0
votes
2answers
2k views

mkfs.xfs: libxfs_device_zero write failed: Input/output error

I can't find a way to create a filesystem on one of my disks. first i'm geting the following output: [root@~]# mkfs.xfs /dev/sdb1 mkfs.xfs: /dev/sdb1 appears to contain a partition table (dos). ...
0
votes
3answers
136 views

lamp — edit PHP file but doesn't change web output — including die()

Server is standard Linux server on Amazon Web Services. Cent OS 5/Apache/PHP 5.3. No APC. It's worked fine for over a year, but now when I edit some but not all PHP files on the server using vi, the ...
2
votes
2answers
2k views

Remove invalid SIDs from filesystem ACLs in Windows

Is there an automated way to traverse a filesystem and remove any ACL entries that reference invalid SIDs in any version of Windows with NTFS?
2
votes
2answers
846 views

How can I access user files on a disk moved from a Windows 7 machine to an XP machine?

I moved the hard drive from one machine (Win 7) to another (XP) and now certain folders tell me "Access denied". I am logged in as an administrator. I had a different account on the other machine. ...
2
votes
3answers
2k views

zfs rename/move root filesystem into child

Similar question exists but the solution (using mv) is awful because in this case it works as "copy, then remove" rather than pure "move". So, I created a pool: zpool create tank /dev/loop0 and ...
6
votes
2answers
1k views

Copy directory tree without empty directories?

I have the following tree # upper letters = directory # lower letters = files A |-- B |-- C |-- D |-- e <= file |-- F |-- G I need to copy this tree to another destination, ...
0
votes
0answers
99 views

How to access files on Linux server from windows faster than with Samba network drive?

I can remotely access my files at work via Samba. Unfortunately, on my laptop with Windows 7 I have serious lags when accessing this directory and working on its files. I just use a network drive ...
3
votes
2answers
150 views

can 'Percona MySQL Data Recovery' be used to recover dropped tables if the datadir filesystem is mounted as /

according to Percona: Unmount the filesystem or make it read-only if... You have filesystem corruption OR You have dropped tables in innodb_file_per_table format If I have innodb_file_per_table ...
-2
votes
1answer
173 views

Shared storage solution for Debian Wheezy [closed]

I need to setup a new infrastructure which provides high available shared storage between debian servers. Our current solution is a "clustered DRBD NFS solution". We have setup 2 virtual file ...
2
votes
1answer
205 views

What is the mrxdav.sys file and what file system is it used for?

I'm looking to know more about the mrxdav.sys file on Windows machines, and what is the difference between it and ntfs.sys, cdfs.sys or fat.sys?
24
votes
7answers
3k views

Do I need to defrag unix filesystems?

I know Windows file systems are very sensitive to fragmentation and Unix such as UFS, ZFS, ext3, or ext4 are not as sensitive. But, is there any reason to defragment these filesystems at all? If so, ...
3
votes
1answer
45 views

what exactly does fsck do under the covers (for UFS)?

If a computer crashes then the filesystem is an inconsistent state. What exactly is fsck(8) doing to restore to a usable filesystem? Is there a backup table? Is it cross-checking metadata? ...
3
votes
3answers
2k views

Robocopy hiding folders on backup drives

I have a backup batch file that uses Robocopy to backup my files (note this example contains newlines that you should remove): robocopy "C:\" "G:\Default\RoboCopyBackup\C" /XF Pagefile.sys /XD ...
2
votes
1answer
112 views

How do I replace the root filesystem (ext4) with a new one in LVM with one which has more inodes?

I have a few systems which have been running over a decade in a cluster on SLES 10 (now long past EOL). We're migrating to CentOS 6 64-bit. I got everything done but the final data syncs, and lo and ...
3
votes
3answers
312 views

Maintain setgid bit (after bower install or gulp build)

We run web servers where we have the following situation: The www-data user runs the web server and must have read+write access to the files The deploy user deploys all the code The bob and alice ...
1
vote
0answers
257 views

Service running over network : Windows cannot access the file for one of the following reasons…appears once per day, How to troubleshoot?

Our prod. setup is one web server, one sql server and one application server. On application server we have services installed which located one the sql server. We never had problems accessing the ...
1
vote
1answer
1k views

Loss of data when trying to fix ext4 “group descriptors corrupted!”

When I try to mount an existing disk, I get the message sudo mount -t ext4 /dev/sdc1 /data mount: wrong fs type, bad option, bad superblock on /dev/sdc1, missing codepage or helper program, ...
14
votes
2answers
2k views

Does btrfs have an efficient way to compare snapshots?

While diffing mounted snapshots would work, it sounds like it could be horribly slow in many cases. Is there btrfs specific functionality for diffing snapshots? (I was unable to find any in the docs) ...