General :: Filesystems - Where To Find A Description Of File System Mount Options
Aug 28, 2010Is there some file in Linux that enumerates and describes mount options for file systems like /etc/services describes ports?
View 2 RepliesIs there some file in Linux that enumerates and describes mount options for file systems like /etc/services describes ports?
View 2 RepliesI need commands which five me the following details abt all the file systems mounted the linux box
type
mount pt
file system id
One of the good points of linux is that is easy to customize the partitioning scheme of the disk and put each directory (/home, /var, etc) in diferent partitions and/or diferent disk. Then we can use diferen file system/configurations for each of them for make them better. xamples:
noatime is a mount option to not write access time on the files. data=writeback is an option to layz write metadata on new files. ext3/4 has journaling that make the partition more secure in case of a crash. bigger blocks make the partition waste more space, but make it faster to read and may become more fragmented. (not sure) Then: What are the best filesystem/configurations for each directory? Note: given the answer of Patches, will only discuss /, /home and /var only.
/var -> It's modified constantly, it write logs, cache, temporal, etc.
/home -> stores important files.
/-> stores everything else (/etc and /usr should be here)
Is there any way to know which process had created any file in Linux Red Hat/CentOS 5?
View 2 Replies View RelatedI have a 500GB external drive I want to use on a couple of Linux systems, and looking for a filesystem for it. External drives are frequently formatted in FAT32, but I don't need to interoperate with Windows and would rather avoid the ugly limited kludge that is FAT.
Since I only need to use it on Linux, I would use ext4 or XFS, but they store ownership information. Ideally, I'd use a proper Unix file system that doesn't track ownership (files are owned by whoever mounts the device, like they are when mounting a FAT32 partition), but I do not know of any file system that does that.What would be a good file system for this disk?
I've been using *Unix systems for many years now, and I've always been led to believe that its best to partition certain dirs into separate FileSystems, off the main root FS.
For instance, /tmp /var /usr etc
Leaving as little as possible on the main / system.
Its so that you don't fill up the root system be accident, by some user putting in too bigger files in /tmp, for example.
I would presume that filling the / system would not be too good for Linux, as it would not be able to write logs and possibly other things that it needs to.
I believe that if root gets full, then there is something like a 5% amount saved for just 'root' to write to, so that it can do its stuff.
However, eventually, / will become full, and writes will fail.
On top of this, certain scripting tools, such as awk, use the /tmp/ system to store temp files in, and awk wont be able to write to /tmp/ as its full, so awk will fail.
However, I'm being advised that there is no need to put /tmp /var etc onto separate FSs, as there is no problem nowerdays with / filling up. So, /tmp /var /usr are all on the root FS.
I'm talking about large systems, with TBs of data (which is on a separate FS), and with a user populations of around 800-1000 users, and 24/7 system access.
I have a microphone that I connected via USB. When I do dmesg it shows [37830.040274] usb 5-1: new full speed USB device using uhci_hcd and address 4 How do I find out what /dev/??? identifier has been associated with the device? I want to record something using XVidCap and need to set the microphone for it to work.
View 5 Replies View RelatedI'm wondering where I can find description of mpstat output?.. I'm talking about the output of all available counters presented by mpstat. For instance:
Code:
$ mpstat -Au
Linux 2.6.31-19-generic (lenovo-S102) 02/19/10 _i686_(2 CPU)
17:32:15 CPU %usr %nice %sys %iowait %irq %soft %steal %guest %idle
17:32:15 all 36.00 0.18 10.39 0.73 0.08 0.03 0.00 0.00 52.60
17:32:15 0 36.81 0.15 11.58 1.14 0.16 0.04 0.00 0.00 50.11
17:32:15 1 35.26 0.22 9.31 0.34 0.00 0.02 0.00 0.00 54.86
[Code]...
where I can to find mapping between man section number and it's description in standalone mashine.In other words, where I can to find description of some man section when I have not connection to Internet? For example:
1 -> User commands
2, 3 -> Linux programmer's manual
and so on..
Is it possible to write/edit files on HFS+ drive from Linux? Yes I need to disable journaling but how can I disable journaling from Linux? I dont have access to mac.
Or any tool available for doing this?
I have to use alsa for audio to work under wine (otherwise pulseaudio starts eating up processor cycles and the audio comes out horrible and distorted), but I have been unable to use the mic. The mic boost is up on the alsa mixer, and they are not muted. I cannot find any options under my system menu for Sound Preferences (which seems to get references in a lot fo help forums), or anywhere else to determine which audio driver the line in on the front uses.
I'm using an Acer laptop from a couple years ago, so support should be no problem.
My home server runs Debian Lenny, and I'm about to upgrade the system drive to a larger drive.In the process, I want to take the opportunity to reorganize the partitions and resize them. For learning purposes, I'm planning to migrate from an MBR partition table to GPT.Because of those two changes, I can't just run "dd if=/old/drive of=/new/drive" (well, not without lots more work afterwards). I could use the debootstrap process to get a fresh installation on the new system drive, but I used that technique during the last system upgrade and it's probably overkill for this.Can I just copy the partitions from the old drive to the new?Will "dd if=/dev/hda1 of=/dev/hdb2" work, assuming /dev/hdb2 is larger than /dev/hda1? (If so, the filesystem can be resized to take advantage of the new larger partition, right?)Would parted (or gparted) be a better tool for copying the contents of the partitions?
View 3 Replies View RelatedI am getting an error while booting my linux system: Can't mount root file system.Boot has failed, sleeping forever.OS is Red hat enterprise linux 6, With Intel P4, 1 GB Ram, 120 GB IDE hdd seagate. it was working fine from last 4 days. from today morning this is giving error. only mysql & apache is installed in it.
please suggest is there any way to repair the root & boot volumes. waiting for valuable reply.
how can i mount ntfs file system in linux
View 3 Replies View RelatedI have a bunch of disk images, made with ddrescue, on an EXT partition, and I want to reduce their size without losing data, while still being mountable. How can I fill the empty space in the image's filesystem with zeros, and then convert the file into a sparse file so this empty space is not actually stored on disk?
For example:
> du -s --si --apparent-size Jimage.image
120G Jimage.image
> du -s --si Jimage.image
121G Jimage.image
This actually only has 50G of real data on it, though, so the second measurement should be much smaller.
This supposedly will fill empty space with zeros: cat /dev/zero > zero.file rm zero.file But if sparse files are handled transparently, it might actually create a sparse file without writing anything to the virtual disk, ironically preventing me from turning the virtual disk image into a sparse file itself. :) Does it? Note: For some reason, sudo dd if=/dev/zero of=./zero.file works when cat does not on a mounted disk image.
I tried curlftpfs and can copy files etc., but opening media files in totem or vlc fails with read errors.I'd try to use gvfs-mount instead, but don't know how to pass an option similar to custom_list="LIST" which tells curlftpfs to use LIST instead of LIST -a.
View 1 Replies View RelatedI'm trying to mount a second hard drive as a ext3 (rw_acl,user_xattr). I type the ff.:
# mkfs.ext3 -c /dev/sdb1(it seems to create a file system from this 2nd HD)
then type:
# mount -v /dev/sdb1 / type ext3 (it seems to mount it)
But when I check the ext3 systems with typing:
# mount -t ext3 (to check the list of ext3 devices, it gives me this)
/dev/sda1 on / type ext3 (rw,acl,user_xattr)
/dev/sda2 on /home type ext3 (rw,acl,user_xattr)
/dev/sdb1 on / type ext3 (rw)
How can I make /dev/sdb1 on type ext3 as (rw,acl,user_xattr) as the others?
How to find file by content on linux by command. Example: i want find file contain word "helo" on my computer (OS: LINUX)
View 4 Replies View RelatedI'm very happy with 10.04 but want to take a look at 10.10. I can't seem to find a list & description of all the new features.
View 6 Replies View RelatedI have considered a range of choices, but at the end of the day the choice I make can quite easily put into a situation that requires even more thinking.
The idea is to have an enormous file system for SAMBA that can scale from terabytes to petabytes. Such as a single directory with say 4 million MP3s in my iTunes collection. iTunes cannot use multiple drives easily.
There are lots of vendors that have offerings galore, I wanted to see what can be done with a roll your own approach.
I need to enlarge the root file system on a Slackware 13.0 32-bit system; it's in a simple logical partition (/dev/sda6) -- no LVM, mirroring etc. This might be a good opportunity to change from ext4 to jfs, too.Routine procedure, no? No!First off I booted Knoppix 5.31 but found it doesn't have ext4 support (no efs2ck and running fsck results in "fsck.ext4: not found").So I booted Slackware 13.0 32-bit CD-1 only to get the same as with Knoppix.I do have a GParted-liveCD 0.3.4-11 but have had mixed experiences with it so am reluctant, despite having backups.
View 11 Replies View RelatedI have servers where the disk is partitioned into OS and application partitions. The application is rather sloppy with its file handles, and frequently when there is a system crash, its file systems get corrupted. This will cause fsck to halt the boot, requiring me to get on a remote console, enter the root password, and fsck the file systems.
Is there a way to have just the OS partitions get checked and mounted, then check the application systems, only after the OS is loaded, so I can ssh into the system, instead of having to use a bandwidth-hogging remote console?
The app partitions are already at fsck level 2 in /etc/fstab, but this doesn't prevent OS loading from halting. If I set the fsck level to 0, I don't want the application to start if the partitions are unavailable. Should I just leave the fsck level at 0? Or should have the partitions marked "noauto", then have a startup script run fsck and mount the app partitions?
I'm dual booting with Windows 7 and would like to have my windows 7 user folder mount when I boot.
After some looking around I edited /etc/fstab to add the following line:
This works. But it mounts the windows partition from the root level. I'd like to just mount C:UsersFHSM (/Users/FSHM) to /mnt/windows.
I'm trying to get it so that when I click on the windows drive I get my windows user folder instead of having to click through from C: to get to it.
I'm the only user on this system but if I created a second windows user would my home folder mount for that person too or does setting the user ID prevent that from happening?
I had a drive that kept kernel panic'ing so my data center recommended using the spare hard drive to reinstall OS on, and import the data from the old drive. (they checked the hardware, it wasn't the hardware) The new install is done, and I need to mount the old drive and get backups off it since my data center does not provide management whatsoever.
It's the same OS on both (Cent OS 5.4 32-bit) I'm an advanced user on windows, but linux gets me. I can ssh in, do basic stuff like setup IP ranges and restart services. I normally navigate the box through SFTP so I have a gui. WHM shows me my drives as such
Found Disk: hda
Found Disk: sdb
so I'm assuming SDB is my old drive and the drive I need to access. I attempted to follow instructions on
cyberciti.biz/faq/freebsd-adding-second-hard-disk-howto/
but I'm assuming FreeBSD would work differently and I wasn't totally sure what the labels of the file systems should be.
hen i try to mount Cruzer Blade 16GB on Ubuntu Im told that "Unable to mount 16GB file system Not authorized.@
View 15 Replies View RelatedHow to find continuously growing files in the file system?
View 11 Replies View RelatedWe have recently built some RAC (OS:RHEL55) servers and after the Oracle guys have installed their application, somehow the directory / is using the maximum space. I contacted the Oracle team & they say that their RAC installation doesn't create any files in the / directory. This is the o/p of '/' directory file system:
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/datavg-vol2 498M 382M 62M 88% /
Also, when I checked the file sizes, I found that the following files were taking more space:
/etc/selinux/targeted/modules/active/
-rw------ 1 root root 17M Nov1 base.linked
[code].....
I don't know what these files are doing there, when I did a cat and cheked, I found the files containing this data:
nf_tre--
stem_dbusd_var_run_t...and some stuff like this Unable to decide whether or not to remove these files. Also, is there any way to find out what files are taking more space and whether they can be deleted or not? in order to free up some space in the / direcoty. As there are 10 RACs that we've build, I got to do something to fix this for all of the 10 servers.
Found the below from RedHat Knowledgebase
The Completely Fair Queuing (cfq) scheduler in Red Hat Enterprise Linux 5appears to have worse I/O read performance than in version 4. It appears as though the Completely Fair Queuing I/O scheduler (cfq) has a regression and thus exhibits reduced read-side throughput which can affect performance for both local and NFS mounted file systems.
One way to mitigate this is to set the cfq's slice_idle parameter to zero. To change this value, execute the following command echo 0 > slice_idle in the /sys/block directory appropriate for your situation, as shown below:
echo 0 > /sys/block/hda/queue/iosched/slice_idle
We are using NFS file systems in RHEL 5.3. I would like to know how to find which /dev/Device is being used by the NFS file systems, so that I could try setting the slice_idle to '0' to see if there is any difference in performance? In /etc/fstab I only see the actual NAS volumes for the NFS file systems.
I have created a new file system (fuse) which works fine and is mounted in the local host. I want to be able to mount it from another host. I added it to /ect/exports: /mnt/ltfs *(rw,sync) And restarted nfs. Then from my client host I type:
mount -t nfs myHostName:/mnt/ltfs /mnt/data1
Where /mnt/ltfs is on my local host and /mnt/data1 is on the client host. Note that this is a "FUSE" file system so here is it's local "mount" output: ltfs on /mnt/ltfs type fuse (rw,nosuid,nodev,default_permissions,allow_other) Note thet this is of type "ltfs" but I am told that it should work like its a nfs. ltfs uses fuse under the covers.
I used the usual 'mkfs.xfs -l size=128m,lazy-count=1 /dev/sdX' at creation. After that, I would like to use custom mount options like: This goes instead of the "defaults" part in /etc/fstab
noatime,nobarrier,logbsize=256k,logbufs=8,biosize=16
I receive the following error at boot: INVALID log iosize 4 [not 12-30] << No one used iosize 4... what does it mean? it is connected to the options..but which one? (At the minute I'm usig it with: noatime,nobarrier).