Beadm create -p on another pool - making sense of it


 
Thread Tools Search this Thread
Operating Systems Solaris Beadm create -p on another pool - making sense of it
# 1  
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
# 2  
Old 04-08-2018
anyone ;(~
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
Login or Register to Ask a Question