Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* Problem with Tru64 5.1
@ 2002-01-04 18:56 Guy Paulus
  2002-01-04 20:35 ` Albert Chin-A-Young
  0 siblings, 1 reply; 3+ messages in thread
From: Guy Paulus @ 2002-01-04 18:56 UTC (permalink / raw)


Hi all:

After increasing the size of partition dsk0g (usr_domain),
I wanted to extend the AdvFS domain usr_domain to fill the
partition. I did the following:

* vdump of /usr
* rmfdmn of usr_domain
* mkfdmn of new usr_domain on /dev/disk/dsk0g
* mkfset of file sets usr and var
* mounting usr_domain#usr and usr_domain#var on their respective
    mount points
* vrestore of the dumped /usr.

Problem: /var is now empty. I have booted in single-user mode
and tried various things but to no avail. Is there a way to
recover /var without any backup, or is re-installing Tru64 5.1
the only way out ?

Thanks.
-- 
           ,
          /)
         //    Guy Paulus
        (/        Institut d'Astronomie & d'Astrophysique
       _/   ______   CP-226, Universite Libre de Bruxelles
      ) (  (-----(      Campus Plaine, Bvd du triomphe
     /INK\  \     \        B-1050  Brussels
     \___/   \     \          Phone: +32(2)650 3570
 jgs         _)_____)            Fax: +32(2)650 4226
             `------`



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

* Re: Problem with Tru64 5.1
  2002-01-04 18:56 Problem with Tru64 5.1 Guy Paulus
@ 2002-01-04 20:35 ` Albert Chin-A-Young
  2002-01-08  7:23   ` Nikola Milutinovic
  0 siblings, 1 reply; 3+ messages in thread
From: Albert Chin-A-Young @ 2002-01-04 20:35 UTC (permalink / raw)


Guy Paulus <gpaulus@astro.ulb.ac.be> wrote:
> After increasing the size of partition dsk0g (usr_domain),
> I wanted to extend the AdvFS domain usr_domain to fill the
> partition. I did the following:

> * vdump of /usr
> * rmfdmn of usr_domain
> * mkfdmn of new usr_domain on /dev/disk/dsk0g
> * mkfset of file sets usr and var
> * mounting usr_domain#usr and usr_domain#var on their respective
>    mount points
> * vrestore of the dumped /usr.

> Problem: /var is now empty. I have booted in single-user mode
> and tried various things but to no avail. Is there a way to
> recover /var without any backup, or is re-installing Tru64 5.1
> the only way out ?

So usr_domain#usr is mounted on /usr and usr_domain#var is mounted on
/var and, after restore the dump, /var is empty? That's expected
because, before the dump /var -> usr/var. So, just copy /usr/var to
/var, remove /usr/var, and you should be set.

-- 
albert chin (china at thewrittenword dot com)


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

* Re: Problem with Tru64 5.1
  2002-01-04 20:35 ` Albert Chin-A-Young
@ 2002-01-08  7:23   ` Nikola Milutinovic
  0 siblings, 0 replies; 3+ messages in thread
From: Nikola Milutinovic @ 2002-01-08  7:23 UTC (permalink / raw)


"Albert Chin-A-Young" <china@foo.com> wrote in message
news:u3c4fqlbo88ob6@corp.supernews.com...
> Guy Paulus <gpaulus@astro.ulb.ac.be> wrote:
> > After increasing the size of partition dsk0g (usr_domain),
> > I wanted to extend the AdvFS domain usr_domain to fill the
> > partition. I did the following:
>
> > * vdump of /usr
> > * rmfdmn of usr_domain
> > * mkfdmn of new usr_domain on /dev/disk/dsk0g
> > * mkfset of file sets usr and var
> > * mounting usr_domain#usr and usr_domain#var on their respective
> >    mount points

Before dumping, were /usr/and /var different file systems? If they were,
you're mostly screwed.

> > * vrestore of the dumped /usr.
>
> > Problem: /var is now empty. I have booted in single-user mode
> > and tried various things but to no avail. Is there a way to
> > recover /var without any backup, or is re-installing Tru64 5.1
> > the only way out?
>
> So usr_domain#usr is mounted on /usr and usr_domain#var is mounted on
> /var and, after restore the dump, /var is empty? That's expected
> because, before the dump /var -> usr/var. So, just copy /usr/var to
> /var, remove /usr/var, and you should be set.

When system installs with /var inside /usr, /var is made a symbolic link to
/usr/var. When you install it as separate file systems, /usr/var is a
sym-link to /var.

So, the only ray of hope for you is a situation where /var *was* in /usr and
you later made it a separate file system *without* deleting the old /usr/var

Nix.




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

end of thread, other threads:[~2002-01-08  7:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-01-04 18:56 Problem with Tru64 5.1 Guy Paulus
2002-01-04 20:35 ` Albert Chin-A-Young
2002-01-08  7:23   ` Nikola Milutinovic

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