Visit Our UNIX and Linux User Community


flarcreate help.


 
Thread Tools Search this Thread
Operating Systems Solaris flarcreate help.
# 1  
Old 07-07-2009
flarcreate help.

Hi, I have to clone a system and i would like to use flarcreate. My question is regarding excluding some NFS mounts and some directories under /. If somebody have done this earlier please advice on the following procedure.

Create a file like /exclude_list and put the following lines in it

/nfs1
/nfs2
/tmp
/u10
/data_tmp

then give the command

#flarcreate -n prod01 -R / -X /exclude_list /data_tmp/prod1-20090707.flar

where nfs1 and nfs2 are nfs mounts
/tmp is the tmp filesystem
/u10 is a filesystem
/data_tmp is the filesystem which has enough space to hold the flar file.

Any help is appreciated.
# 2  
Old 07-08-2009
Looks okay to me, the "-R /" is the default so does not need to be specified, I always do a "-e description" as well, I think excluding /tmp is built into the flarcreate command, but what you have specified should be okay. What version of Solaris are you using because the flarcreate(1m) manpage for Solaris 9 does not mention the -X parameter for instance?
This User Gave Thanks to TonyFullerMalv For This Post:

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Flarcreate and excluding directories with software installed

Got a solaris 10 server that I want to take a flar of in order to use to build a new server. Works fine. Only trouble is there is software on the original server that is not needed on the new server - it will be uninstalled. I was thinking of creating the flar from the original server and... (0 Replies)
Discussion started by: psychocandy
0 Replies

2. Solaris

Save flarcreate on another server through ssh

hi, i would like to know if it is posible to create the flash archive and in the same line add another command to save it in another server through SCP. flarcreate -n "sv756flash" -c -X excludefilelist |... i appreciate your help. thanks a lot. (4 Replies)
Discussion started by: pabloli150
4 Replies

3. Solaris

Cloning with flarcreate .... and back

Hello Forum, I'd like to clone a Solaris 10 System. Well, I read a lot about flarcreate. Anyway I only read how to _create a flash archive by using flarcreate. But I don't know how to copy the data back to another harddisk from an ar:confused:chive to get a second runing system. ... (4 Replies)
Discussion started by: borsti007
4 Replies

4. Solaris

How to take solaris OS backup with "flarcreate" command

I am trying to take Solaris OS backup with the following command "flarcreate -S -n / /server11/inblr.flar", but this is taking complete root / (which includes my othe mount points also), Can any one suggest how to take only solaris OS backup and restore proceedure Thanks in advance (4 Replies)
Discussion started by: raj.chinnu
4 Replies

5. Solaris

System copy with flarcreate

Hi, i'm trying to make a system copy from one server to another (solaris 9), they have the same configuration. I've tried to create a flash archive using the flarcreate but the flash file size is 5.06 approx. and the method the flarcreate is using is CPIO and he cannot handle sizes over 4 GB. Is... (2 Replies)
Discussion started by: pasalagua
2 Replies

6. Solaris

flarcreate

found my notes got it flarcreate -n jumpstart -x /jumpstart/flash /jumpstart/flash/jumpstart.flar i think this will omit that directory and save it there correct? (3 Replies)
Discussion started by: deaconf19
3 Replies

7. Solaris

flarcreate disk error 28

I want to image solaris 8 with flarcreate like ghost in windows. the error come like errno 28, No space left? this is error message absapp@nepalabs1 # flarcreate -n "sol8utl" -S -R / -x /var/tmp /var/tmp/s8.utl.061222 Determining which filesystems will be included in the archive... Creating... (15 Replies)
Discussion started by: 197oo302
15 Replies

8. Solaris

Flarcreate question (/etc/hosts missing)

Hi there I have created a flash archive using flarcreate and rolled out via jumpstart and everything seems fine, however when I roll out the archive to another box, everything is fine apart from the /etc/hosts file which is the same as the masters hosts file (i.e. it still has the original... (1 Reply)
Discussion started by: hcclnoodles
1 Replies

9. Solaris

flarcreate to remote tape device

Hi, Someone knows hot to create a flash archive to a remote tape device? Here is my try: $flarcreate -n nereus -S -t lisdev:/dev/rmt/1n WARNING: hash generation disabled when using tape (-t) current filter settings Creating the archive... ERROR: Unable to work archive. Regards (4 Replies)
Discussion started by: spacewalker
4 Replies

10. Solaris

flarcreate: command not found

Hi, I have a solaris 5.6 box, and i need to create a Flash Archive for DRP porposes. When i execute the falarcreate commnad the system returns "flarcreate: command not found" . I search the entire system (find . -name *flar*) for that comand and i can find it. Solaris 5.6 donīt have this... (1 Reply)
Discussion started by: spacewalker
1 Replies

Featured Tech Videos