General :: Know If Noatime Or Relatime Is Default Mount Option In Kernel?

Aug 1, 2011

I was trying to know if relatime or noatime was set on a filesystem, but i didn't found the information, neither in /etc/fstab, neither in kernel boot options.

First of all, it seems clear that i don't have the "normal" behaviour on atime:

root@antec:/tmp# rm -f test.txt; echo a>test.txt
root@antec:/tmp# stat test.txt | grep -i 2011
Access: 2011-08-01 21:54:30.000000000 +0200
Modify: 2011-08-01 21:54:30.000000000 +0200

[Code]....

- Is noatime or relatime a default mount options, and if yes, from which kernel release ?

- Is there a way to see the default mount options (ie: how can i see why i don't have the "normal" atime behaviour ?)

View 1 Replies


ADVERTISEMENT

General :: Noatime Mount And Find Command?

Nov 30, 2010

If the filesystem is mounted with noatime option does it influence find -atime behaviour? I tested and it looks that find is able to see access time but why should it if mounted with noatime? Or maybe it depends on the type of filesystem (I`m using XFS)?EDIT: Looks the answer is [URL]htmlIf a file system has been mounted with this option, reading accesses to the file system will no longer result in an update to the atime information associated with the file like we have explained above. The importance of the noatime setting is that it eliminates the need by the system to make writes to the file system for files which are simply being read. Since writes can be somewhat expensive, this can result in measurable performance gains. Note that the write time information to a file will continue to be updated anytime the file is written to.

View 1 Replies View Related

Ubuntu :: Cannot Boot With Noatime Option / Do That?

Jan 18, 2011

I have added noatime option to /etc/fstab file but when i try to reboot, it cannot mount the file system.

I try to erase the noatime option in /etc/fstab file but it does not allow for write because it is only a read only file system.

How can i mount with write access which allow me to delete the noatime option in /etc/fstab.

View 3 Replies View Related

OpenSUSE Install :: Noatime Isn't Working \ Set Noatime To Save Writes?

Nov 9, 2010

I have an SSD and I'm trying to set noatime to save writes. I didn't do this at the time of install, so I edited /etc/fstab later on. I noticed, however, that when I right-click on a file and view its properties, it still gives me a "modified" and "accessed" time. Did I do something wrong? Here is my fstab:

Code:
/dev/disk/by-id/ata-INTEL_SSDSA2M080G2GN_CVPO0161048A080JGN-part1 / reiserfs acl,user_xattr,noatime 1 1

[code]....

View 8 Replies View Related

Ubuntu :: Set Default Mount Option Of USB Hdd

Mar 25, 2010

i am using ubuntu 9.10 x64 version

when i plug a USB hdd, it is auto mounted

from the log:

Mar 21 06:34:23 universe ntfs-3g[5066]: Version 2009.4.4 external FUSE 27
Mar 21 06:34:23 universe ntfs-3g[5066]: Mounted /dev/sdd (Read-Write, label "xxx", NTFS 3.1)
Mar 21 06:34:23 universe ntfs-3g[5066]: Cmdline options: rw,nosuid,nodev,uhelper=devkit,uid=1000,gid=1000,d mask=0077

[Code]....

I want to set the default mount option to "noatime, nodiratime", but where can i set it?

I know i can do this in fstab, but i do not want to add lot of entries there

View 5 Replies View Related

General :: Invalid Mount Option When Attempting To Mount The Volume

Jun 30, 2010

I have two internal hard drives.I just installed Debian Lenny in the smaller 80GB. But when I try to access the other hard drive it shows:

"Invalid mount option when attempting to mount the volume"

info:

-The 80GB is on dual boot with Windows 7 and Debian Lenny.

-The 500GB secondary hard drive is NTFS filesystem.

View 1 Replies View Related

CentOS 5 :: Kernel Panic Unrecognized Mount Option "mand"?

Apr 10, 2011

After upgrading from 2.6.18-194.32.1.el5 to 2.6.18-238.5.1.el5 EXT3-fs: Unrecognized mount option "mand" or missing value

View 1 Replies View Related

General :: "Invalid Mount Option When Attempting To Mount The Volume" On Plugging USB

Jan 18, 2010

I plugged in USB(single fat32 partiton of 2GB) and got message window Cannot mount volume. Invalid mount option when attempting to mount the volume.

[Code]...

Also did check in gparted , dosfsck and fsck.vfat but no errors reported.

View 5 Replies View Related

General :: Kernel Panic - Not Syncing - No Init Found - Try Passing Init - Option To Kernel

Apr 19, 2011

Im am building a Linux distro. It will be very tiny and fast.

I only have a minimal linuxkernel (bzImage) who is 1,2 mb big. And then I have Busybox who is 174,6 kb big.

The commands in busybox is: cd, ls, mkdir, rmdir, wget, httpd, clear, rm, poweroff, halt, reboot, fdisk, mount, umount, free, and cp.

When I compiled the kernel i use initramfs/initrd function and point it to a folder where initrd/initramfs source is.

The kernel works OK with others initramfs/initrd files. But not with my own.

Quote:

Here is how the end of the kernelcomplie look like.

Quote:

Here is my init file who is the initrd/initramfs source.

Quote:

The initramfs folder contains "bin" (folder) and "init" a file. No more.

The problem is that the kernel cannot find/read init file.

View 4 Replies View Related

General :: Possible Kernel Configuration Option ?

Jul 20, 2011

I have had Linux running in our product that has several serial ports.(Another Ethernet to Serial port translator). It has been running OK for about 6 years, using kernel 2.6.11, then 2.6.18. Now I just got 2.6.39.1 running and suddenly I get these "I/O Possible" messages and my programs shutdown. I found elsewhere that the cure for this is to put a "signal(SIGIO, SIG_IGN)" call to stop this signal from crashing the program. This works, but I would really like to know the reason that this started happening in the first place.

Could there possibly be a 'config' option I missed that causes this? It just surprises me that the kernel writers would implement something that has such a large impact on the existing code base, causing anyone using serial ports, or anything else that might trigger a SIGIO, to have to edit, recompile, and redistribute their programs.

How to change the kernel behavior, short of going in and hacking the kernel. Or at least an idea as to why they would have changed the default behavior.

View 1 Replies View Related

General :: Noop Option Kernel ?

Jul 16, 2010

I have Suse 10 and Suse 11 and I need to add the option elevator=noop

Code:
Suse 11

Code:

By the way I think I added correctly

Ok my question is: I can add this noop option on the fly by

Code:

But since I have sdb and sdc... I have to run that command three times it does not bother me I am worry about is what happens when my server is rebooted.

There won't be any noop option for sdb and sdc since they are not included on my boot parameter.

How can I automatically add noop to my sdb and sdc?

View 3 Replies View Related

Ubuntu :: Lucid Does Not Have Relatime In Fstab

Jun 10, 2010

As from Hardy 8.04, Ubuntu started to use relatime as default. I just noticed today that the entries in Lucid's default /etc/fstab do not have relatime. Surely this is an important omission? On slow computers, it will decrease performance, and on any computer, it decreases the life of the hard drive. That's what I had understood. Or is there something about ext4 that makes this different?

View 3 Replies View Related

General :: How To Load A Kernel 2.6 Module With F Force Option?

Jan 21, 2010

I have a loadable module, simple enough I believe it should run on any 2.6 kernel. I want to force the load and test that assumption. How can I do it?

ismod does not seem to notice the -f in 2.7 modprobe has -f but cannot locate the module.No go. So I read the manpage for modprobe which says: modprobe looks in the module directory /lib/modules/'uname -r'.So I copied MYMODULE.ko to /lib/modules/2.6.(the only directory in here) and type: modprobe -f MYMODULE.ko.Still can't locate MYMODULE.ko.I notice there are no other .ko modules in that directory; so I go in deeper to kernel/drivers/char, guessing about the char directory, and copy MYMODULE.ko there.

View 1 Replies View Related

General :: Installing Cent OS Using Windows - Mount Iso File To Virtual Drive There Is No Autoplay Option

Feb 22, 2011

I downloaded centos from their official bittorrent.It contained two iso files and md5sum.txt,sha1sum.txt and sha256sum.txt and also md5sum.txt.asc,sha1sum.txt.asc and sha256sum.txt.asc.Now when I mount iso file to virtual drive there is no autoplay option.Can you tell me how to install it.I dont see any setup file?

View 3 Replies View Related

General :: Enhanced Real Time Clock Support - Missing Kernel Option

Jul 6, 2011

In regards to compiling a custom kernel:

When using make menuconfig - under Device Drivers --> Character Devices --> there should be an option with the label "Enhanced Real Time Clock Support" (CONFIG_JS_RTC).

The problem is that this option seems to only show up while using the menu method when other options are either enabled or disabled and I've entirely forgotten what should be what. I swear fingered it out once.

This is on an older computer (P4) so HPET is no good.

You would think that disabling the HPET option would enable the RTC option but that does not appear to be the case.

I understand I can just add the option to the .config file and avoid this hassle but I'm very interested to know how to make this work.

To show my appreciation I will do something nice for you such as call you a nice name or tell you that you are pretty (or ugly if that's what you prefer).

View 1 Replies View Related

General :: What Is The Default Mount Point On Systems

Feb 23, 2010

Is the mount point for external media (like USB) always /media?

Because in a Debian system, if I plug in any USB device that goes to the /media folder. So is it the case with all the other Linux flavors like Fedora, Ubuntu, etc. If a USB device is automatically mounted will it always go to the /media directory?

I am not concerned about the name of the devices. I am looking for every external media (like USB) to be listed under /media directory so that my code can run on any flavor of Linux.

View 1 Replies View Related

General :: What Are The Default Fstab Mount Parameters In Debian

Aug 12, 2011

I've accidentaly corrupted my fstab and cut the ends of lines. There are now disk uid, mount point, filesystem for root and swap, but the mount parameters are missing.The system boots as readonly. What are default fstab mount parameters in Debian for ext4 root and swap?

View 1 Replies View Related

General :: Change Default Mount Group Of USB Drive In Ubuntu

Aug 10, 2011

I have a shared, family computer which has USB drives attached to it. Multiple users can be logged in, that sort of thing. All of the users have been added to "Access external storage devices automatically", however I've noticed that when one user plugs in a USB device, the other users can't see it without unmounting/remounting. When a drive is mounted, it seems to mounted at:

drwx------ 5 jdoe jdoe 4096 2011-08-10 12:03 DriveName/

What I want to do is change the default mount group settings, to:

drwxrwx--- 5 jdoe family 4096 2011-08-10 12:03 DriveName/

I know I can do this through fstab, but as far as I know that forces you to name the drive/mount point and that's not what I'm looking for, what if a user adds a NEW usb device and wants it shared with the other users?

View 1 Replies View Related

General :: What Is Default Kernel Parameter Values

Mar 3, 2010

What is the default kernel paramtre valus for linux RHEL Machine?

View 5 Replies View Related

General :: Make Grub Keep Its Default Boot Under Kernel Updates?

Jan 30, 2010

I dual-boot my machine and I want it to default to boot into windows so that whenever I restart the machine remotely from my home it will be able to get back into Windows (instead of Ubuntu).

The problem is that every time Ubuntu upgrades the kernel, I have to reset the default boot item of grub back to windows. This is because the grub menu loader uses positions i.e. 6 for default OS to boot. And when Ubuntu installs a new kernel it changes that order.

I am looking for a way to configure grub to remember its default boot item under kernel updates.

View 2 Replies View Related

General :: Looking For Way To Make Grub Keep Its Default Boot Under Kernel Updates ?

Sep 29, 2010

Possible Duplicate:Make grub keep its default boot under kernel updates.I have just installed Linux with my windows 7 pre-installed and i got it working fine. Since i use windows 7 more than linux, i would like to have "Windows 7" option on the top of "Linux" option.

"When i have turn on my computer, the first thing i see is an Option asking me whether i want to use windows 7 or Linux and there's a countdown timer below it which is 10seconds countdown and if i don't select it on time, it will automatically select the first choice which at the moment i've got Linux pre-set as my first choice."

View 7 Replies View Related

General :: SD Card Mount - Error "wrong Fs Type, Bad Option"

Apr 12, 2010

I am trying to make a copy of the SD card that my TS-7800 SBC boots from. When I plug the SD into my opensuse pc I get this error. Error mounting: mount exited with exit code 32: mount: wrong fs type, bad option, bad superblock on /dev/sdb4, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so There are four partitions on this card and I can only access one of them.

dmesg | tail gives me this

[894.422497] EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended

when I do e2fsck -p /dev/sdb4 I get

e2fsck: Bad magic number in super-block while trying to open /dev/sdb4 /dev/sdb4: The superblock could not be read or does not describe a correct ext2 file system. If the device is valid and it really contains an ext2 filesystem (and not swap or ufs or something else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock: e2fsck -b 8193 <device> I was hoping I could just plug in both cards and do this dd if=/dev/sdb of=/dev/sdc to copy everything and have a back up SD card.

View 5 Replies View Related

OpenSUSE Install :: Differences Between Kernel Default And Kernel Desktop?

Jul 21, 2010

differences between Kernel Default and Kernel Desktop? I've found some past threads like this link and this other link, and some other google info, which suggest the only difference would be the io scheduler. Also, I see the default grub choice is "Desktop" and not "Default", so I take this as a suggestion to prefer one over the other.

However, my broadcom 4312 wireless only works on the "default" and not on the "desktop" kernel, so I guess there must be other differences. I just want to evaluate which one is the less long-term risk option to go.

View 1 Replies View Related

Server :: Possible To Remount To Add Noatime?

Feb 10, 2010

I currently have this filesystem for my live squid server. Can I remount it to add noatime while the cache is being used?

[root@ ~]# cat /proc/mounts
rootfs / rootfs rw 0 0
/dev/root / ext3 rw,data=ordered 0 0
/dev /dev tmpfs rw 0 0
/proc /proc proc rw 0 0
/sys /sys sysfs rw 0 0
/proc/bus/usb /proc/bus/usb usbfs rw 0 0
devpts /dev/pts devpts rw 0 0
/dev/sda3 /var ext3 rw,data=ordered 0 0
/dev/sda1 /boot ext3 rw,data=ordered 0 0
tmpfs /dev/shm tmpfs rw 0 0
none /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0
sunrpc /var/lib/nfs/rpc_pipefs rpc_pipefs rw 0 0
/etc/auto.misc /misc autofs rw,fd=7,pgrp=2586,timeout=300,minproto=5,maxproto=5,indirect 0 0
-hosts /net autofs rw,fd=13,pgrp=2586,timeout=300,minproto=5,maxproto=5,indirect 0 0
nodev /dev/oprofile oprofilefs rw 0 0
/dev/sda2 /var/spool/squid reiserfs rw 0 0

Remount:
mount -o noatime,remount,rw /dev/sda2

View 1 Replies View Related

General :: Kernel Panic - No Filesystem Could Mount Root

May 5, 2011

I have just tried to update my kernel from 2.6.24.5 to 2.6.39-rc3 on a Slackware 12.1 distribution. I have successfully updated the kernel before, but it was from a newer distribution and newer kernel(Slackware 13.1 and 2.6.33.4). After I updated and rebooted, I got the following error:

Code:
List of all partitions:
0300 4194302 hda driver: ide-cdrom
0800 312571224 sda driver: sd
0801 244197560 sda1 00000000-0000-0000-0000-000000000sda1
0802 68372640 sda2 00000000-0000-0000-0000-000000000sda2
No filesystem could mount root, tried: romfs
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block (8,1)
Pid: 1, comm: swapper Not tainted 2.6.39-rc3-smp #1 .....

View 3 Replies View Related

Ubuntu :: No Option To Automatically Log In Default Keyring?

May 2, 2011

Did a fresh install of 64-bit Natty on day 1, and have an irksome issue when logging in. Once I'm logged in, Keyring prompts me to type the default keyring password. This happens every time I log in.

The problem is, the option to unlock the keyring automatically at login is dimmed, and only the other 3 options are selectable.

I opened the "Passwords and Encryption Keys" applet and saw 2 entries under "passwords", both named "Network secret for Auto [my network name]/802-11-wireless-security/psk". I see no option here to allow either of these to automatically unlock at login.

how I can get Ubuntu to log into my wireless network automatically instead of asking for the default keyring password each time after log in?

View 2 Replies View Related

Fedora :: Automount USB Flash Drive -noatime ?

Oct 17, 2009

After searching the boards, I dug through the udev man pages and rule files looking for a way to modify the default automount options for USB flash drives. Apparently, the options are somewhere else. Is there a simple way to add noatime to the default mount options?

Currently, the flash drive is automounted as follows:

I'm using Fedora 12, beta RC 2 in case that makes a difference.

View 3 Replies View Related

OpenSUSE Hardware :: Default Printer Option Conflicts?

Jan 28, 2011

where I could lok to resolve this conflict?The command-line: lpotions -p printer -lReports the saved values with an "*" and (for evample: PageSize=Letter, InputSlot=MPT) seem to be in effect. However, the desired page size has been set and subsequently reports in both the web-based CUPS and the YaST printer utilities, as A4

View 7 Replies View Related

OpenSUSE Install :: Changing Default Boot Option?

Jan 4, 2010

I have openSuse 11.2 along with Windows, I get an option on boot to choose between the two OS, but the default is suse. How can I change the default load to Windows

View 1 Replies View Related

Ubuntu :: Make Windows XP The First And Default Option On Grub 2?

Feb 7, 2010

I was wondering how I can make Windows XP the first and default option on my Grub 2. I use Ubuntu 9.10 through a semi-dedicated partition on my second hard drive, if that helps. I use Grub 2 just cause I have a grub.cfg file, and here it is.

Code:
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates

[Code].....

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved