03-10-2019
I know this is long overdue but I kid you not we had this done recently after my comments above;
A) If you want to do media creation from the archiveadm you need to exclude non-root datasets
B) If you have non-root datasets they're usually not a part of rpools; if this makes any sense.
1b) It should be a zpool just for those datasets which can be exported
2b) Exported zpools can be imported to another system or reattached to current system
C) Once you create a bootable UAR from the archiveadm, you will be able to install the cloned system and, have the ability to re-attach
the non-root datasets / zpools.
We were able to do this with a little hiccup here and there but the job went well...
Please if you have additional questions of the process just let me know so we can share with others who come across
this article.
9 More Discussions You Might Find Interesting
1. AIX
Hi everyone,
I want to clone a AIX 5.2 system from a machine to another one.
So i modified bosinst.data and image.data files (according to future platform) before making mksysb on old platform.
After booting on CD and restoring system using mksysb tape, the installation is launched but ever... (2 Replies)
Discussion started by: fgaulois
2 Replies
2. UNIX for Dummies Questions & Answers
I am new to UNIX and need help in cloning a HPUX 10.2 Ace 5, can anybody please guide me in making a full system backup.
Real Chess (0 Replies)
Discussion started by: real-chess
0 Replies
3. Solaris
I have gone over some articles regarding zones, I haven't found one that gives the exact information I'm looking for. I think I'm close though.
I have 2 servers, each with a HBA into a SAN, they are both presented with the same luns.
On server1, configured and installed the zone (zone1), the... (6 Replies)
Discussion started by: beaker457
6 Replies
4. UNIX for Advanced & Expert Users
I have several Solaris 8,9 and 10 servers.
I need to refresh them and avoid doing any OS upgrades. I may have to apply patches when I am done due to the new hardware.
My current servers have internal disk and my new target servers (same processor types) will have only SAN storage. Once the... (0 Replies)
Discussion started by: zzqv9p
0 Replies
5. Solaris
Hello and let me say at first, thank you for viewing this problem I have.
From the top!
Where I work, we have a Dell PowerEdge T300 X86 system running Solaris 10 8/07 s10x_u4wos_12b X86, and we realized, if this machine went down, we would be in trouble. So to fix that situation, I took it... (5 Replies)
Discussion started by: nitrolinux
5 Replies
6. Solaris
Hello,
What is the best method to use to clone a Solaris 10 machine with zones, to ensure all software and config can be easily installed on new hardware?
Thank You (4 Replies)
Discussion started by: da2013
4 Replies
7. Solaris
Hello all, this is my first time posting here. Where I work we have multiple servers (x3-2's) running Solaris 10u11 with 2 drives configured as RAID0, 300GB per. There are 4-6 open slots for drives to clone to.
Past attempts to clone/backup these drives has failed. One of the machines is... (1 Reply)
Discussion started by: eprlsguy
1 Replies
8. Cybersecurity
Hello there,
I would like to protect a Linux system from cloning, I don't mind if the cloned hard drive works in the same computer, but I need to avoid it to work in other one, even if it uses exactly same mainboard model and rest of computer parts. I want the cloned system to get frozen or... (4 Replies)
Discussion started by: Installimat
4 Replies
9. AIX
Hello All,
I am trying to clone an entire AIX virtual machine to a new virtual machine including all partitions and OS.Can anyone help me on the procedure to follow? I am not really sure on how it can be done.Thanks in advance.
Please use CODE tags for sample input, sample output, and for code... (4 Replies)
Discussion started by: gull05
4 Replies
LEARN ABOUT DEBIAN
uncrustify
UNCRUSTIFY(1) User Commands UNCRUSTIFY(1)
NAME
uncrustify - C, C++, C#, D, Java and Pawn source code beautifier
SYNOPSIS
uncrustify [OPTIONS] [FILES]
DESCRIPTION
If no input files are specified, the input is read from stdin.
If reading from stdin, you should specify the language using -l.
If -F is used or files are specified on the command line, the output filename is PFX + "/" + filename + SFX.
Unless, of course, the options --replace or --no-backup are used.
When reading from stdin or doing a single file via the '-f' option, the output is dumped to stdout, unless redirected with -o FILE.
Errors are always dumped to stderr
OPTIONS
Basic Options:
-c CFG Use the config file CFG.
If not specified, uncrustify will use $UNCRUSTIFY_CONFIG or $HOME.uncrustify.cfg.
-f FILE
Process the single file FILE, sending output to stdout or the file specified with -o.
-o FILE
Redirect output to FILE.
Use with -f, --update-config, --update-config-with-doc, --universalindent.
-F FILE
Read files to process from FILE, one filename per line.
You can create this file using something like 'find . -name "*.c" > list.txt'.
This cannot be combined with -f.
--prefix PFX
Prepend PFX to the output filename path.
This cannot be combined with -f, --replace, or --no-backup.
--suffix SFX
Append SFX to the output filename.
The default is '.uncrustify' if neither SFX or PFX are specified.
This cannot be combined with -f, --replace, or --no-backup.
--frag Assume the input is a code fragment and the first line is properly indented.
--replace
Replace source files (creates a backup).
This cannot be combined with -f, --prefix, or --suffix.
--no-backup
Replace files, no backup. Useful if files are under source control
This cannot be combined with -f, --prefix, or --suffix.
--mtime
Preserve mtime on replaced files.
-l Language override: C, CPP, D, CS, JAVA, PAWN, VALA, OC, OC+
-t Load a file with types (usually not needed)
-q Quiet mode - no output on stderr (-L will override)
Config/Help Options:
-h -? --help --usage
Print this message and exit
--version
Print the version and exit
--show-config
Print out option documentation and exit
--update-config
Output a new config file.
--update-config-with-doc
Output a new config file with embedded usage comments.
--universalindent
Output a config file for Universal Indent GUI.
--detect
Detects the config from a source file. Use with '-f FILE'. Detection is currently fairly limited.
Debug Options:
-p FILE
Dump debug info to a file
-L SEV Set the log severity (see log_levels.h)
-s Show the log severity in the logs
--decode FLAG
Print FLAG as text and exit
EXAMPLES
Read a D file from stdin, output to stdout.
cat foo.d | uncrustify -q -c my.cfg -l d
Process a file, output to stdout.
uncrustify -c my.cfg -d foo.d
Process a source tree, output to a different tree.
find src -name "*.[ch]" > files.txt
uncrustify -c my.cfg -F files.txt --prefix out
Process a source tree in-place.
uncrustify -c my.cfg --no-backup $(find src -name "*.[ch]")
NOTES
Use comments containing ' *INDENT-OFF*' and ' *INDENT-ON*' to disable processing of parts of the source file.
AUTHOR
Written by Ben Gardner
REPORTING BUGS
Use the issue tracker at <http://sourceforge.net/projects/uncrustify>
COPYRIGHT
Copyright (C) 2006-2009 Ben Gardner
LICENSE
GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html>
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU-
LAR PURPOSE.
uncrustify 0.59 Oct 2009 UNCRUSTIFY(1)