Opened 11 years ago

Closed 10 years ago

#711 closed defect (worksforme)

exclude list problem

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

Description (last modified by Bruno Cornec)


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

Filesystem            Size  Used Avail Use% Mounted on
                       30G  2.3G   26G   9% /
                      9.7G  5.6G  3.6G  61% /var
                      3.9G  137M  3.6G   4% /tmp
                      3.9G  845M  2.9G  23% /soe3
                       20G  717M   18G   4% /home
/dev/cciss/c0d0p1     190M   18M  163M  10% /boot
tmpfs                 7.8G     0  7.8G   0% /dev/shm
                      197G   19G  169G  10% /var/opt
                       60G  4.3G   52G   8% /opt
                       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 11 years ago.

Download all attachments as: .zip

Change History (4)

by msonar, 11 years ago

Attachment: mondoarchive_northop.rar added

comment:1 by Bruno Cornec, 11 years ago

Description: modified (diff)

comment:2 by Bruno Cornec, 11 years ago

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

Resolution: worksforme
Status: newclosed
Note: See TracTickets for help on using tickets.