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
tzmon(7d)							      Devices								 tzmon(7d)

NAME
tzmon - ACPI Thermal Zone Monitor DESCRIPTION
The tzmon is a pseudo driver that serves as an ACPI thermal zone monitor. Thermal zones are logical regions within a computer system for which ACPI performs temperature monitoring and control functions. The number of thermal zones on a system with ACPI support varies. For example, some systems may have one or more thermal zones, while others may have none. See the Advanced Configuration and Power Interface Specification, (ACPI) Version 3.0A. for more details. The tzmon handles thermal Zone events from ACPI and polls the temperature for each zone exposed by the ACPI implementation. If threshold temperatures are reached, tzmon takes appropriate action. For example, if the temperature is sufficiently high and the ACPI implementation supports it, tzmon initiates system shutdown. Note that by default, system temperature control functions are usually performed by the BIOS and may supersede tzmon functions, depending on the BIOS implementation. Also, many ACPI implementations expose no thermal zones and in these cases, tzmon performs no functions. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWckr | +-----------------------------+-----------------------------+ |Architecture |x86/x64 only | +-----------------------------+-----------------------------+ |Interface stability |Private | +-----------------------------+-----------------------------+ SEE ALSO
attributes(5) Advanced Configuration and Power Interface Specification, (ACPI), Version 3.0A. SunOS 5.11 31 Oct 2006 tzmon(7d)
All times are GMT -4. The time now is 11:30 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy