Date: Wed, 20 Sep 2000 13:38:30 -0500 From: "Travis Leuthauser" <travis-lists@winconx.com> To: "David Banning" <david@banning.com>, <questions@freebsd.org> Subject: Re: install new drive problem Message-ID: <00b701c02331$f9068e60$97c8723f@travis> References: <20000920135043.A439@www3.pacific-pages.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Here's excerpts from a message Chris Clark wrote on July 12, 1999 that I found in the archives when I was researching the same thing. Slice and partition the new drive. for each filesystem you want to mirror, mount the corresponding slice of the new drive and dump/restore the original filesystem ie. # mount /dev/wd0s1a /mnt # cd /mnt # dump -0af - / | restore -rf - Repeat for all slices. Travis Leuthauser Network Administrator WinConX Online, Inc. 225-751-0959 225-752-6517 ----- Original Message ----- From: "David Banning" <david@www3.pacific-pages.com> To: <questions@freebsd.org> Sent: Wednesday, September 20, 2000 12:50 PM Subject: install new drive problem > I want to replace my 3.4 gig drive with a new 20 gig drive > I just bought. > > While I'm actually running 4.0 Stable - I used my FreeBSD 2.2.8 old > cdrom set to install the file systems and set as bootable. > > Then I booted from my 3.4 gig drive, mounted my 20 gig drive > and commenced copying all files over with "cp -R" to the individual > file systems. > > There are two problems. One is - the file systems on the new drive fill up > too quickly, and problem 2: the new 20 gig drive won't boot. > > Here is what df shows; > > Filesystem 1K-blocks Used Avail Capacity Mounted on > /dev/wd1s1a 87055 38184 41907 48% / > /dev/wd1s1f 2971838 2044310 689781 75% /usr > /dev/wd1s1e 58031 9332 44057 17% /var > procfs 4 4 0 100% /proc > /dev/wd0s1a 98479 40240 50361 44% /newroot > /dev/wd0s1f 19048854 7380208 10144738 42% /newusr > /dev/wd0s1e 98479 9314 81287 10% /newvar > > you can see that although the new file systems contain the exact > same stuff, percentage-wise they take up too much space on the drive. > (eg. 75% of say 3.2 gigs (/usr) should not be 42% of say 18.5 > gigs (/newusr), given that it's the same content) > > I realize I'm going about this in a rather self-made way but I couldn't > find any example of this in my FreeBSD book (bought with 2.2.8) > and I didn't want to bother you folks without first putting in some > effort myself. > > Any pointers would be appreciated > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00b701c02331$f9068e60$97c8723f>