From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,bde815f6fdf47527 X-Google-Attributes: gidfee84,public From: jmi@sophia.inria.fr (Janet Bertot) Subject: Re: Expanding the root file system, is it possible? Date: 1998/09/02 Message-ID: <6sk8qp$86k$1@news-sop.inria.fr>#1/1 X-Deja-AN: 387282169 Content-Transfer-Encoding: 8bit References: <35ED795A.E7ACAA4A@home.com> <35ED8F74.998EF482@EUnet.yu> To: Nikola Milutinovic Content-Type: text/plain; charset=iso-8859-1 Organization: INRIA, Sophia-Antipolis (Fr) Mime-Version: 1.0 Newsgroups: comp.unix.osf.osf1 Nikola Milutinovic writes: |> > |> > I have a Digital 4100 running Digital Unix V3.2G with LSM and AdvFs |> > enabled. I want to update it to the latest and greatest V4.0D, |> > however I do not have enough disk space on the root file system. |> Highly unlikely. Both UFS and AdvFS (or any other FS) set some of it's |> parameters acording to the partition size. If you just change the partition |> size, the FS will stay the same. Any tool trying to change that would need to |> rebuild superblock, i-node tables and almost everything else. Right but you expand it if 1) you use RIS for example to boot your system over the network. And having save a dump of the old root file system, you repartition the disk using disklabel, making sure to *only* expand the root partition (typically "a") into the swap partition (typically "b") thus you don't have to worry about having to dump and save the whole disk. You dump the root, repartition root-swap, make a new file system using newfs, and restore from you initial dump. 2) if your machine has two disks, you can boot from the second while expanding the first and vice-versa. -- Janet Bertot Inria -- Sophia Antipolis