Sponsored Content
Operating Systems Solaris Beadm create -p on another pool - making sense of it Post 303015497 by javanoob on Thursday 5th of April 2018 02:03:57 PM
Old 04-05-2018
Beadm create -p on another pool - making sense of it

Hi all,

I am trying out Solaris 11.3

Realize the option of -p when using beadm that i can actually create another boot environment on another pool.

Code:
root@Unicorn6:~# beadm create -p mypool solaris-1
root@Unicorn6:~# beadm list -a
BE/Dataset/Snapshot                              Flags Mountpoint Space   Policy Created
-------------------                              ----- ---------- -----   ------ -------
solaris
   rpool/ROOT/solaris                            NR    /          3.35G   static 2018-02-07 02:21
   rpool/ROOT/solaris/var                        -     /var       429.15M static 2018-02-07 02:21
   rpool/ROOT/solaris/var@2018-04-06-01:38:54    -     -          20.0K   static 2018-04-06 09:38
   rpool/ROOT/solaris@2018-04-06-01:38:54        -     -          0       static 2018-04-06 09:38
solaris-1
   mypool/ROOT/solaris-1                         -     -          3.44G   static 2018-04-06 09:38
   mypool/ROOT/solaris-1/var                     -     -          429.10M static 2018-04-06 09:39
   mypool/ROOT/solaris-1/var@2018-04-06-01:38:54 -     -          68.0K   static 2018-04-06 09:38
   mypool/ROOT/solaris-1@2018-04-06-01:38:54     -     -          83.38M  static 2018-04-06 09:38

I would have understood that snapshots are done the /rpool/ROOT/* datasets as shown above, then copied over to mypool
q1) What i dont understand is the need for the snapshots in mypool also ? The snapshots in rpool being copied over are consistent copies of the original BE. So why the need to snapshot those ROOT/solaris-1 datasets in mypool (ABE) again ?

Furthermore, it seems like this mypool/ROOT/solaris-1/var@2018-04-06-01:38:54 is created before the the actual dataset ?

Code:
 
    mypool/ROOT/solaris-1/var                     -     -          429.10M static 2018-04-06 09:39
   mypool/ROOT/solaris-1/var@2018-04-06-01:38:54 -     -          68.0K   static 2018-04-06 09:38

Can't wrap my head around this .. SmilieSmilieSmilie

Regards,
Noob

Last edited by javanoob; 04-05-2018 at 03:06 PM.. Reason: clarity
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Um, this is lacking sense

Hello, and good day I'm somewhat confused with the workings of the Linux operating system, more specifically RedHat 7.1. The story began a few weeks ago when I downloaded SuSe 7.2, but failed at installation, then Caldera 2.4, then 3.1. Finally I landed upon RedHat 7.1--a fabulous... (6 Replies)
Discussion started by: jdandordalton
6 Replies

2. UNIX for Advanced & Expert Users

Process calls - making sense of truss results

Can someone point me at resources for system calls? Specifically, I am trying to make sense of what I am seeing in a truss command. Thanks! (3 Replies)
Discussion started by: jpeery
3 Replies

3. Solaris

Making sense of df -k & format verify output

I'm posting the output from two disks on my Solaris machine. The first part is the output from using the format command and then using the verify option on each disk. The last part is the output from my df -k command. I'm trying to match the partition to the filesystem/mount point. I'm assuming... (13 Replies)
Discussion started by: gonzotonka
13 Replies

4. Infrastructure Monitoring

zfs - migrate from pool to pool

Here are the details. cnjr-opennms>root$ zfs list NAME USED AVAIL REFER MOUNTPOINT openpool 20.6G 46.3G 35.5K /openpool openpool/ROOT 15.4G 46.3G 18K legacy openpool/ROOT/rds 15.4G 46.3G 15.3G / openpool/ROOT/rds/var 102M ... (3 Replies)
Discussion started by: pupp
3 Replies

5. UNIX for Dummies Questions & Answers

Why does fibonacci sequence script stop making sense at 92nd iteration?

So, Just for practice, I wrote a simple fibonacci sequence script in bash. (03:08:02\$ cat fib #!/usr/bin/bash ret () { echo -ne "\n" sleep .5 } a=1 b=2 echo -n $a #1 A ret echo -n $b #2 B ret (8 Replies)
Discussion started by: DeCoTwc
8 Replies

6. Shell Programming and Scripting

Help making simple perl or bash script to create a simple matrix

Hello all! This is my first post and I'm very new to programming. I would like help creating a simple perl or bash script that I will be using in my work as a junior bioinformatician. Essentially, I would like to take a tab-delimted or .csv text with 3 columns and write them to a "3D" matrix: ... (16 Replies)
Discussion started by: torchij
16 Replies

7. BSD

Unable to create zfs zpool in FreeBSD 8.2: no such pool or dataset

I am trying to test simple zfs functionality on a FreeBSD 8.2 VM. When I try to run a 'zpool create' I receive the following error: # zpool create zfspool /dev/da0s1a cannot create 'zfspool': no such pool or dataset # zpool create zfspool /dev/da0 cannot create 'zfspool': no such pool or... (3 Replies)
Discussion started by: bstring
3 Replies

8. Programming

This Makes NO sense. I'm making a game and getting an error, need help.

Okay so I'm making a simple text based game that branches into different scenarios. By branching I mean branching off into whole different files with that part of the game in it. I got tired of working on scenario 1 so I'm working on scenario 2. As I get started and try to test it, I get an error... (1 Reply)
Discussion started by: lemonoid
1 Replies

9. Solaris

Create Pool

Assuming we have a server with 8 hdd, using raid5. After applying raid5 to the disk, solaris 11 will be install. In my understanding, 8 hdd will represent 1disk(pls correct me if I'm wrong) and have one pool(rpool). Using raid5 for 8hdd, could it be possible to have multiple pool? My... (11 Replies)
Discussion started by: flexihopper18
11 Replies

10. UNIX for Advanced & Expert Users

Zone BEADM destroy bootenv failed

Need assistance in destroying unbootable environment solaris-0 !R - 16.60G static 2015-12-16 17:17 solaris-1 !R - 282.0K static 2016-05-11 16:21 solaris-2 !R - 14.56G static 2017-03-14 16:36 solaris-2-backup-1 ! - ... (2 Replies)
Discussion started by: ajayram_arya
2 Replies
asadmin-delete-jdbc-connection-pool(1AS)			   User Commands			  asadmin-delete-jdbc-connection-pool(1AS)

NAME
delete-jdbc-connection-pool - removes the JDBC connection pool SYNOPSIS
delete-jdbc-connection-pool --user admin_user [--password admin_password] [--host localhost] [--port 4848] [--secure|-s] [--passwordfile filename] [--terse=false] [--echo=false] [--interactive] [--cascade=false] connection_pool_ID Removes the JDBC connection pool. This command is supported in remote mode only. OPTIONS
--user authorized domain application server administrative username. --password password to administer the domain application server. --host machine name where the domain application server is running. --port port number of the domain application server listening for administration requests. --secure if true, uses SSL/TLS to communicate with the domain application server. --passwordfile file containing the domain application server password. --terse indicates that any output data must be very concise, typically avoiding human-friendly sentences and favoring well- formatted data for consumption by a script. --echo setting to true will echo the command line statement on the standard output. --interactive prompts you for the required options that are not already specified. --cascade If set to true, deletes all the connector resources associated with the pool, apart from the pool itself. If set to false (default), the deletion of the pool fails if there are any resources associated with the pool. Either the resource has to be deleted explicitly, or set the option to true. OPERANDS
connection_pool_id name of the JDBC connection pool to be deleted. Example 1: Using the delete-jdbc-connection-pool command asadmin> delete-jdbc-connection-pool --user admin --password adminadmin --host fuyako port 7070 XA_connection_pool Deleted the JDBC connection pool resource with id = XA_connection_pool Where: the XA_connection_pool resource is deleted. EXIT STATUS
0 command executed successfully 1 error in executing the command asadmin-create-jdbc-connection-pool(1AS), asadmin-list-jdbc-connection-pools(1AS) J2EE 1.4 SDK March 2004 asadmin-delete-jdbc-connection-pool(1AS)
All times are GMT -4. The time now is 01:21 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy