Opened 16 years ago

Last modified 11 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:
Cc:

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
/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 by Bruno Cornec, 16 years ago

Milestone: 2.2.82.2.9
Status: newassigned

comment:2 by Bruno Cornec, 16 years ago

Description: modified (diff)
Milestone: 2.2.92.2.10

comment:3 by Bruno Cornec, 11 years ago

Milestone: 3.1.0

Milestone 3.1.0 deleted

Note: See TracTickets for help on using tickets.