Sponsored Content
Operating Systems Solaris Flarcreate question (/etc/hosts missing) Post 302106027 by hcclnoodles on Tuesday 6th of February 2007 05:55:56 AM
Old 02-06-2007
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 hostname and IP for the
master) and as such the network interface doesn't come up

The strange thing is, the following files have been set with the new hostname successfully ....its just the /etc/hosts file that hasn't changed

/etc/hostname
/etc/hostname.hme0
/etc/net/ticlts/hosts
/etc/net/ticotssord/hosts
/etc/net/ticots/hosts

This obviously has the effect of the cloned box trying to come up with the masters IP and hostname, but failing to do so because the above files were correctly populated with the hostname given by jumpstart

The command I used to create the archive was

Flarcreate -n "Solaris 8 build" -c /data/archive.flar

I did actually have this working fine a while back, but I lost the complete flarcreate command I used.Is there anything glaringly obvious that is casing the /etc/hosts file to remain

Any help would be greatly appreciated
Gary
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

hosts.allow & hosts.deny

Hi! Im trying to use host.allow & host.deny to resrtic access to my sun machine, but it doesnt seem to work... I want to allow full access from certain IPīs (ssh,http,ftp,etc...) but deny all kind of conections from outsideworld, the way that im doing that is: hosts.allow ALL:127.0.0.1... (2 Replies)
Discussion started by: Sorrento
2 Replies

2. 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

3. 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

4. Solaris

/etc/inet/hosts modification question

HI, IF i modify /etc/inet/hosts file, do I need to reboot the box? (1 Reply)
Discussion started by: mokkan
1 Replies

5. Solaris

UFS filesystem mounted on 2 hosts question

I have two Unix (Solaris) hosts that are both attached to our SAN. They are both presented with the same luns. What I want to do is have the same UFS filesystem mounted on both hosts at the same time. What I am trying to accomplish is creating a zone that will reside on both hosts but only... (2 Replies)
Discussion started by: beaker457
2 Replies

6. Solaris

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 ... (1 Reply)
Discussion started by: uxadmin007
1 Replies

7. 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

8. AIX

aix tcp wrappers hosts.allow hosts.deny?

hi all just installed the netsec.options.tcpwrapper from expansion pack, which used to be a rpm, for my aix 6.1 test box. it is so unpredictable. i set up the hosts.deny as suggested for all and allow the sshd for specific ip addresses/hostnames. the tcpdchk says the hosts allowed and... (0 Replies)
Discussion started by: wf201626
0 Replies

9. IP Networking

Newbie BIND DNS question: resolving upstream hosts?

Old skool UNIX and Linux geek here, but newbie to the world of DNS and bind. I've recently been tasked with replacing our DNS infrastructure, currently on Windows, with a RHEL based solution. And I assume that means using bind, which I've not used before. Here's my question: Suppose our company... (3 Replies)
Discussion started by: lupin..the..3rd
3 Replies

10. Solaris

How to copy a tar file on a series of remote hosts and untar it on those hosts?

Am trying to copy a tar file onto a series of remote hosts and untar it at the destination. Need to do this without having to do multiple ssh. Actions to perform within a single ssh session via shell script - copy a file - untar at destination (remote host) OS : Linux RHEL6 (3 Replies)
Discussion started by: sankasu
3 Replies
root_archive(1M)					  System Administration Commands					  root_archive(1M)

NAME
root_archive - manage bootable miniroot archives SYNOPSIS
/boot/solaris/bin/root_archive pack archive root /boot/solaris/bin/root_archive unpack archive root /boot/solaris/bin/root_archive packmedia solaris_image root /boot/solaris/bin/root_archive unpackmedia solaris_image root DESCRIPTION
The root_archive utility is used to manage bootable miniroot archives and is currently only available on x86 platforms. The utility can pack and unpack boot/root archives in both ufs and hsfs (iso9660) format. It will always generate ufs archives. root_archive also uses the lofi file driver to export a file as a block device (see lofi(7D)) and mount to mount or unmount file systems and remote resources (see mount(1M)). root_archive requires the same privileges that are needed to run these commands. SUBCOMMANDS
The root_archive command has the following subcommands: pack archive root Pack from the image found under the root directory to the archive. unpack archive root Unpack from the archive to an unpacked image under the root directory. packmedia solaris_image root Pack the solaris image to the root directory. unpackmedia solaris_image root Unpack the solaris image from the root directory. For packmedia and unpackmedia, other items that do not go into the ramdisk image are copied or uncopied (see cpio(1)) as well. Specifi- cally, this includes all the packaging databases needed for pkgadd and the other packaging utilities to succeed which are not used in the running and hence pruned to conserve memory. EXAMPLES
Example 1 Unpacking the Solaris x86 install image The following command unpacks the current Solaris image from the root directory: # root_archive unpackmedia /export/nv/solarisdvd.nvx_dvd/latest /export/Boot Where /export/nv/solarisdvd.nvx_dvd/latest represents a path to a Solaris x86 install image and /export/Boot is a directory that will be purged or created, as necessary. Example 2 Packing the Solaris x86 install image The following command packs the current Solaris image to the root directory: # root_archive packmedia /export/nv/solarisdvd.nvx_dvd/latest /export/Boot EXIT STATUS
The following exit values are returned: 0 The command completed successfully. 1 The command exited due to an error. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ |Interface Stability |Stable | +-----------------------------+-----------------------------+ SEE ALSO
cpio(1), bootadm(1M), mount(1M), attributes(5), lofi(7D) SunOS 5.11 26 Sep 2005 root_archive(1M)
All times are GMT -4. The time now is 02:06 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy