Opened 9 years ago

Last modified 4 years ago

#303 assigned enhancement

create a mondoarchive on an automounted nfs share without mounting first

Reported by: tcicone Owned by: bruno
Priority: normal Milestone:
Component: mondo Version: 2.2.7
Severity: normal Keywords:
Cc:

Description (last modified by bruno)

I want to use the "-n" option with mondoarchive, to write to an automounted nfs share. For instance, we have have a NAS appliance called pisrh11, which has space carved up for nfs shares. On our servers, we are using the automounter, which automatically maps shares on pishr11, based on entries in the /etc/auto_* files.

Here would be the automount file for application installed locally:

# more /etc/auto_apps
TRPperf		-rw	localhost:/export/appl/pkgs/&
pb              -rw     localhost:/opt/&   # PowerBroker
java            -rw     localhost:/export/appl/pkgs/&
AppManager      -rw     localhost:/export/appl/pkgs/AppManager/v8

Here is the master automount file which points to some NIS maps:

# more /etc/auto_master
/trprmt/logs    yp:auto.trprmt
/nfs            yp:auto.nfs
/apps		/etc/auto_apps

And here is the NIS entry for the mondoarchive shares:

# ypcat auto.nfs|grep Linux
-soft,bg,rw		pishr:/images_Linux/trp
-soft,bg,rw		pishr11:/images_Linux/trp

Here is the share mounted:

# pwd
/root
(piadm41)# cd /nfs/LinuxImages
(piadm41)# pwd
/nfs/LinuxImages
(piadm41)# df -k .
Filesystem           1K-blocks      Used Available Use% Mounted on
pishr:/images_Linux/trp
                     103257600   3244608 100012992   4% /nfs/LinuxImages
(piadm41)# mount|grep Linux
pishr:/images_Linux/trp on /nfs/LinuxImages type nfs (rw,soft,addr=10.22.214.26)

Thanks again.

Change History (3)

comment:1 Changed 9 years ago by bruno

  • Milestone changed from 2.2.8 to 2.2.9
  • Status changed from new to assigned

comment:2 Changed 8 years ago by bruno

  • Description modified (diff)
  • Milestone changed from 2.2.9 to 2.2.10

comment:3 Changed 4 years ago by bruno

  • Milestone 3.1.0 deleted

Milestone 3.1.0 deleted

Note: See TracTickets for help on using tickets.