Opened 4 years ago

Closed 4 years ago

#711 closed defect (worksforme)

exclude list problem

Reported by: msonar Owned by: bruno
Priority: high Milestone: 3.0.5
Component: mondo Version: 3.0.1
Severity: major Keywords:
Cc:

Description (last modified by bruno)

Hi,

mondo is not excluding the filesystems as required.We have the following mounted filesystems

Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/rootvg-rootvol
                       30G  2.3G   26G   9% /
/dev/mapper/rootvg-varvol
                      9.7G  5.6G  3.6G  61% /var
/dev/mapper/rootvg-tmpvol
                      3.9G  137M  3.6G   4% /tmp
/dev/mapper/rootvg-soe3vol
                      3.9G  845M  2.9G  23% /soe3
/dev/mapper/rootvg-homevol
                       20G  717M   18G   4% /home
/dev/cciss/c0d0p1     190M   18M  163M  10% /boot
tmpfs                 7.8G     0  7.8G   0% /dev/shm
/dev/mapper/appvg-varopt
                      197G   19G  169G  10% /var/opt
/dev/mapper/appvg-opt
                       60G  4.3G   52G   8% /opt
/dev/mapper/rootvg-mondolv
                       40G   21G   19G  54% /mondo

The requirement is to exclude only /var/opt and include the /var since /var takes precedence the /var/opt is also included.Could you please suggest the right option to exclude the /var/opt filesystem?

mondoarchive options used:

/usr/sbin/mondoarchive -OVi -I "/|/var/account|/var/adm|/var/cache|/var/crash|/var/cvs|/var/db|/var/empty|/var/games|/var/gdm|/var/lib|/var/local|/var/lock|/var/log|/var/lost+found|/var/nis|/var/preserve|/var/racoon|/var/run|/var/spool|/var/tmp|/var/www|/var/yp" -E "/mondo|/dev/cciss/c0d1|/dev/mapper/rootvg-mondolv|/var" -N -d /mondo -9 -s 10G -p usvalchr026-full_20130719_1217

even tried the device name(/dev/mapper/appvg-varopt) but no luck.

PFA the modoarchive.log file.

Thanks in Advance.

Regards, Monesh

Attachments (1)

mondoarchive_northop.rar (95.5 KB) - added by msonar 4 years ago.

Download all attachments as: .zip

Change History (4)

Changed 4 years ago by msonar

comment:1 Changed 4 years ago by bruno

  • Description modified (diff)

comment:2 Changed 4 years ago by bruno

Don't use -I and -E together without an intimate knowledge of what it does. Cf man page.

In your case, why not just -E /var/opt ??

comment:3 Changed 4 years ago by bruno

  • Resolution set to worksforme
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.