Pls. help with fssnap - Solaris


 
Thread Tools Search this Thread
Operating Systems Solaris Pls. help with fssnap - Solaris
# 1  
Old 08-20-2013
You can take a snapshot of an entire pool and all file systems included:

Code:
zfs snapshot -r rpool@now

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.

...

zfs snapshot [-r] [-o property=value] ...
filesystem@snapname|volume@snapname

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.


This User Gave Thanks to achenle For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Backing up using fssnap and ufsdump

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

2. Shell Programming and Scripting

Making a fssnap of / and /var

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)
Discussion started by: enkei17
0 Replies

3. Solaris

Confused about fssnap

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)
Discussion started by: vaibhav.kanchan
0 Replies

4. Solaris

Can fssnap be used as a compression tool (Solaris 10)?

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)
Discussion started by: saagar
2 Replies

5. Solaris

fssnap ioctl error

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)
Discussion started by: ilikecows
2 Replies

6. Solaris

executing cgi programs in solaris(B89) needed urgent help,pls!

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)
Discussion started by: wrapster
7 Replies

7. Solaris

how to install xen on solaris?, urgent help needed, pls

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)
Discussion started by: wrapster
3 Replies

8. Solaris

installed solaris, but xp not booting,but its shown in the menu,urgen help pls!!!

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)
Discussion started by: wrapster
2 Replies

9. Solaris

how can we take fssnap of different filesystems for the same point-in-time?

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)
Discussion started by: ilan
0 Replies

10. Solaris

lex on solaris??? (urgent, pls!!!)

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)
Discussion started by: wrapster
1 Replies
Login or Register to Ask a Question