Re: fssnap on Solaris 9 for x86

From: Anthony Gunia (aggunia@comcast.net)
Date: Sun Oct 24 2004 - 00:35:14 EDT


Hi again,

First, thanks to the folks who stated I had the second carrot turned around.
With it the correct way, I get the following (included all my commands for
the fssnap):

 # Mount to NFS partition
mount -F nfs -o rw,bg,hard 192.168.0.4:/var/backup /snap ;

# Create fssnap on NFS partition
fssnap -F ufs -o backing-store=/snap,unlink / ;
/dev/fssnap/8

# Mount fssnap to prepare for backup
 mount -F ufs -o ro /dev/fssnap/`fssnap -i -o snapnumber /` /fssnap ;
Usage:
mount [-v | -p]
mount [-F FSType] [-V] [current_options] [-o specific_options]
        {special | mount_point}
mount [-F FSType] [-V] [current_options] [-o specific_options]
        special mount_point
mount -a [-F FSType ] [-V] [current_options] [-o specific_options]
        [mount_point ...]

What's really weird is that I can mount the fssnap as follows with no
problem and back it up:
# Check for fssnaps
fssnap -i
   8 /
# Mount the fssnap
mount -F ufs -o ro /dev/fssnap/8 /fssnap ;

So, it appears I'm really missing something here, or could fssnap possibly
behave differently on x86? I could just put in the fssnap numbers that I
think match up to the partitions I'm backing up. But I've times where they
don't necessarily match, hence what I'm trying to do with here to make sure
the fssnap number matches the partition. Thanks for the assistance, and
I'll post the summation once this is settled.

Anthony
aggunia@comcast.net

> On Fri, Oct 22, 2004 at 10:25:18PM -0500, Anthony Gunia wrote:
># mount -F ufs -o ro /dev/fssnap/`fssnap -i -o snapnumber /' /fssnap ;
> ^ ^
>As you can see, I get the carrot asking for another parameter which I don't
>get on the SPARC platform. Can anyone shed some light on this for me?
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:29:36 EDT