Opened 12 years ago

Last modified 7 years ago

#303 assigned enhancement

create a mondoarchive on an automounted nfs share without mounting first

Reported by: Anthony Cicone Owned by: Bruno Cornec
Priority: normal Milestone:
Component: mondo Version: 2.2.7
Severity: normal Keywords:

Description (last modified by Bruno Cornec)

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

Thanks again.

Change History (3)

comment:1 Changed 12 years ago by Bruno Cornec

Status: newassigned

comment:2 Changed 11 years ago by Bruno Cornec

Description: modified (diff)

comment:3 Changed 7 years ago by Bruno Cornec

Milestone: 3.1.0

Milestone 3.1.0 deleted

Note: See TracTickets for help on using tickets.