* Re: 4.0e and advfs problem
1999-07-31 4:00 4.0e and advfs problem dminor
@ 1999-08-03 4:00 ` John Hill
1999-08-09 4:00 ` Tomas Vanhala
1999-08-03 4:00 ` Nikola Milutinovic
1999-08-03 4:00 ` Bob Harris
2 siblings, 1 reply; 5+ messages in thread
From: John Hill @ 1999-08-03 4:00 UTC (permalink / raw)
dminor@salud.unm.edu wrote:
>
> Hi. We had a box running 3.2c with several advfs vols on it. Yesterday
> we installed 4.0e on a new disk in the system and are in the process of
> migrating files, etc.
>
> So far none of our advfs vols is showing up in the new setup. None of
> the advfs structure has changed. On boot you can see them scroll by with
> the message "no device." We did copy over the /etc/fdmns file which
> seems to be correct. Any suggestions?? This is kind of an emergency
> because all of our core stuff is on those vols.
>
> TIA.
>
> david.
I had a similar problem when moving an AdvFS from a V4.0B to V4.0D
system.
I believe DEC changed some of the internal details of AdvFS, which makes
the file systems unrecognised as AdvFS. If you do a standard upgrade,
the AdvFS get updated as well, so the problem only arises when moving
"old"
AdvFS onto new versions of D.U.
There may be a way to patch the AdvFS to be acceptable to V4.0E - but I
just copied the disk contents (25GB I seem to recall :-( ) to tape,
moved
the disks, reinitialised the AdvFS volumes and recovered from tape.
Regards,
John Hill
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: 4.0e and advfs problem
1999-08-03 4:00 ` John Hill
@ 1999-08-09 4:00 ` Tomas Vanhala
0 siblings, 0 replies; 5+ messages in thread
From: Tomas Vanhala @ 1999-08-09 4:00 UTC (permalink / raw)
In article <37A6A2B4.6FC1@cern.ch>, John Hill wrote:
>
>I had a similar problem when moving an AdvFS from a V4.0B to V4.0D
>system.
>I believe DEC changed some of the internal details of AdvFS, which makes
>the file systems unrecognised as AdvFS. If you do a standard upgrade,
>the AdvFS get updated as well, so the problem only arises when moving
>"old"
>AdvFS onto new versions of D.U.
>There may be a way to patch the AdvFS to be acceptable to V4.0E - but I
At our site, I moved the 4.0B AdvFS disks to a new (i.e. not upgraded)
4.0E installation, and everything just worked. There was no need to
recreate the filesystems.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: 4.0e and advfs problem
1999-07-31 4:00 4.0e and advfs problem dminor
1999-08-03 4:00 ` John Hill
@ 1999-08-03 4:00 ` Nikola Milutinovic
1999-08-03 4:00 ` Bob Harris
2 siblings, 0 replies; 5+ messages in thread
From: Nikola Milutinovic @ 1999-08-03 4:00 UTC (permalink / raw)
dminor@salud.unm.edu wrote:
>
> Hi. We had a box running 3.2c with several advfs vols on it. Yesterday
> we installed 4.0e on a new disk in the system and are in the process of
> migrating files, etc.
A risky job. Can this be actually done? Can you mount a 3.2-AdvFS on DU 4.0x? I
don't think so.
Also, note that there was a compatibilty bug between 4.0D and pre-4.0D AdvFS, so
mounting would cause system to crash.
> So far none of our advfs vols is showing up in the new setup. None of
> the advfs structure has changed. On boot you can see them scroll by with
> the message "no device." We did copy over the /etc/fdmns file which
> seems to be correct. Any suggestions?? This is kind of an emergency
> because all of our core stuff is on those vols.
When you installed 4.0E, were the old disks on? If not, then there are no
entries in /dev directory to access those disks/partitions. And
/etc/fdmns/<domain> has symbolic links to those files. Also, as stated above,
I'm not sure it can actually be done.
Try vdump/vrestore, it should be backwards compatible. Just to make it clear,
boot old DU 3.2, do vdump, boot 4.0E, do vrestore.
Nix.
--
To turn $100 into $110 is work. To turn $100 million into $110 million is
inevitable.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: 4.0e and advfs problem
1999-07-31 4:00 4.0e and advfs problem dminor
1999-08-03 4:00 ` John Hill
1999-08-03 4:00 ` Nikola Milutinovic
@ 1999-08-03 4:00 ` Bob Harris
2 siblings, 0 replies; 5+ messages in thread
From: Bob Harris @ 1999-08-03 4:00 UTC (permalink / raw)
To: dminor
[[ This message was both posted and mailed: see
the "To," "Cc," and "Newsgroups" headers for details. ]]
In article <37A348C8.133816C1@salud.unm.edu>, <dminor@salud.unm.edu>
wrote:
>Hi. We had a box running 3.2c with several advfs vols on it. Yesterday
>we installed 4.0e on a new disk in the system and are in the process of
>migrating files, etc.
>
>So far none of our advfs vols is showing up in the new setup. None of
>the advfs structure has changed. On boot you can see them scroll by with
>the message "no device." We did copy over the /etc/fdmns file which
>seems to be correct. Any suggestions?? This is kind of an emergency
>because all of our core stuff is on those vols.
Since you installed v4.0e on a new disk, it doesn't have the /etc/fdmns
entries for the AdvFS domains.
2nd, it is recommended that you run the /sbin/advfs/verify utility
against your AdvFS domains before you mount them on v4.0e. (man 8
verify). This is to clean up any problems that the v4.0e kernel might
panic over (this is actually a v4.0d recommendation, but it would apply
to v4.0e when using AdvFS domains created on a prior release.
If you look at your old system disk you will see that the /etc/fdmns
directory contains subdirectories named for each of your AdvFS domains.
Inside of each of those subdirectories are symbolic links to the
/dev/rzXX devices that make up the volumes in each domain.
You can manually recreate these /etc/fdmns subdirectories and symbolic
links on your v4.0e system or you can use the /sbin/advfs/advscan
utility to do it for you. (man 8 advscan)
After that you should be able to mount your AdvFS domains on v4.0e.
^ permalink raw reply [flat|nested] 5+ messages in thread