1837265 Members
2784 Online
110115 Solutions
New Discussion

snapshot creation

 
SOLVED
Go to solution
Arturo_5
Advisor

snapshot creation

Hello folks,

Can i create a snapshot of a raw device? and How to?
I have sybase database 12 with raw device definition.

Thanks
6 REPLIES 6
Steven E. Protter
Exalted Contributor

Re: snapshot creation

snapshot of a raw device? Do you have a digital camera?

Apologies if the joke is bad.

Though not sure of your term, there is n snapshot type function for raw disk areas.

As the name implies the storage is raw and its up to the admin or application to handle backups and configuration.

There fore sybase utilities are used to back up the data on the raw device.

Ignite/UX will back up raw devcies, but not necessarily the data stored on them. If you restore a system from ignite, you will get a raw disk area with proper permissions, of this I am sure.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Uday_S_Ankolekar
Honored Contributor

Re: snapshot creation

If you mean snpshot of a file system then yes you can do it..

use snapoff option while mounting the file system

mount -F vxfs -o snapoff=dev/vgnn/lvolnn(for which you want to take snap) /dev/vgnn/lvolnn ( This one where you keep snap)

-USA..
Good Luck..
Thierry Poels_1
Honored Contributor

Re: snapshot creation

hi,

if you can cleanly stop the Sybase DB, you can dd the raw devices to other LVOLs (of same size), and dd them back if things go wrong.

No such thing as snapshot for raw devices, only for VXFS filesystems.

good luck,
Thierry.
All unix flavours are exactly the same . . . . . . . . . . for end users anyway.
A. Clay Stephenson
Acclaimed Contributor

Re: snapshot creation

It depends. If you are running LVM then it's not possible although you can do an lvsplit but VxVM does have snapshot ability.

vxassist snapshot volname snapvolname

If it ain't broke, I can fix that.
David Child_1
Honored Contributor
Solution

Re: snapshot creation

Depending on what type of storage this is on and what software you have on that array (if any), you may be able to make copies from the storage side.

HPs VA series has this capability, EMC has TimeFinder, HP XPs/Hitachi's also have some business continuance capabilities.

David
Arturo_5
Advisor

Re: snapshot creation

Thanks all,

Now a have a clear idea over the use of snapshot... I´m going to work in enable this feautere in our EVA´s..


Ger