Announcement Banner
⚠️
Notice: Attachment uploads are currently disabled. This is a temporary situation and will resume as normal in the coming days.
UNSOLVED

Cade Robinson

updated

12 years ago

0

465

May 22nd, 2014 13:00

Reprobe for file systems after a precmd on linux?

I am working on a script that will take LVM snap shots of certain file systems and mount them up to be backed up.

This way I can quiet the DBs and get the snap and release the quiet point.

I have the script running but the issue is that if for a client I have "All" as the saveset then the probe at the beginning of the backup doesn't see the file systems that get mounted by the precmd so they don't get backed up.

It works fine if I specify the mount as a saveset along with all the other file systems as well (/ /boot /usr /var etc).

I was hoping I could just specify "All" and it would work so I don't have to worry about someone creating a new file system and not adding it to the client saveset list.

So is there a way to "reprobe" after the precmd to get a fresh list of "All" file systems?

Thanks!