Re: Migrate /usr (ufs) to different partition (ufs2) on different slice

2003-12-26 Thread Ion-Mihai Tetcu
On Fri, 26 Dec 2003 12:23:27 -0600
Joseph [EMAIL PROTECTED] wrote:

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

[..]
 
 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.

http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#NEW-HUGE-DISK
will probably respond to your needs.



-- 
IOnut
Unregistered ;) FreeBSD user
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Migrate /usr (ufs) to different partition (ufs2) on different slice

2003-12-26 Thread Joseph
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 [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
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:

ad0s1anone400
ad0s1enone64
ad0s1fnone256

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.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]