fsck -n /dev/nandb giving errors . how to solve fsck errors [closed]

Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 3 years ago. Improve this question I want to know how to solve this error? help me out!! INPUT “fsck -n /dev/nandb” OUTPUT fsck from util-linux … Read more

How can I “trick” an ext3 directory to store more than 32000 sub dirs

The easy answers are 1.) move to ext4 and/or 2.) “shard” the directory somehow – by placing them in sub folders either numbered or lettered. These changes won’t be easy to make though so I’m looking for some creative solutions. Any ideas? Answer Really you should not choose a “creative” solution if you have a … Read more

Nagios: Any point in monitoring /proc/sys/fs/inode-nr when also using inode monitoring in check_disk

We are using the standard Nagios check_disk plugin which has the ability to monitor the inode usage on a system. We also have an in-house plugin which checks the data in /proc/sys/fs/inode-nr. Because the standard Nagios plugin is configured to monitor inode usage, is there any additional benefit in monitoring /proc/sys/fs/inode-nr too? Thanks Rich Answer … Read more

make vfs linux cache more inclined to keep inodes over actual file contents

I am using a centos 5 (2.6.18-194.el5). I need to be able to list files very quickly, in order for my rsync backup to be efficient. I don’t really need to cache file contents, because file access response time isn’t that important. I’ve got hundred million files and they keep being added and removed, and … Read more

Where do ext3 inode / meta-data reside?

Just a quick question about ext3: Are inodes stored in the same area as file data, or are there separate regions on the disk reserved exclusively for meta-data and others reserved exclusively for file/directory-content? Reason I’m asking: If fsck is clearing/deleting/rewriting something that it thinks is an “inode”, could it actually be messing with file … Read more

Quota limit in a shared host envirionment

people! I’m studying Linux for taking the LPIC-1 exam. When studying quotas, I was wondering something: Since you can overflow a disk space creating an infinite number of 0 bytes files, setting a user quota by iNodes would be wise. However, if you imagine an environment of a shared hosting service, I think there isn’t … Read more

How to avoid symlinked files shared by Samba from looking like duplicate files (different inode numbers)?

I often have directories on a Linux server where symbolic links are used for alternative names for subdirectories or files (e.g. maintaining a “latest” symbolic link to a directory with the latest version, but also for things like “Philips” linking to “NXP/Historic”)… but when seen by Samba clients (assuming symlinks are allowed to be followed) … Read more

Lustre: inode/files quota: dependent on striping?

My understanding of the Lustre file system is that every file uses one inode on a metadata target (MDT), and then one inode per stripe on the object storage targets (OSTs). My question is, which of these numbers counts towards my file number (inode) quota? If I have 1000 files, each with (for example) four … Read more