Operating System - HP-UX
1832922 Members
2607 Online
110048 Solutions
New Discussion

Can snapshot filesystems be added to a package ?

 
Sukant Naik
Trusted Contributor

Can snapshot filesystems be added to a package ?

Hi,

I am writing an package which does the following on a shared VolumeGroup.

1. Mounts all the filesystems on the shared VolumeGroup.
2. Creates snapshots of some of the filesystems.

Now, during node failover, the snapshot is recreated again and all the previous changes to the filesystems are lost.

Is there anyway I can preserce the snapshot data during failover ?

If I create a snapshot of a filesystem at time 'x' and the package failsover to another node at time 't' and on the other node the snapshot is again mounted, it must contain the state of the filesystem at time 'x'

Regards,

Sukant
Who dares he wins
3 REPLIES 3
Sukant Naik
Trusted Contributor

Re: Can snapshot filesystems be added to a package ?

Hi,

I forgot to add this.

The snapshot filesystem Logical Volumes and the Filesystems whose snapshot is created are all on the Shared Volumegroup.

Regards,

Sukant
Who dares he wins
Bill McNAMARA_1
Honored Contributor

Re: Can snapshot filesystems be added to a package ?

The changes to the file are not on the snapshot filesystem, but on the original snapped filesystem.

You'd have to recover that somehow. I'm thinking mirrordisk may be the best solution for this, I don't know of any snapshot log mechanism..

May be possible with vxvm.

Later,
Bill
It works for me (tm)
Vincent Fleming
Honored Contributor

Re: Can snapshot filesystems be added to a package ?

If you have an XP or VA disk array, you can use Business Copy to make the snapshots, and they would be preserved in the manner you expect - have the backup server mount the snapshot, which appears as a different LUN than the original.
No matter where you go, there you are.