LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 10-17-2010, 01:59 PM   #1
bax
Member
 
Registered: Dec 2001
Location: NoVA
Distribution: Ubuntu, Solaris, OpenBSD
Posts: 492

Rep: Reputation: 30
Cannot snapshot zone


For the life of me, I cannot figure out the syntax unless it's my configuration. Zone path is /zpool/zones/oracle11zone2 It is not running.

Code:
-bash-3.00# zfs snapshot zpool/zones/oracle11zone2@prepatch
cannot open 'zpool/zones/oracle11zone2': dataset does not exist
-bash-3.00# zfs snapshot /zpool/zones/oracle11zone2@prepatch
cannot snapshot '/zpool/zones/oracle11zone2@prepatch': leading slash in name
Code:
-bash-3.00# zpool status
  pool: rpool
 state: ONLINE
 scrub: none requested
config:

        NAME        STATE     READ WRITE CKSUM
        rpool       ONLINE       0     0     0
          c1t1d0s0  ONLINE       0     0     0

errors: No known data errors

  pool: zpool
 state: ONLINE
 scrub: none requested
config:

        NAME        STATE     READ WRITE CKSUM
        zpool       ONLINE       0     0     0
          raidz2    ONLINE       0     0     0
            c1t0d0  ONLINE       0     0     0
            c1t2d0  ONLINE       0     0     0
            c1t3d0  ONLINE       0     0     0

errors: No known data errors
-bash-3.00#
What am I missing?
 
Old 10-17-2010, 02:26 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
What do "zfs list" and "zoneadm list -vc" return?
 
Old 10-17-2010, 04:46 PM   #3
bax
Member
 
Registered: Dec 2001
Location: NoVA
Distribution: Ubuntu, Solaris, OpenBSD
Posts: 492

Original Poster
Rep: Reputation: 30
Thank you for helping!

Code:
-bash-3.00# zoneadm list -vc
  ID NAME             STATUS     PATH                           BRAND    IP    
   0 global           running    /                              native   shared
   1 PPSMzone1        running    /zpool/zones/PPSMzone1         native   shared
   2 Snapzone1        running    /zpool/zones/Snapzone1         native   shared
   4 PPSMzoneclone1   running    /zpool/zones/PPSMzoneclone1    native   shared
   5 Snapzoneclone1   running    /zpool/zones/Snapzoneclone1    native   shared
   6 sgszone2         running    /zpool/zones/sgszone2          native   shared
  13 Snapzoneclone2   running    /rpool/zones/Snapzoneclone2    native   shared
   - oracle11zone2    installed  /zpool/zones/oracle11zone2     native   shared
   - oracle11zone2clone1 incomplete /zpool/zones/oracle11zone2clone1 native   shared
Code:
-bash-3.00# zfs list
NAME                           USED  AVAIL  REFER  MOUNTPOINT
rpool                         27.0G  34.6G  6.99G  /rpool
rpool/ROOT                    11.1G  34.6G    18K  legacy
rpool/ROOT/s10s_u7wos_08      11.1G  34.6G  7.76G  /
rpool/ROOT/s10s_u7wos_08/var  3.36G  34.6G  3.36G  /var
rpool/dump                    1.00G  34.6G  1.00G  -
rpool/export                    42K  34.6G    22K  /export
rpool/export/home               20K  34.6G    20K  /export/home
rpool/swap                    7.86G  39.9G  2.52G  -
zpool                         63.1G  3.55G  63.1G  /zpool
-bash-3.00#
 
Old 10-17-2010, 06:00 PM   #4
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
You didn't create a dataset (filesystem) for that zone thus you cannot snapshot a non existing dataset. You might snapshot the whole zpool one but that would be less convenient.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Run script in EST time zone but server is in GMT zone jeesun Linux - Networking 1 04-04-2010 01:37 PM
DNS-problem from orange zone to green zone jonaskellens Linux - Networking 5 11-16-2009 07:19 PM
XDMCP from global zone to Brandz zone coolster Solaris / OpenSolaris 2 03-03-2008 07:15 AM
DNS Zone x-fer - From one zone to another / Debian 3.1 + BIND9 kenwoodgt Linux - Software 0 11-01-2006 10:28 AM
linux firewall with internet zone, dmz and trusted zone ikhwan98 Linux - Security 1 11-27-2001 04:45 AM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 05:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration