No. fssnap is to be used with UFS only. ZFS doesn't need it as it already has the snapshot facility built in.
It is unclear what you want to backup. You don't backup volumes but file systems so you can create a snapshot of the dataset (file system) you want to backup, say /data, like this:
and then you can backup the following file system using the tool you want:
With ZFS that could be zfs send ... | zfs receive ... but you can also use rsync, tar, cpio, whatever.
Finally, when you are done you can delete the snapshot to make sure no disk space is wasted with
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 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)
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)
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)
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)
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)
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)
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 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)
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 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)