1767188 Members
6714 Online
108959 Solutions
New Discussion

Re: cp LV among VG´s

 
SOLVED
Go to solution
Jorge Prado T
Contributor

cp LV among VG´s

As I can copy lvol or rlvol (raw device of informix) among VG´s

S.O: HP-UX 11i

Thanks

Jorge Prado T.
1 REPLY 1
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: cp LV among VG´s

cp only works with cooked files.

You need to do something like this:

dd if=/dev/vg01/rlvol2 bs=256k of=/dev/vg02/rlvol5

The destination raw device must be at least as large as the source. Man dd for details.

Moreover, to commands other than od or xd the raw device nodes will look just as they did before the dd (e.g. ls will tell you nothing -- other than a later modification time).
If it ain't broke, I can fix that.