Even if I include their directories with -y ?
Is there really a risk on the good disk if we go for dd while placing both disks in the same machine?
I don't have much time till I have to send the good machine back to production.
Hmm yes, maybe -y
can enforce extra files.
No, if you do not by mistake put the good disk as the target
The risk is at the cloned disk. If e.g. a new directory is created during the dd then it might be inconsistent on the cloned disk.
Run fsck
on it after the dd
https://docs.oracle.com/cd/E19253-01/817-5668/auto14/index.html
Flash is the method for production cloning of a 'master' configuration that has been built. When the sysadmin is happy that the master is ready to be cloned n times, a flash is created to save enormous amounts of time in the build process of the clones.
Flash archives all files on the master system at the time of flarcreate.
A clone wouldn't be a clone if files were omitted. For example, scripts might have been developed by the user that also need to be shipped with a distribution. Sysadmin has the option to exclude files from distribution but the default is all files.
Obviously, the receiving hardware needs to be the same architecture.
Hi @F.Mattar
Have you taken the time to read the full documentation on creating flash archives and installing them?
Figure 1-1 Solaris Flash Initial Installation
Maybe it's just me; but my impression is that you have not read and understand the Solaris documents on this topic. The docs are not very long and do not take much time to read. Have you read them?
This book describes creating and administering Solaris Flash archives. This installation feature enables you to create a single reference installation of the Solaris Operating System, then you can replicate that installation on a number of clone systems.
I did read it. Not all of it. For one reason. I'm concentrating on backing up the good disk before something happens or sending the good machine back to production. My main focus is to create a fully functional backup of this disk.
Anway, I will read it further when I successfully flash archive the good system.
I tried flarcreate with -L pax option and it worked fine.
How can I update flarcreate on the good machine???
I'm searching already but didn't find the right resources.
When you say I'm searching already but didn't find the right resources, what exactly did you search for - and where ?
i typed (into a well known browser / search engine )
flarcreate solaris examples
and get 00's of suggestions
giving no details of what you tried is a waste of time for the team, show your efforts please.
With all due respect. I'm doing a lot of effort to solve this case. I have said that I'm new to UNIX and I'm learning. For sure I lack the right keywords that you guys have. So, my search wouldn't be headed in the right direction most of the time. However, my problem is not with executing flarcreate command since I have excecuted it successfully on the good machine(with cpio) and the bad machine (with pax).
What I asked for is just a tip of the iceberg about updating terminal commands if some options don't exist. I did search the web and didn't find what I'm looking for...which has been pointed out by the respected hicksd8.
I have created a new post for this problem since it's not directly related to the original post here.
np, 'with all due respect', had you concisely stated that then I would have responded appropriately.
Continue here: