Tagged Questions
4
votes
1answer
40 views
How to configure Linux to cache file metadata in preference to contents?
I’d like to set the system up to use most RAM for file system metadata caching, but only a reasonably small amount for read/write caching and prefetching files. Ideally I would like to be able to ...
2
votes
1answer
47 views
Is it Safe to write to linux Partition from Windows?
I do tasks some of which require Windows while some require Ubuntu and thus I sometime need to access linux from windows, though the reverse is easily possible.
So, I searched in google and got an ...
17
votes
4answers
813 views
What doesn't need defragmentation? Linux or the ext2 ext3 FS?
Why don't you have to defrag a Linux system? Because it's using the ext2/ext3 file system or because it's Linux?
That's relevant, because a have a double boot system (W7 / Ubuntu) and a common ...
5
votes
1answer
40 views
Finding all the hard-links of a file without traversing the file system
I have seen in this page that inodes have a link counter to know how many files (read: "directory entry") point to this inode. Is there a way to know which directories contain such entries without ...
2
votes
2answers
43 views
Can I use partitions made by Windows 7 in Linux?
I am planning to leave Windows and get to Linux (yet do not know which one, but it is not the question).
I was using Windows 7, I have 2 partitions (C:198 GB, D:488 GB). And I have a lot of documents ...
1
vote
2answers
112 views
How many files is equal to 1 inode
I am quite confused about the i-nodes. They say delete files to reduce the i-nodes but I have deleted 100s of log files from different cpanels on my server but inode count is still the same.
4
votes
0answers
69 views
why . and .. are listed when ls -a command executed? [duplicate]
When I execute the ls -a command, all files and folders in that directory listed, as well as . and .. are listed too.
Why is that? Are they a file or folder?
5
votes
4answers
158 views
Check if folder is a mounted remote filesystem
What is the best way (reliable, portable, etc.) to check if a given folder is on a mounted remote (nfs) filesystem within a shell script?
I am looking for a command that would look like:
...
3
votes
1answer
100 views
Equivalent of pvmove for BTRFS
Similar to the question I asked a while back. This one's a little easier? I can see there's volume management logic in BTRFS for removing/adding/rebalancing physical drives, but is there a tool to ...
1
vote
3answers
32 views
Is there a robust way to cache contents of usb on local hd?
I'd like to switch between working on a laptop with a debian vm and a desktop pc running debian while carrying all my work files in a usb. Is there a robust way to automatically start caching the ...
4
votes
1answer
81 views
Determining LVM Extent numbers for given file
I'm currently engaged in a non-work related homework exercise. I have an ext4 filesystem sitting on a logical volume. I'm testing different performance tuning strategies and this idea occurred to me. ...
1
vote
2answers
46 views
Information about the device files: /dev
ls /dev
command lists the device files.
How to know the associated drivers/major_numbers/minor_numbers with those device files?
1
vote
1answer
97 views
Creation of a WORM file
I wanted to create few files which are Write Once Read Many (WORM). How do I do this? I assigned a permission level of 4000 to a file. Also I have to set retention to the files.
So I created a file. ...
0
votes
0answers
53 views
Span a directory on an SD card and an attached USB stick
Can I span a folder on the SD card on my Raspberry Pi with a folder on an attached USB device?
I'd like to basically extend the size of a directory by using an attached USB memory stick.
I'm running ...
12
votes
2answers
399 views
Why is JFS so obscure?
When I first got into using Slackware years ago I quickly learned to love JFS over ext3 or reiserfs given that it was reliable and if there was an unclean shutdown, its disk checking was very very ...
1
vote
2answers
77 views
Cannot access any files Manjaro Linux
I cannot open any files on my Manjaro Linux laptop. I really can't remember why it happened but I restarted my computer and now I dont have read/write access to any folder or file even though I've ...
1
vote
0answers
59 views
/dev/shm/ecryptfs-$USER-Private keeps climbing in Kubuntu 12.10 Install
I'm having a problem with an installation of Kubuntu 12.10 with an encrypted home directory. I've been trying to figure it out for several weeks. For transparency, I'll note here that I posted this ...
2
votes
1answer
62 views
How to place big file on two disks without splitting?
I have a file 100gb in size and a server with two 72gb disk's.
The server runs Ubuntu Linux, with ext4 on the disks, and without LVM.
How I can put the 100gb file on the server with 72+72gb disk's?
...
-4
votes
1answer
83 views
File attributes does not exist in Linux? [closed]
There is no equivalent of Window's file attributes for Linux ?
0
votes
2answers
127 views
Writing a Linux file system for NFS
I want to write my own custom file system in Linux. Can I share it over standard NFS without making any changes to the local NFS server? If so what VFS APIs are required to be implemented by my file ...
0
votes
2answers
889 views
Should a laptop user switch from ext4 to btrfs?
Related to this.
I'd like to take advantage of an OS switch to upgrade to BTRFS.
BTRFS claims to offer a lot (data-loss resiliency, self-healing if RAID, checksumming of metadata and data, ...
2
votes
2answers
147 views
dynamic file system with hooks
Is there anyway in linux (I don't care which distribution or flavor) to have a dynamic file system with read/write hooks? For example I would like to mount a dynamic file system at /dynamic and ...
4
votes
2answers
152 views
FHS differences between OS X, Linux and FreeBSD
I've read that there is a different behavior between FreeBSD and Linux with the /usr/local, in FBSD ports are installed there, in Linux not, can someone explain more on this?
I'd like to know where ...
1
vote
1answer
89 views
Cannot execute files on another partition
On my system I have three partitions: one is shared between W7 and Linux Mint (NTFS), and the other two are OS-specific.
In my home directory I have created a symbolic link to another directory on ...
4
votes
2answers
229 views
What are the advantages of the Unix file system structure
If I install an application in Linux for example Debian/Gnu Linux, the files of the applications are copied to many different directories in the file system.
Some scripts goes into /usr/share .. ...
1
vote
1answer
104 views
Filesystem with 1Mb block?
I'd like to make a partition for keeping ISO images of nightly builds. Most of files will be bigger than 1Mb. Unfortunately ext2/ext3/ext4 supports only 4Kb blocks.
# mkfs.ext4 -b 1048576 -L DISTR -m ...
2
votes
2answers
807 views
Create and format exFAT partition from Linux
Is it possible to create and format an exFAT partition from Linux?
1
vote
1answer
190 views
Identify text/ascii files in Linux/Solaris
I have a little project to build bash script that search in the OS ( Linux/Solaris ) the current IP address from files and replace them with other IP address.
The problem is that IP address could be ...
0
votes
0answers
76 views
Creating a Virtual filesystem to boot linux
I am trying to boot the linux kernel (bzImage) in QEMU but have had issues. After asking on U&L I found out that my problem was that I was booting the kernel without a filesystem to boot from. So ...
12
votes
3answers
643 views
File system compatible with all OSes?
I use Linux and Mac OS X on a regular basis, and sometimes I have to use Windows. I need to use a flash drive on all three, and I need a filesystem that will work well on all of them. None of the ...
1
vote
0answers
23 views
How can I access (including read and write) a linux file system from a windows machine on the same network [duplicate]
Possible Duplicate:
How to share files between Linux and Windows?
I have a Linux virtual machine (Hyper-V) acting as a web server on my network. I would prefer to browse it's file system ...
1
vote
2answers
363 views
Must the filesystem be unmounted while extending an LVM logical volume?
I have seen some tutorials on extending an LVM2 logical volume. None of them instruct you to unmount the filesystem. They claim that you can extend an LVM volume while it is in use. Is this right?
1
vote
1answer
191 views
convert /dev/md0 to /dev/sda1
I used a Software-RAID I and want to access the data without RAID now.
After
mdadm --fail /dev/md0 /dev/sda1
mdadm --remove /dev/md0 /dev/sda1
I tried
mount -t ext4 /dev/sda1 /mnt
but dmesg ...
-1
votes
3answers
534 views
What is the best File system for NFS? [closed]
I'm looking for a File System that handle intensive IO so NFS can serve mounting /home for multiple(<50) users.
Actually we do ext3 over NFS, but perfs are not good.
I Already read this1 (NFS ...
2
votes
1answer
168 views
Sphinx Search shutting down after `FATAL: accept() failed: Too many open files`
I'm running Sphinx Search Server V2.06 ( the latest stable release ) on an Amazon EC2 with Linux CentOS. In general it is running fine, but the searchd.log is showing this error over and over with ...
2
votes
1answer
159 views
Any command to view the file system internal fragmentation size under a directory?
If the block size of a file system is 4KB, then for a 1KB file, 3KB space(which is internal fragmentation) is wasted. So, under a directory, is there any command to summarize how much disk space is ...
3
votes
2answers
784 views
What causes /dev/disk/by-label to be populated?
I've noticed that Linux distributions typically have a /dev/disk/by-label directory, but this isn't always the case (For example, the CirrOS Linux test image doesn't have one).
What's required on a ...
3
votes
1answer
130 views
Unix and Linux without a file system?
I was reading Eric Raymond's the Art of Unix Programming, (Amazon and online) and at the very beginning of the book where he analyses what Unix does wrong he says:
Having a file system at all may ...
2
votes
2answers
387 views
How to show the filesystem type via the terminal? [duplicate]
Possible Duplicate:
How to tell what type of filesystem you’re on?
Find filesystem of an unmounted partition from a script
How can I quickly check the filesystem of the partition? Can I ...
0
votes
0answers
19 views
What are the folders at the root level used for on linux? [duplicate]
Possible Duplicate:
How does the Linux file structure work?
Long have I seen this directory listing (or others like it) when doing an ls /:
bin dev home lost+found opt root sbin ...
0
votes
1answer
295 views
Does using lvextend destroy data already on the volume?
Does resizing a logical volume with lvextend and e2resize destroy data already on the volume?
See also this related unanswered question and some examples of the process:
Can I resize the root ...
4
votes
1answer
492 views
what is the difference between “chmod 775” and “chmod 2755”?
Question
What is the difference between "chmod 775" and "chmod 2755" ?
0
votes
1answer
64 views
/ permissions on a linux filesystem
Does the / have permissions attached to it? If so what are they and what command do you run to find out?
The reason why I ask this is to know weather a NFS mount reflect this if your export is set to ...
9
votes
1answer
392 views
What is Linux doing differently that allows me to remove/replace files where Windows would complain the file is currently in use?
The example I have is Minecraft. When running Bukkit on Linux I can remove or update the .jar files in the /plugins folder and simply run the 'reload' command.
In Windows, I have to take the whole ...
3
votes
3answers
182 views
Why do I get 3048 MB from a 64 MB flash memory?
I have a Linux based STB (set-top-box) and it features a 64 MB flash memory and 256 MB of RAM. I wanted to take a backup of some of my settings before I flash it with another image, but I wasn't sure ...
6
votes
2answers
667 views
Can I watch the progress of a `sync` operation?
I've copied a large file to a USB disk mounted on a Linux system with async. This returns to a command prompt relatively quickly, but when I type sync, of course, it all has to go to disk, and that ...
4
votes
5answers
964 views
How to clean up unnecessary files
Please suggest me any particular unnecessary file that I can clean to back everything to normal condition(temporarily). (i.e. any log or archieve or anything ). My var/log has only 40MB and Home ...
3
votes
2answers
1k views
how to find (and delete) all empty directory in my home directory recursively? [duplicate]
Possible Duplicate:
How to remove all empty directories in a subtree?
I create directories very often, scattered over my home directory, and I find it very hard to locate and delete them.
...
2
votes
1answer
508 views
file system uid and gid in linux
I came across a linux kernel tutorial and there they talked about 4 pairs of identifiers and one of them was file system uid and gid.
Could someone explain me what it is and how it is different from ...
3
votes
1answer
195 views
How does the Linux file structure work?
I see the different folders bin, dev, mnt, proc, srv, sys, etc.
What are the properties of all these different folders? What are there purposes? Are there files in some of them that I should not ...



