SUMARY: Converting the root file system to Advfs

From: Julio Rodríguez <jrb_at_ics.net>
Date: Mon, 27 Dec 1999 13:58:02 +0100

> Thank's to:
>
> Nikola Milutinovic, Paul A Sand, Brian Hostetter
>
> -----Mensaje original-----
> De: Nikola Milutinovic [SMTP:Nikola.Milutinovic_at_ev.co.yu]
> Enviado el: viernes, 24 de diciembre de 1999 11:50
> Para: Julio Rodríguez
> Asunto: Re: Converting the root file system to Advfs
>
> Julio Rodríguez wrote:
> >
> > Hello administrators
> > I want to change to a partition root in UFS to Advfs.
> > I request suggestions
>
> A lot of steps...
>
> 1. Boot machine from the "Installation CD". Go to "system shell"
>
> 2. Create device special files for your system disk and tape
> cd /dev ; ./MAKEDEV rz0 tz5
>
> 3. Backup root filesystem
> mount -r /dev/rz0a /mnt
> vdump -0C /
>
> 4. Mark "/" partition as "unused" from "disklabel".
> disklabel -s -F rz0a unused
>
> **** From this point on, it is irreversable ****
>
> 5. Make root file domain
> mkfdmn -r -t advfs /dev/rz0a root_domain
>
> 6. Make root file set
> mkfset root_domain root
>
> 7. Mount it someplace
> mkdir -p /etc/fdmns/root_domain
> ln -s /dev/rz0a /etc/fdmns/root_domain/rz0a
> mount -t advfs root_domain#root /mnt
>
> 8. Restore root filesystem from tape
> cd /mnt ; vrestore -x
>
> 9. Some fine adjustment
> mkdir -p /mnt/fdmns/root_domain
> ln -s /dev/rz0a /mnt/fdmns/root_domain/rz0a
> vi /etc/fstab (make changes so that it mounts as AdvFS)
>
> 10. Unmount and shutdown. Boot your system disk.
>
> Nix.
Received on Mon Dec 27 1999 - 13:00:48 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:40 NZDT