From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,bb49b9974020ad6a X-Google-Attributes: gidfee84,public From: Peter Mayne Subject: Re: Changing root partition from UFS to AdvFS. Date: 1996/06/16 Message-ID: <31C35BCD.1CE0@cao.mts.dec.com>#1/1 X-Deja-AN: 160396436 references: <4pokf1$abn@fstgal00.tu-graz.ac.at> content-type: text/plain; charset=us-ascii organization: Digital Equipment Corporation (Australia) mime-version: 1.0 newsgroups: comp.unix.osf.osf1 x-mailer: Mozilla 2.01I (WinNT; I) Thomas Leitner wrote: > > Hi, > > I would like to have an AdvFS system only. I've already converted my > /home and /usr partitions to AdvFS without troubles. Now i'd like > to convert the root paritition to AdvFS as well and put it into > the same domain as the /usr partition. > > Question: How do I do that? Anyone done that before? > > I supposed I do it like that: > > 1.) Make a backup of everything. > 2.) Have a OSF/1 boot CD ready and check if I can boot from it > and access the root partition! Also verify that vrestore > works when booted from the CD. > 3.) vdump the / partition to an empty tape. > 4.) Boot from the CD and look if I can access the backup. > 5.) addvol the / device and mkfset a root file set > 6.) modify fstab to re-mount it > 7.) restore the tape. You'll have to use disklabel to write an AdvFS boot block to the disk. (You'll have to do a MAKEDEV first, of course.) Use mkfdmn -r to specify the root domain. Put / in its own domain. You'll have to create /etc/fdmns on the system disk by hand. mkfdmn will create the correct pointers, but in the in-memory filesystem when you're booted from CD. Modify fstab *after* you've restored from tape. -- PJDM Digital Equipment Corporation (Australia), Canberra, ACT -------------------------------------------------------------------------------- These are my opinions, and have nothing to do with Digital. I design Internet Service Providers. It's a job. .