[node-patches] Change in ovirt-node[master]: fix mount and swap initialization on boot

mburns at redhat.com mburns at redhat.com
Thu Feb 7 22:21:35 UTC 2013


Michael Burns has uploaded a new change for review.

Change subject: fix mount and swap initialization on boot
......................................................................

fix mount and swap initialization on boot

Change-Id: I5b3dc05cfe0f07f344521983846df521a8635eeb
Signed-off-by: Mike Burns <mburns at redhat.com>
---
M scripts/ovirt-init-functions.sh
1 file changed, 7 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/56/11856/1

diff --git a/scripts/ovirt-init-functions.sh b/scripts/ovirt-init-functions.sh
index 4f82a45..a87c732 100644
--- a/scripts/ovirt-init-functions.sh
+++ b/scripts/ovirt-init-functions.sh
@@ -1235,6 +1235,13 @@
     {
         log "Starting ovirt-post"
 
+        #make sure swap and all other partitions are mounted
+        echo "turning on swap" >/tmp/mount.log
+        swapon -a >> /tmp/mount.log 2>&1
+        echo "mounting all" >>/tmp/mount.log
+        mount -a >> /tmp/mount.log 2>&1
+        echo "done" >> /tmp/mount.log
+
         # Re-load keyboard settings
         load_keyboard_config 2> /dev/null
 


--
To view, visit http://gerrit.ovirt.org/11856
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I5b3dc05cfe0f07f344521983846df521a8635eeb
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Michael Burns <mburns at redhat.com>



More information about the node-patches mailing list