Operating System - HP-UX
1752302 Members
4621 Online
108786 Solutions
New Discussion юеВ

Re: VxFS filesystem snapshots prerequisites on HP-UX

 
SOLVED
Go to solution
Ralph Grothe
Honored Contributor

VxFS filesystem snapshots prerequisites on HP-UX

Hi,

I need to copy a busy filesystem to another box, but I cannot afford shutting down the application that causes the filesystem noise.

Because the FS is a Veritas VxFS I was lured to believe I could tranquilize the FS to be copied by a simple FS snapshot.
At least the mount_vxfs manpage mentions a snapof option, which I tried in this fashion (after having created lvsnap abt. 10% in size of /opt/bea's LV).

# mount -F vxfs -o snapof=/opt/bea /dev/vg00/lvsnap /mnt/tmp1
vxfs mount: option not supported on this version of vxfs.


Hmm, isn't Version 3 of HP-UX's VxFS sufficient for the snapshot feature?
(On Solaris you get a working fssnap command already together with the OS!)

# fstyp -v $(awk '/\/opt\/bea/{print$1}' /etc/mnttab)
vxfs
version: 3
f_bsize: 8192
f_frsize: 8192
f_blocks: 76800
f_bfree: 12318
f_bavail: 12222
f_files: 13344
f_ffree: 3072
f_favail: 3072
f_fsid: 1073741841
f_basetype: vxfs
f_namemax: 254
f_magic: a501fcf5
f_featurebits: 0
f_flag: 0
f_fsindex: 6
f_size: 76800




Madness, thy name is system administration
4 REPLIES 4
Thierry Poels_1
Honored Contributor
Solution

Re: VxFS filesystem snapshots prerequisites on HP-UX

hi,

prerequisites = OnlineJFS ;-)

regards,
Thierry.
All unix flavours are exactly the same . . . . . . . . . . for end users anyway.
Naveej.K.A
Honored Contributor

Re: VxFS filesystem snapshots prerequisites on HP-UX

hi,

Is online JFS installed??
swlist -l fileset |grep -i online

You need to have online JFS installed to take FS snapshots.

with best wishes
Naveej
practice makes a man perfect!!!
Ralph Grothe
Honored Contributor

Re: VxFS filesystem snapshots prerequisites on HP-UX

Ok, we don't have OnlineJFS onboard.
Looks I was pampered from Solaris ;-)
Madness, thy name is system administration
D Block 2
Respected Contributor

Re: VxFS filesystem snapshots prerequisites on HP-UX

my 5-cents here, if you have sub-directories files that have certains file-modes, you migh try a tar on the-fly command.

ex.

remsh tar cvf - /opt/ | tar xvf -


note: => remote host, is local directory under /opt.
Golf is a Good Walk Spoiled, Mark Twain.