You can take a snapshot of an entire pool and all file systems included:
From "man zfs" (Solaris 11, though):
Quote:
Snapshots
A snapshot is a read-only copy of a file system or volume.
Snapshots can be created extremely quickly, and initially
consume no additional space within the pool. As data within
the active dataset changes, the snapshot consumes more data
than would otherwise be shared with the active dataset.
Snapshots can have arbitrary names. Snapshots of volumes can
be cloned or rolled back, but cannot be accessed indepen-
dently.
File system snapshots can be accessed under the
".zfs/snapshot" directory in the root of the file system.
Snapshots are automatically mounted on demand and may be
unmounted at regular intervals. The visibility of the ".zfs"
directory can be controlled by the "snapdir" property.
Creates a snapshot with the given name. See the
"Snapshots" section for details.
-r
Recursively create snapshots of all descendent
datasets. Snapshots are taken atomically, so that
all recursive snapshots correspond to the same
moment in time.
-o property=value
Sets the specified property; see "zfs create" for
details.
Hi everyone,
I would like to know how to compile and run lex programs on solaris 10.
the conventional way is
$ lex <name.l>
$ cc lex.yy.c -ll
$ ./a.out
but while trying to execute the 2nd command :i get a reference saying that the command is old or that main is not supported...
Hence... (1 Reply)
I managed to work with fssnap for snapshotting filesystems but, my question is..., is there a way we could get snapshots for the same point for multiple FS.
Wating on your help..., as i already did my trials what all i can!!
-ilan (0 Replies)
Hi all,
I had solaris installed earlier hoping to create a new partition ,i was checking out smc..
Here i accidentally entered to create a new partition but no sooner than i did it,i had a power cut and after that my partition table got corrupted ,i guess...
Having no choice i first installed... (2 Replies)
Hi ,
I wanted to know how to install XEN on solaris?
I have looked at virutal box but the latest release is not supporting many OS, and for my development work i need some sort of virtual systems.....
and older versions of virtual box dont run on my build of solaris (b83)!!!
so please help
... (3 Replies)
Hi all,
I am trying to execute cgi scripts on solaris, but everytime i get a internal server error...
The syntax of my .cgi script is correct as ive checked..
Steps i followed
1.started apache
2.The UNIX and Linux Forums - Learn UNIX and Linux from Experts (in opera)
3.places my cgi scripts... (7 Replies)
For some reason when I try to take a snapshot of the root slice on a particular machine I get an ioctl 22 error. I can't seem to find much on the problem by searching the internet other than some realtime processes such as ntp that use mlock can cause this to happen. I tried running it with truss... (2 Replies)
Friends, I am learning the working of fssnap command.
Suppose there is a directory named /datadir which is of size 500mb.
I had taken the snapshot by means of the following command:
#fssnap -F ufs -o bs=/snapshotdir /datadir
{ it shows the o/p as
/dev/fssnap/0 }
My question is if... (2 Replies)
Hello All,
I am confused about the below outputs when I have tried fssnap output using diff path.
bash-3.00# /usr/lib/fs/ufs/fssnap -i ============>> o/p 1
Snapshot number : 0
Block Device : /dev/fssnap/0
Raw Device :... (0 Replies)
Hello to everyboyd i have a list of filesystem that i want to do a fssnap the idea is the bakcup
/
/var
/dbo
/Free
The logic is when i do a fssnap of / or /dbo or /Free the file that generetes the fssnap goes to /var but when i do a fssnap of /var goes to
/(and some folder). Can anybody... (0 Replies)
Hi all!
Here's my situation:
I need to backup a running system before I can bring it down
I've tried performing a ufsdump while it's in multi-user mode but my ufsdump fails because there is too much activity on the system.
So I read that I could use fssnap to create a snapshot of (in my... (3 Replies)
Discussion started by: Keepcase
3 Replies
LEARN ABOUT PHP
fssnap
fssnap(1M) System Administration Commands fssnap(1M)NAME
fssnap - create temporary snapshots of a file system
SYNOPSIS
fssnap [-F FSType] [-V] -o special_options /mount/point
fssnap -d [-F FSType] [-V] /mount/point | dev
fssnap -i [-F FSType] [-V] [-o special_options] [/mount/point | dev]
DESCRIPTION
The fssnap command creates a stable, read-only snapshot of a file system when given either an active mount point or a special device con-
taining a mounted file system, as in the first form of the synopsis. A snapshot is a temporary image of a file system intended for backup
operations.
While the snapshot file system is stable and consistent, an application updating files when the snapshot is created might leave these files
in an internally inconsistent, truncated, or otherwise unusable state. In such a case, the snapshot will contain these partially written or
corrupted files. It is a good idea to ensure active applications are suspended or checkpointed and their associated files are also consis-
tent during snapshot creation.
File access times are not updated while the snapshot is being created.
A path to the virtual device that contains this snapshot is printed to standard output when a snapshot is created.
OPTIONS
The following options are supported:
-d Deletes the snapshot associated with the given file system.
-F FSType Specifies the file system type to be used. The FSType should either be specified here or be determined by matching
the block special device with an entry in the /etc/vfstab table, or by consulting /etc/default/fs.
-i Displays the state of any given FSType snapshot. If a mount-point or device is not given, a list of all snapshots
on the system is displayed. When a mount-point or device is specified, detailed information is provided for the
specified file system snapshot by default. The format and meaning of this information is file-system dependent. See
the FSType-specific fssnap man page for details.
-o special_options See the FSType-specific man page for fssnap.
-V Echoes the complete command line, but does not execute the command.
OPERANDS
The following operands are supported:
/mount/point The directory where the file system resides.
EXAMPLES
See FSType-specific man pages for examples.
EXIT STATUS
The following exit values are returned:
0 Successful completion.
>0 An error occurred.
FILES
/etc/vfstab Specifies file system type.
/etc/default/fs Specifies the default local file system type.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO fssnap_ufs(1M), attributes(5)NOTES
This command might not be supported for all FSTypes.
SunOS 5.10 11 Aug 2004 fssnap(1M)