Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Moving an AdvFS domain
@ 1998-07-31  4:00 FTP Administrator
  1998-08-01  4:00 ` Erik Persson
  1998-08-01  4:00 ` Nikola Milutinovic
  0 siblings, 2 replies; 3+ messages in thread
From: FTP Administrator @ 1998-07-31  4:00 UTC (permalink / raw)


Hello,

I'd like to know if it's possible to move an AdvFS composed by several
disks to another
machine and to have it alive again without to suffer data losses.

We have a machine suffered a major disk failure on the system disk
(ufs), so we have to
change it. How can save info about structure of a advfs domain
containing some
important data?

TIA, 

Massimo Gais
----
FTP Administrator                                       
<ftpadmin@ftp.unina.it>
C.D.S. - University "Federico II" of Naples (Italy)

                          "640K ought to be enough for anybody." 
                                           --  Bill Gates, 1981



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Moving an AdvFS domain
  1998-07-31  4:00 Moving an AdvFS domain FTP Administrator
  1998-08-01  4:00 ` Erik Persson
@ 1998-08-01  4:00 ` Nikola Milutinovic
  1 sibling, 0 replies; 3+ messages in thread
From: Nikola Milutinovic @ 1998-08-01  4:00 UTC (permalink / raw)


FTP Administrator wrote:
> 
> Hello,
> 
> I'd like to know if it's possible to move an AdvFS composed by several
> disks to another
> machine and to have it alive again without to suffer data losses.
> 
> We have a machine suffered a major disk failure on the system disk
> (ufs), so we have to
> change it. How can save info about structure of a advfs domain
> containing some
> important data?

Well, forst of all, backups are a very good idea. Try booting from DU CD,
recreate AdvFS domain structure (/etc/fdmns/*) and back it up (vdump)

Now you can do three things.

1. Get a new machine, set it up, create AdvFS domain large enough for your
backed up file system and restore it (vrestore).

2. Take all good disks with that valid AdvFS domain on them, plug them into the
new machine, create system disk (actually, instal the OS from scratch), and just
configure the domain (/etc/fdmns/*).

3. Plug a new disk into the old machine and do the same as (2).

Nix.





^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Moving an AdvFS domain
  1998-07-31  4:00 Moving an AdvFS domain FTP Administrator
@ 1998-08-01  4:00 ` Erik Persson
  1998-08-01  4:00 ` Nikola Milutinovic
  1 sibling, 0 replies; 3+ messages in thread
From: Erik Persson @ 1998-08-01  4:00 UTC (permalink / raw)


FTP Administrator <ftpadmin@ftp.unina.it> writes:

> Hello,
> 
> I'd like to know if it's possible to move an AdvFS composed by several
> disks to another
> machine and to have it alive again without to suffer data losses.
> 
> We have a machine suffered a major disk failure on the system disk
> (ufs), so we have to
> change it. How can save info about structure of a advfs domain
> containing some
> important data?
> 
> TIA, 
> 
> Massimo Gais

Just to state the obvious: Make sure you have good backups. If you
don't, beware of murphys law.

I have done this a lot of times with no particular problems - except
one major one: When I upgraded from 4.0B to 4.0D on a file server one
file domain (the largest one) could not be brought alive again - any
attempt to do so panicked the machine. I am not the only one being
bitten by this either, so be wary when moving file domains from
pre-4.0D to 4.0D.

Having said this, all you need is to use the command 'advscan'
(located in /sbin/advfs/) on the other machine in order to
automatically restore the file domains. Check the man page for
details. For example, if you move two disks and they show up as rz2
and rz3 you would use 'advscan -r rz2 z3' in order to scan the disks
and create device links and directories in /etc/fdmns.

The domain names themselves cannot be restored so advscan will create
new names based on the device names involved. To change the names,
simply rename the corresponding directories in /etc/fdmns to somethig
you like better. Fileset names will be correct though.

Good luck,
/Erik

-- 
Erik Persson, System Manager            e-mail: erik@ikp.liu.se
Dept. of Mech. Engineering              Voice: +46 13 28 2464
University of Link�ping, Sweden		Fax:   +46 13 21 2717





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1998-08-01  4:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-07-31  4:00 Moving an AdvFS domain FTP Administrator
1998-08-01  4:00 ` Erik Persson
1998-08-01  4:00 ` Nikola Milutinovic

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox