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


ADVERTISEMENT

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

Server :: Script To Delete Files Older Than X Days Fstab Has Noatime Enabled?

Jul 26, 2011

I have set up a simple find and delete script for files older than X days. The problem is that some of the files that are send in this share are transfered from an archive server and creation/modified date remains the same when copied and the age of them could be a year ago or older and they get deleted over night by the script.For performance reasons the raid is mounted with noatime in fstab.Do you see any solution to this problem except enabling atime?I'm thinking at some more advanced script that writes the list of added files once a day and marks them for deletion after some time.

View 2 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

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

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

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 View Related

Ubuntu :: How To Remount Root Fs Rw

Aug 13, 2011

After an error on my root fs it had been remountet readonly. sudo mount -n -o remount, rw /

Can't open /var/lib/sudo/martin/0: Read-only file system mount: you must specify the filesystem type

View 2 Replies View Related

General :: How To Remount The Grub

Nov 14, 2010

I used the Ubuntu 8.04 disc and went to the terminal, got the grub prompt and followed the couple of lines to setup Grub on (hd0,0), which I confirmed through Fdisk was the location of the boot. I also used my gParted CD to check the partitions and on gParted it is marked as hda,a. The flag shows it is an active boot, as does the * on the Ubuntu terminal show. I am getting the "..exist...no" message. I have xp32 on hd0,1, 64 on hd0,2 and ubuntu on hdo,6.

The machine was working properly and then it was stored for a year. It works fine with the live cd and I have the GRUB shell, which lands me at the GRUB prompt. I am assuming that the kernel is not mounted ? (whatever that entails, as GRUB one message said I had to install kernel before.....

Anyway, I remember that installing the three systems was quite grueling, as I first installed 32, then changed the boot ini file, and then installed 64 and changed the boot ini file there, and then installed ubuntu - with great trepidation- as it seems to want to partition my discs, which I pre-partitiond with gParted. I guess I could copy the GRUB text and the Windows text from another machine that has the same basic install, and redo it.

View 6 Replies View Related

Fedora :: Does Not Remount /root Filesystem On Start

Sep 10, 2009

2 days ago I had installed Fedora 9 on an old machine. The installation was from a Flash USB, and was OK and the kernel on thar installation was 2.6.25-14.fc9.i686.

After the installation I updated the system, and all looks to be ok, and the system was set with the kernel 2.6.27.25-78.2.56.fc9.i686.

But when I start the system with the latest kernel itÅ› get blockd on "remounting root filesystem in read-write mode" step, but not with the original kernel witch start correctly.

View 2 Replies View Related

OpenSUSE Install :: How To Remount Encrypted Home

May 21, 2011

After update to 11.4, I would like to regain access to my encrypted home that I left intact. Both user.img and user.key files are there, but when I create the same user again in YaST, it does not recognize their presence and it asks again for size of the image. I am afraid it will just overwrite the old image. I do have full backup of hte data, but since its 150GB, I would rather not have to transfer it again.

How can I remount my old encrypted home?

View 7 Replies View Related

Ubuntu :: Remount A Usb Drive With Nautilus In Lynx?

May 8, 2010

After using "safely remove drive" on a usb drive automatically mounted (in lucid lynx) i no longer have the ability to remount that drive without cycling its power.I don't know if it has anything to do with removing the "unmount" option from nautilus in favor of cleaning up menu.Anyway I didnt see any forum posts on the issue ---ps. anyone have trouble using a proprietary gfx driver (nvidia for me), a custom console resolution (specified by grub), and the splash screen - when trying to access the ctrl-alt-function tty's?seems the resolution is all screwed up or something and i cant see the login prompt. disabling splash via grub fixed it fine (EDIT - did not fix it)

View 7 Replies View Related

Ubuntu :: Remount Cdrom With Unhide Option

Aug 16, 2010

I'm trying to install WoW on my Ubuntu machine and I'm having trouble right off the hop. I'm using an install DVD thru wine and it says since the Installer.exe is hidden I need to remount my drive with the unhide option on.

I'm following this guide [URL]

This is the part of the guide I'm getting stuck at

Note that on some WoW DVD's the installer executable is hidden and you need to re-mount the disc with the 'unhide' option. To do this type in a terminal:

sudo umount /dev/cdrom
sudo mount -t iso9660 -o ro,unhide /dev/cdrom /media/cdrom0/

The unmount part works just fine but when I go to remount the drive it gives me this error:

mount: mount point /media/cdrom0/ does not exist

View 3 Replies View Related

Hardware :: Usb Thumb Drive Unmount And Remount By Itself?

May 17, 2011

I have thumb drive connected to a busybox box.I mounted it /opt in initialzation file. However after a while it will unmount itself because it changes its drive letter from sda1 to sdb1. How could a usb device change its drive letter by itself? How could I prevent it happening?

View 13 Replies View Related

Ubuntu :: Sometimes Ext4 Home Partition Remount Read Only

May 11, 2010

I'm using Ubuntu 10.04 64bit (Kernel 2.6.32-22-generic) and sometimes my /home partition is remounting in read-only and i have no idea why. Normally I only use programms like Firefox, Rhythmbox, Evolution and Netbeans 6.8. Should I switch to the EXT3 filesystem?

dmesg shows me the following information:
Code:
[ 8758.010352] ata7.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[ 8758.010356] ata7.00: failed command: FLUSH CACHE
[ 8758.010360] ata7.00: cmd e7/00:00:00:00:00/00:00:00:00:00/a0 tag 0
[ 8758.010361] res 40/00:00:00:4f:c2/00:00:00:00:00/00 Emask 0x4 (timeout)
[ 8758.010363] ata7.00: status: { DRDY }
[ 8758.010366] ata7: hard resetting link .....

Code:
badblocks -v /dev/sdb
Checking blocks 0 to 78150743
Checking for bad blocks (read-only test): done
Pass completed, 0 bad blocks found.

View 4 Replies View Related

Ubuntu Installation :: External USB Drive Btrfs Remount?

Dec 28, 2010

I'm running Maverick on an older Stinkpad. I have a btrfs /home as a second partition on the internal HDDand a brand shiny new 3TB external USB western digital drive also formatted btrfs. I'm having a problem whenever I hibernate/suspend the laptop by closing the lid and start it back up later, the external drive won't remount unless I do a complete reboot. I have no entry in /etc/fstab for the external drive.Quote:Unable to mount "blah" DBus error org.gtk.Private.RemoteVolumeMonitor.Failed: An operation is already pending

View 3 Replies View Related

General :: (debian 5.0) How To Stop Remount As Read Only On Runlevel 2

Feb 7, 2011

I have downloaded voyage linux 6.5 based on lenny. One of the last things it says is mounting filesystem as read only. then asks me to do login. how to stop this action and eave the file system as Read/Write.

View 1 Replies View Related

Slackware :: Kernel 2.6.33 Failed To Boot (Cannot Remount Read-only Fs)

Mar 7, 2010

I tried to compile a 2.6.33 kernel following Alien's guide.

I pretty much used the default values for every (NEW) option avaiable. I used "make localmodconfig" on my current config (zcat /proc/config.gz) and then tried to use "make menuconfig" to check if I could change anything. I didn't understand most of the options, so I skipped it. Then I used "make bzImage modules" and "make modules_install", copied the files mentioned on the wiki and run lilo.

But when I try to boot using my custom kernel, it gives an error like "Cannot remount read-only filesystem as read-write! This can cause serious problems."

If I try to continue the boot, it hangs when trying to launch the syslog script...

The new kernel entry on lilo.conf is:

Code:
image = /boot/vmlinuz-custom-2.6.33
root = /dev/sda4
label = newkernel
read-only
just like the default kernel entry.

By the way, one thing I changed is the kernel compression format, which I set LZMA. But it didn't seem to be the problem, since it at least started...

View 10 Replies View Related

CentOS 5 :: Remount Second Hard Drive After Replacing Primary?

Jul 27, 2011

For starters, I apologize if this turns out to be a double post. My windows laptop hiccupped in the middle...

So I had a Linux box with two drives running happily for years. Both drives were in the same logical volume, and the second had a file system on it.

The the boot drive croaked. I replaced it and reinstalled CENTOS (making sure, of course, to be careful to use the new drive). The I put the second drive back into the volume group (and that's it).

I'm assuming I probably need to create a new logical volume, because that's how it was before, but I really really don't want to format it.

Am I missing a step or am I screwed?

Fsck -l showed the following output both before and after I put the drive in the volume group. code...

View 9 Replies View Related

Ubuntu Security :: Constantly Having To Remount Encrypted Home Folder

Aug 16, 2011

while since I've been here. I'm having an issue with a fresh install of 11.04. Due to work requirements, I encrypted my home folder, which is fine, however, it seems to randomly lock itself down while I'm working, and it's getting really annoying.

Apps stop working, I can't open nautilus (something about not being able to create certain folders because home is locked), hell, even the terminal link on my desktop says failed to launch application (though the launcher on the top panel works). I just have to run ecryptfs-mount-private and enter my password to fix it, but it's doing this every 15 minutes or so. what might cause it to relock itself so frequently? I would expect to not have to deal with mounting my private data, that should happen at login and be good until log out.

View 3 Replies View Related

Ubuntu Networking :: Samba Share Requires Unmount/Remount After Restart

Aug 4, 2011

I recently built a computer for a friend that is only going to be used to run a network share.

The problem I am running into is that whenever the computer restarts the share, while visible, cannot be accessed by the two Windows 7 laptops in the house.

If I run 'sudo umount /media/storage' followed by 'sudo mount /dev/sda1 /media/storage' the once visible but inaccessible share is now accessible.

I do not understand why this would be. I have added the line 'usershare owner only = false' to my smb.conf file.

View 2 Replies View Related

General :: Remount Root Filesystem As Read/write After Modify Readonly-root File?

Dec 21, 2010

My linux distro is CentOS 5.3. Today I edited /etc/sysconfig/readonly-root and set "READONLY" to yes, now my /etc/sysconfig/readonly-root file is like this:

# Set to 'yes' to mount the system filesystems read-only.
READONLY=yes
# Set to 'yes' to mount various temporary state as either tmpfs

[code]...

View 3 Replies View Related

Software :: File System - Errors= Remount-ro 0 5 - Does It Also Create Directory "MyApp"

Jul 19, 2010

I am going to add following line to the /etc/fstab file /dev/sda4 /MyApp ext3 noatime, errors=remount-ro 0 5 Does it also create directory "MyApp"? Or which kernel file is responsible for creating the directories? Also on linux, which kernel file is able to create some soft links and additional directories?

View 4 Replies View Related

Ubuntu :: Allow A Specific User To Mount Or Remount A Specific Partition?

Jun 9, 2010

my system I want user1 and only user1 to be able to mount and unmount a specific partition, this partition contains backups and is usually mounted read only, needs to be temporarily mounted read/write by user1 while doing the backup.user1 is an unprivileged user. I've read that the user option will let any user mount the file-system (and only that user can then subsequently unmount it) and that the users option allows any user to mount or unmount the file-system.I also found this in mount's man pageQuote:The owner option is similar to the user option, with the restriction that the user must be the owner of the special file. This may be useful e.g. for /dev/fd if a login script makes the console user owner of this device. The group option is similar, with the restriction that the user must be member of the group of the special file.So it looks like I'd need a login script for that user to make the user owner of the device file (/dev/voiceserv/backup in this case)

View 7 Replies View Related

Server :: Server Configuration For Small Office Server, Which Smtp, Pop Imap Server And Backup?

Apr 2, 2010

I have installed a linux server in my office to run 16 machines. Its main use will be a internal mail server but will be also running websites.

I have installed Ubuntu 9.10 server x64 and have got apache running.

I am looking for the simplest more robust solution for smtp, pop3 and imap. I have only ever used qmail before and found it a pain to configure and its getting old so I though I should probably try something new. I have not much experience with running pop3 or imap on linux so would love a suggestion on that.

View 4 Replies View Related

Server :: Create A Webhost On An Running Fedora Server Which Runs Multiple Webpages + A Coldfusion Server?

Sep 29, 2010

have to create a webhost on an running fedora server which runs multiple webpages + a coldfusion serveri have to add an coldfusion virtual host to these.what i would do:*crate a new user & group*enter vhosts.conf and copy an existing host and modify it for the new one.*create an new folder and copy the main files (phpstarter and webroot) *chown the files for the right useri think an apache graceful would be needet

View 1 Replies View Related

Server :: Minimum Partition Size Required In Redhat Linux Server For DNS Server Configuration?

May 5, 2011

Right now i have a HP DL 180 Server with 130 Gb Hard Disk & 8 Gb ram after Raiding0+1. i want to configure Domain Controller Server for my office for 200 to 300 Users. what should the partition size must be mentioned in my 130 Gb Hard Disk, is that going to be Sufficient for ME ?

i am bit confused about /Usr /Var /Boot partitions, as i need to manage perfectly in 130 GB

if i go with 4 Gb swap and remaining for " / " is that will be fine ? should i need to specify partition sizes separately for / tmp /var / usr ..

View 3 Replies View Related

Server :: Server Slow : Apache Mysql Fine Tuning Server For Faster And More Responsive?

Apr 21, 2011

I'm running a linux cloud server with the following config
1.2ghz Processor allocation
752MB Ram

The site loads slow and clicking a link almost freezes the page for a second. Also, the page loads could be much faster. We've been running mysqltuner and have pretty much optimized all slow queries. Is there anything we can do to fine tune the server for faster and more responsive?

Httpd.conf

Timeout 20
KeepAlive Off
MaxKeepAliveRequests 100
KeepAliveTimeout 5
<IfModule prefork.c>
code....

View 2 Replies View Related

Server :: Sync File Server Data Into Backup Server Machine By Command- Rsync -avu?

Jun 21, 2011

iam trying to sync file server data into backup server machine by command- rsync -avu path/of/data ipaddress-of-backup-server:/path/where/to/save after running it ask for root password and manually it is successful.but i want to make it automatic.for that i also tried cronjob and also generated authentication key but iam not successful in login automatically..anybody know how to authenticate root to login for storing data in backup server.

View 14 Replies View Related

Debian Configuration :: Install A Multi-core System And Configure It To Run Several VMs, One Each For A Firewall, A Caching Proxy Server, A Mail Server, A Web Server?

Jan 25, 2011

I will be relocating to a permanent residence sometime in the next year or two. I've recently begun thinking about the best way to implement a home-based network. It occurred to me that the most elegant solution might be the use of VM technology to eliminate as much hardware and wiring as possible.My thinking is this: Install a multi-core system and configure it to run several VMs, one each for a firewall, a caching proxy server, a mail server, a web server. Additionally, I would like to run 2-4 VMs as remote (RDP)workstations, using diskless workstations to boot the VMs over powerline ethernet.The latest powerline technology (available later this year) will allow multiple devices on a residential circuit operating at near gigabit speed, just like legacy wired networks.

In theory, the above would allow me to consolidate everything but the disklessworkstations on a single server and eliminate all wired (and wireless) connections except the broadband connection to the Internet and the cabling to the nearest power outlets. It appears technically possible, but I'm not sure about the various virtual connections among VMs. In theory, each VM should be able to communicate with the other as if it was on the same network via the server data bus, but what about setting up firewall zones? Any internal I/O bandwidth bottlenecks? Any other potential "gotchas", caveats, issues? (Other than the obvious requirement of having enough CPU and RAM).Any thoughts or observations welcome, especially if they are from real world experience in a VM environment. BTW--in case you're wondering why I'm posting here, it's because I run Debian on all my workstations/servers (running VirtualBox as a VM for Windows XP on one workstation).

View 14 Replies View Related







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