From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079091516547.tru64-unix-managers.marc@archive.invalid> From: =?iso-8859-1?Q?Julio_Rodr=EDguez?= Date: Mon, 27 Dec 1999 12:58:02 +0000 To: tru64-unix-managers Subject: SUMARY: Converting the root file system to Advfs X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079091516547 > Thank's to: >=20 > Nikola Milutinovic, Paul A Sand, Brian Hostetter >=20 > -----Mensaje original----- > De: Nikola Milutinovic [SMTP:Nikola.Milutinovic@ev.co.yu] > Enviado el: viernes, 24 de diciembre de 1999 11:50 > Para: Julio Rodr=EDguez > Asunto: Re: Converting the root file system to Advfs >=20 > Julio Rodr=EDguez wrote: > >=20 > > Hello administrators > > I want to change to a partition root in UFS to Advfs. > > I request suggestions >=20 > A lot of steps... >=20 > 1. Boot machine from the "Installation CD". Go to "system shell" >=20 > 2. Create device special files for your system disk and tape > cd /dev ; ./MAKEDEV rz0 tz5 >=20 > 3. Backup root filesystem > mount -r /dev/rz0a /mnt > vdump -0C / >=20 > 4. Mark "/" partition as "unused" from "disklabel". > disklabel -s -F rz0a unused >=20 > **** From this point on, it is irreversable **** >=20 > 5. Make root file domain > mkfdmn -r -t advfs /dev/rz0a root_domain >=20 > 6. Make root file set > mkfset root_domain root >=20 > 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 >=20 > 8. Restore root filesystem from tape > cd /mnt ; vrestore -x >=20 > 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) >=20 > 10. Unmount and shutdown. Boot your system disk. >=20 > Nix.