Tag Archives: FS

CentOS 6, and who opened the file?

Someone or something (a process) keeps one of your files opened. How to see who/what is doing this, if this file is on a storage on a CIFS partition, and not on a local machine. # lsof /media/cifs/problem-file And I … Continue reading

Posted in Linux | Tagged , | Comments Off on CentOS 6, and who opened the file?

Different HW, partitions, FSs

CPU x86 – 32 bit processor x86-64 – 64 bit processor, expanded x86 PowerPC – used in game consoles, can be 32/64 bit Itanium – IA-64, Intel replacement for x86-64, used almost exclusively for servers Linux can run as many … Continue reading

Posted in Linux | Tagged , , | Comments Off on Different HW, partitions, FSs

Linux file system – generally speaking

Linux uses FHS standard (filesystem hierarchy standard). FHS divides files into : * shareabile and unshareabile Unshareabile files have data concerning the system, and are NOT shared about 😉 * static and variable Static files are not often (or at … Continue reading

Posted in Linux | Tagged , | Comments Off on Linux file system – generally speaking

When FS goes RO and passwd file gets locked

Or, simply said, when file system goes read-only : I had to open a new account on RHEL, when I got this : # useradd -s /bin/bash user4 useradd: unable to lock password file That is easily solved, delete the … Continue reading

Posted in Linux | Tagged , | Comments Off on When FS goes RO and passwd file gets locked