Operating System - HP-UX
1820475 Members
2985 Online
109624 Solutions
New Discussion юеВ

Dumping the FS with ACL to another FS - local system

 
SOLVED
Go to solution
Jayasuntar
Valued Contributor

Dumping the FS with ACL to another FS - local system

Hi,

We want to copy the entire FS from one lvol to another lvol which resides on diff vg. We want to copy along with acl. Both FS source and target is in same system in different vg. Is there any way we can dump the FS w/o changing acl. We have lot of acl's set on this FS.

Regards

Jay
2 REPLIES 2
Peter Nikitka
Honored Contributor
Solution

Re: Dumping the FS with ACL to another FS - local system

Hi,

I assume the source filesystem is of type vxfs.
- Create the new filesystem created on the new lvol
- mount it
- umount the old filesystem
- then use these commands:
cd /new/mount/point
xvdump 0f - /dev/vgOLDxx/lvolOLDyy | vxrestore xf -

Look at the man-pages of vxrestore and vxdump for details.

mfG Peter
The Universe is a pretty big place, it's bigger than anything anyone has ever dreamed of before. So if it's just us, seems like an awful waste of space, right? Jodie Foster in "Contact"
Jayasuntar
Valued Contributor

Re: Dumping the FS with ACL to another FS - local system

Hi,

used the following command to copy the vxfs fs with acl..

#cd /new_fs

#vxdump -0f - /data | vxrestore -xf -

Thanks

Jay