Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I want to remount a file system with optimized options (noatime,nobarrier,etc.) on SLES11. I was going to do it by updating /etc/fstab first and then do something like mount -o remount /srv/share. The problem is that there are images of several active virtual machines on this file system exported via NFS and I was thinking if remount can be done without shutting them down. So is remount operation disruptive? Have anyone ever tried something like this before? What was the outcome?

share|improve this question

1 Answer 1

up vote 3 down vote accepted

I just did something similar and it had no discernible effect on the remote host. I say: go for it.

What I did:

  • hostA (client) mounts hostB (server) via NFS: mount hostB:/share /share
  • on hostA the following command was run: ( cd /bigdata && tar cf - . ) | ( cd /share && tar xvf - )
  • hostB the following command was run: mount -o remount,noatime /share

I saw no problems, no log messages.

share|improve this answer
    
It just worked for me too. There was a backup restore running on this volume as well as several active VMs doing data crunching at the same time. Thanks. –  dtoubelis Apr 5 '11 at 6:33

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.