Changeset 9 for trunk


Ignore:
Timestamp:
Sep 6, 2005, 5:28:03 PM (14 years ago)
Author:
bcornec
Message:

Correct bugs reported by Yann Aubert <technique@…>

1/ ping in start-nfs to allow for interface to come up
2/ nolock option for NFS mount as portmap isn't started

Location:
trunk/mondo/mondo
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/mondo/mondo/common/libmondo-devices.c

    r1 r9  
    20172017            sprintf(bkpinfo->isodir, "/tmp/isodir");
    20182018        run_program_and_log_output("mkdir -p /tmp/isodir", 5);
    2019         sprintf(tmp, "mount %s -t nfs /tmp/isodir", bkpinfo->nfs_mount);
     2019        sprintf(tmp, "mount %s -t nfs -o nolock /tmp/isodir", bkpinfo->nfs_mount);
    20202020        run_program_and_log_output(tmp, 5);
    20212021          }
  • trunk/mondo/mondo/common/libmondo-files.c

    r1 r9  
    12481248  fprintf (fout, "ifconfig %s %s; # config client\n", nfs_dev,
    12491249       nfs_client_ipaddr);
    1250   fprintf (fout, "# ping -c1 %s; # ping server\n", nfs_server_ipaddr);
     1250  fprintf (fout, "ping -c1 %s; # ping server\n", nfs_server_ipaddr);
    12511251  fprintf (fout, "mount -t nfs -o nolock %s /tmp/isodir\n", bkpinfo->nfs_mount);
    12521252  fprintf (fout, "exit 0\n");
  • trunk/mondo/mondo/mondorestore/mondo-restore.c

    r1 r9  
    34573457              sprintf(bkpinfo->isodir, "/tmp/isodir");
    34583458          run_program_and_log_output("mkdir -p /tmp/isodir", 5);
    3459           sprintf(tmp, "mount %s -t nfs /tmp/isodir", bkpinfo->nfs_mount);
     3459          sprintf(tmp, "mount %s -t nfs -o nolock /tmp/isodir", bkpinfo->nfs_mount);
    34603460          run_program_and_log_output(tmp, 1);
    34613461           }
Note: See TracChangeset for help on using the changeset viewer.