Sponsored Content
Operating Systems Solaris How do I mount a ZFS snapshot? Post 302638469 by SIFT3R on Thursday 10th of May 2012 10:18:22 AM
Old 05-10-2012
How do I mount a ZFS snapshot?

I created a zpool and in it there is a zfs volume. I used that to backup data on another server using ISCSI. Now I have the data and want to take a snapshot so that I can view it on another machine that is not in production.

Here is what I have done
Code:
# zfs snapshot mat/vol_1@snap1
# zfs list -t snapshot
NAME              USED  AVAIL  REFER  MOUNTPOINT
mat/vol_1@snap1      0      -  3.35G  -
# zfs send mat/vol_1@snap1 | zfs receive mat/vol_2
cannot receive new filesystem stream: destination 'mat/vol_2' exists
must specify -F to overwrite it
# zfs send mat/vol_1@snap1 | zfs receive mat/vol_3
#
#
# zfs list -t snapshot
NAME              USED  AVAIL  REFER  MOUNTPOINT
mat/vol_1@snap1      0      -  3.35G  -
mat/vol_3@snap1      0      -  3.35G  -

Now I want to view the data so I
Code:
# zpool get listsnapshots mat
NAME  PROPERTY       VALUE      SOURCE
mat   listsnapshots  on         default
# zpool set listsnapshots=off mat
#  zpool get listsnapshots mat
NAME  PROPERTY       VALUE      SOURCE
mat   listsnapshots  off        local
# cd /mat
# ls
# cd /
# ls /mat/vol_3/.zfs/snapshot

But I cannot see the snapshots.
 

6 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Need to take snapshot in solaris (using ZFS or ....)

Hi, I am working on Network Management Software product. This is supported both windows and solaris platform. I need to take the snapshot of the solaris server ( which installed our product), like vmware in windows. I think using ZFS files system, we can take the snapshot in solaris... (1 Reply)
Discussion started by: mgmk.84
1 Replies

2. Solaris

Need to take snapshot in solaris (using ZFS or ....)

Hi, I am working on Network Management Software product. This is supported both windows and solaris platform. I need to take the snapshot of the solaris server ( which installed our product), like vmware in windows. I think using ZFS files system, we can take the snapshot in solaris 10 but... (2 Replies)
Discussion started by: mgmk.84
2 Replies

3. Solaris

ZFS snapshot issue.

I 've a weired situation .. my system has zfs root as its file system and now root file system is full at 100% # zfs list NAME USED AVAIL REFER MOUNTPOINT rpool 134G 65.2M 94K /rpool rpool/ROOT ... (1 Reply)
Discussion started by: fugitive
1 Replies

4. Solaris

ZFS snapshot query

I saved one of my zfs snapshot on the remote machine with following command. And now i want to restore the same snapshot to original server how can i receive it on the original server from backup server. #zfs send rpool/ROOT/sol10_patched@preConfig | ssh x.x.x.x zfs receive... (1 Reply)
Discussion started by: fugitive
1 Replies

5. Solaris

Emergency - restore a deleted zfs snapshot

Hi, I deleted a zfs snapshot because it was as big as the original zfs. After the snapshot was removed, all the data in the original zfs is gone. How this happened? Can I restore the snapshot? Please help. Thanks a lot! (5 Replies)
Discussion started by: aixlover
5 Replies

6. Solaris

zfs - get the name of the last snapshot

I have installed Solaris 11 Express on my server and want to set up automatic backuping using zfs snapshots. In the backup script I need to find out the name of the last snapshot of the given filesystem (in order to refer to it as the startpoint of an incremental backup). What is the best way to do... (4 Replies)
Discussion started by: RychnD
4 Replies
AMANDA-APPLICATIONS(7)						    Miscellanea 					    AMANDA-APPLICATIONS(7)

NAME
amanda-applications - Application-api for amanda DESCRIPTION
Describe how to use application with Amanda APPLICATIONS
This section lists the applications included with Amanda. See the individual man pages for instructions on using them. For complete How-To information, consult the Amanda wiki at http://wiki.zmanda.com. o amgtar(8), - use GNU Tar to backup and restore data. o ampgsql(8), - use PostgreSQL's continuous WAL archiving. o amraw(8), - use open and read to read the data. o amsamba(8), - use smbclient to backup and restore data. o amstar(8), - use star to backup and restore data. o amsuntar(8), - use native tar on Solaris to backup and restore data. o amzfs-sendrecv(8), - use zfs to create a snapshot and use 'zfs send' to generate the backup. o amzfs-snapshot(8), - use zfs to create a snapshot and for use with other applications (e.g. amgtar) DEFINING APPLICATIONS
An application is defined in amanda.conf(5) as follows: define application-tool $appconfigname { plugin "$pluginname" property "$PROPERTY_NAME" "$PROPERTY_VALUE" ... } and then referenced in a dumptype as define dumptype $dumptypename { ... program "APPLICATION" application "$appconfigname" } Application properties, like Amanda configuration parameters, are insensitive to case, and - (dash) and _ (underscore) may be used interchangeably. See the individual plugin documentation for properties applicable to each plugin. SEE ALSO
amanda(8), amanda.conf(5) The Amanda Wiki: : http://wiki.zmanda.com/ AUTHORS
Jean-Louis Martineau <martineau@zmanda.com> Zmanda, Inc. (http://www.zmanda.com) Dustin J. Mitchell <dustin@zmanda.com> Zmanda, Inc. (http://www.zmanda.com) Amanda 3.3.3 01/10/2013 AMANDA-APPLICATIONS(7)
All times are GMT -4. The time now is 04:01 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy