From: Erik Persson <erik@ikp.liu.se>
Subject: Re: Moving an AdvFS domain
Date: 1998/08/01 [thread overview]
Message-ID: <t067gcg4cs.fsf@sibelius.ikp.liu.se> (raw)
In-Reply-To: 35C1F344.41C6@ftp.unina.it
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
prev parent reply other threads:[~1998-08-01 4:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-07-31 4:00 Moving an AdvFS domain FTP Administrator
1998-08-01 4:00 ` Nikola Milutinovic
1998-08-01 4:00 ` Erik Persson [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox