View Single Post

   
  #8 (permalink)  
Old 01-05-2008, 10:48 AM
Bernard Dhooghe
 
Posts: n/a
Default Re: splitvg statistics for JFS2

mount -v jfs -o snapshot /...
generates also the reported error.

So a solution (avoiding also any default that could change between MLs
or disappear with new capabilities) will probably be:

mount -v jfs2 -o snapshot /...

Bernard Dhooghe


demianphillips@gmail.com wrote:
> No Body wrote:
> > "steven_nospam at Yahoo! Canada" <steven_nospam@yahoo.ca> wrote in message
> > news:1163193098.378157.230190@b28g2000cwb.googlegr oups.com...
> > > the command did not work as planned. It creates images of a particular
> > > file system, but these images did not appear to allow us to access the
> > > files in the snapshot, it just let you see it as one large binary file.

> >
> > the 'image' is actually a lv of copy-on-write block data.. but its mountable
> > as a filesystem. e.g. assuming jfs2 volume /bob.
> >
> > snapshot -o snapfrom=/bob -o size=1G # creates a snap lv typically named
> > /dev/fslv<xx>
> > mount -o snapshot /dev/fslv<xx> <snap_mountpoint> # say, mount -o snapshot
> > /dev/fslv00 /snap/bob
> > (do whatever you do to back up files in /snap/bob)
> > umount /snap/bob
> > snapshot -o remove /dev/fslv<xx>
> >
> > i occasionally do this as a cya/backup measure for a volume holding mysql db
> > stuff.. works well.
> >
> > -r

>
> Sorry to break in here.
> I have been trying to get snapshot to work, and I think it is broken.
> I am trying this on AIX 5.3 TL 5.03 (latest as of last week).
>
> Using your example commands this is what I get:
> # snapshot -o snapfrom=/c040 -o size=64M
> Snapshot for file system /c040 created on /dev/fslv00
> # mount -o snapshot /dev/fslv00 /tmp/snap
> mount: invalid mount option: "snapshot"
> mount: There is no plausible log device for /dev/fslv00 ("/tmp/snap")
> #
>
> What am I missing? Both the mount man page and the snapshot man page
> seem to agree what I am doing should work.


Reply With Quote