Sponsored Content
Operating Systems Solaris ZFS: /system/zones "respawning" on rpool Post 302984319 by X96 on Monday 24th of October 2016 01:48:43 PM
Old 10-24-2016
ZFS: /system/zones "respawning" on rpool

Hi,

I have this fresh installation of Solaris 11.3 sparc.
I have two zfs pools both using two disks in mirroring mode, both are online.

I want to move /system/zones, currently rpool/VARSHARE/zones, from rpool to the other zfs pool so my zones don't consume space on the disks allocated to rpool. Since it's a fresh install, /system/zones is currently empty, no zones have been created yet.

I boot the system in signle user mode
Then destroy rpool/VARSHARE/zones:
Code:
zfs destroy rpool/VARSHARE/zones

create the new volume and set mount point:
Code:
zfs create -o mountpoint=/system/zones storage/zones

After rebooting the system, rpool/VARSHARE/zones is automatically recreated and I have this error message:
Code:
cannot mount 'zpool/zones' on '/system/zones': mountpoint or dataset is busy
... transitioned to maintenance

If instead of destroying rpool/VARSHARE/zones I change it's mountpoint to none, everything seems to work as wanted.

So here's the question, what am I doing wrong? why is rpool/VARSHARE/zones respawning when destroyed?

Thanks and sory for the long post.



Moderator's Comments:
Mod Comment Please use CODE tags as required by forum rules!

Last edited by RudiC; 10-24-2016 at 03:02 PM.. Reason: Added CODE tags.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Explain the line "mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`"

Hi Friends, Can any of you explain me about the below line of code? mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'` Im not able to understand, what exactly it is doing :confused: Any help would be useful for me. Lokesha (4 Replies)
Discussion started by: Lokesha
4 Replies

2. Solaris

solaris zones Error : "Not in ufs"

Hi All, I have a doubt in solaris zoness where I have some of my local zones in "running state" when i try to install my patch on the global zone which will be automatically applied to all local zones , It says the local zones are not in ufs. So i tried to halt all local zones , it says... (7 Replies)
Discussion started by: jegaraman
7 Replies

3. Solaris

"flar create" produces a tiny flar image of rpool

Hi, can someone help with the following? I got 1x146GB disk which is span by just one zfs rpool. When issue for example: as you can see in above output the flar is very small, just around 10KB rpool with all data sets has several GB so this can't be good image. This is on the Solaris 10... (3 Replies)
Discussion started by: TomSu
3 Replies

4. Shell Programming and Scripting

awk command to replace ";" with "|" and ""|" at diferent places in line of file

Hi, I have line in input file as below: 3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL My expected output for line in the file must be : "1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL" Can someone... (7 Replies)
Discussion started by: shis100
7 Replies

5. Red Hat

INIT: Id "x" respawning too fast

Hi, OS: Oracle Enterprise Linux 4 My system was working normal then when i reboot the machine the system started but it is halting the boot sequence with this message "INIT: Id "x" respawning too fast: disabled for 5 minutes" Q: any solution to this reply is highly appreciated . (5 Replies)
Discussion started by: maooah
5 Replies

6. UNIX for Dummies Questions & Answers

Using "mailx" command to read "to" and "cc" email addreses from input file

How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address and column 3 contains “cc” e-mail address to include with same email. Sample input file, email.txt Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies

7. Shell Programming and Scripting

awk "date" and "system" command

Hello experts! I need your help please I have a file.txt of which I want to extract 3rd and 4th columns with date with the form e.g.: 2016-11-25 03:14:50and pass them to "date" command, but also append the 9th column in a file as well. So I want to execute date -d '2016-11-25 03:14:50' ... (2 Replies)
Discussion started by: phaethon
2 Replies

8. Shell Programming and Scripting

Bash script - Print an ascii file using specific font "Latin Modern Mono 12" "regular" "9"

Hello. System : opensuse leap 42.3 I have a bash script that build a text file. I would like the last command doing : print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt where : print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies

9. UNIX for Beginners Questions & Answers

What does "force devmap reload" as in "multipath -r" means for my system and stability of my system?

Cannot present unpresented disks back again. On a test server tried this as a solution "multipath -r" and it worked. Too worried to try it in production before I know all the information. Any info would be appreciated! Also some links to the documentation on this specific issue could help a... (1 Reply)
Discussion started by: jsteppe
1 Replies
scprivipd(1M)						  System Administration Commands					     scprivipd(1M)

NAME
scprivipd - Sun Cluster Private IP address service daemon SYNOPSIS
/usr/cluster/lib/sc/scprivipd DESCRIPTION
Sun Cluster private IP addresses can be assigned to non-global zones by using the scconf command or the clnode command. The scprivipd dae- mon is a server daemon that is used for the management of these private IP addresses that are assigned to non-global zones. The scprivipd daemon is started at system boot time. It is used to configure or unconfigure the private IP addresses that are assigned to non-global zones on zone boot or shutdown or as a result of scconf operations. DIAGNOSTICS
The scprivipd daemon has no direct stdin, stdout, or stderr connection to the outside. All diagnostic messages are logged through the sys- log function. NOTES
The scprivipd daemon must be run in superuser mode. The scprivipd daemon is a Service Management Facility (SMF) service and is started through SMF. Also, if the scprivipd daemon is killed by a signal, it is automatically restarted by SMF. The SIGTERM signal can be used to kill scprivipd gracefully. Other signals should not be used to kill the daemon. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWscu | +-----------------------------+-----------------------------+ |Interface Stability |Private | +-----------------------------+-----------------------------+ SEE ALSO
clnode(1CL), scconf(1M), syslog(3C), attributes(5) Sun Cluster 3.2 19 May 2006 scprivipd(1M)
All times are GMT -4. The time now is 03:35 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy