Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Dec 2003 16:51:10 -0600
From:      "Joseph" <ginipig@earthlink.net>
To:        <freebsd-questions@freebsd.org>
Subject:   Re: Migrate /usr (ufs) to different partition (ufs2) on different slice
Message-ID:  <001501c3cc02$c1ee80e0$6401a8c0@GINIPIG>
References:  <006d01c3cbdd$5bb2eed0$6401a8c0@GINIPIG>

next in thread | previous in thread | raw e-mail | index | archive | help
I followed the instructions exactly..

I moved my root from ad0s2e to ad0s1a, hoping that it would fix things.

Now the bootloader just gives me "Not ufs"

Ad0s2e doesn't work anymore either. (No /boot/loader -- it worked before,
thought)

Currently, my computer can't be used!!

Nooo!!

Please help :(

----- Original Message ----- 
From: "Joseph" <ginipig@earthlink.net>
To: <freebsd-questions@freebsd.org>
Sent: Friday, December 26, 2003 12:23 PM
Subject: Migrate /usr (ufs) to different partition (ufs2) on different slice


Is it possible for me, in one way or another, to newfs a ufs2 partition from
a differently partitioned slice?

I'm using 5_1_releng at the moment, with no evident problems. My Settings
are:

/dev/ad0s2e on / (ufs, local, soft-updates)
devfs on /dev (devfs, local)
/dev/ad0s1g on /home (ufs, local, soft-updates)                    <--- 
Shared
/dev/ad0s2h on /usr (ufs, local, soft-updates)
/dev/ad0s2f on /var (ufs, local, soft-updates)
procfs on /proc (procfs, local)
/dev/ad0s1h on /usr/ports/distfiles (ufs, local, soft-updates)     <--- 
Shared
/dev/ad0s1d on /bleh (ufs, local, soft-updates)                    <--- 
Stray

...

Additional partions from disklabel:

ad0s1a        <none>        400
ad0s1e        <none>        64
ad0s1f        <none>        256

The aforementioned shared slices used to belong to my 4_Stable Partition
that I had initially installed as the main o/s.

A fortnight ago, I decided to test 5_1_releng out on some extra space that I
had assigned to document-storage.

The installation went Great! I had all the functionality of 4-Stable, with a
few added benefits.

Apparently, it went so smoothly that I had now decided to use ad0s1's
(original slice) greater storage capacity to migrate my /usr & /var over.

I will still keep my root partition intact on slice ad0s2e, and I was hoping
that there was some way I could painlessly
migrate over the settings.

In essence, what I'm trying to do is:

Merge space from unused ad0s1;
newfs to ufs2;
Create new /usr partition based on ad0s1's given space;
Create new /var partition                   "
Configure Loader to only recognise the 5_1_releng partition.

I understand the implications of this procedure. Namely, I'll lose a Stable
Partition, whilst having to deal with Current's quirks.

This isn't a production server, it's more of a hobby machine where I can
learn how to implement commands, and understand
coding structure/debug/fix.

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001501c3cc02$c1ee80e0$6401a8c0>