[comp.unix.xenix] splitting up root and use

mark.levy@canremote.uucp (MARK LEVY) (02/04/90)

ts>Has anyone been brave enough to try to take the /usr files out of
ts>the root filesystem under SCO UNIX 3.2?  If so, how much stuff did
ts>it break?  How difficult was the split, and how difficult is it
ts>to reinstall the OS now that you have a non-standard configuration?

ts>BTW:  A 3B15 mounts both the root and usr filesystems before it comes
ts>up in single user mode.  That seems like it would be a good idea
ts>for SCO UNIX as well.  I am going to be reconfiguring my filesystems
ts>soon, and wondered if anyone had tried this.  Thanks in advance.

   Hi Terry,
      How've you been?  I hope you will be getting this, and I won't
look like a total fool.   I'm posting this to you from KCMO, via
Canada...  To think, you're only about an hour away....

   I haven't tried SCO UNIX yet, but I've got my XENIX (2.3.3) /usr
file system seperate, and I just mount it when I need to come up single
user.  I haven't had any problems, but with the different file system
used in UNIX, I guess that isn't a guarentee.  I'd like to upgrade to
UNIX (I think) but I have too much invested in software right now to
justify the change (Office Portfolio Suite isn't compatable, VP/ix
might be, and my Informix RDS is a big unknown).

   Take care

Mark
---
 ~ DeLuxe 1.11a18 #3019
 ~ QNet 2.04a:NorthAmeriNet: Sound Advice BBS ~ Gladstone ~ MO

brothers@jetsun.WEITEK.COM (bill brothers) (02/09/90)

In article <90020407120109@masnet.uucp> mark.levy@canremote.uucp (MARK LEVY) writes:
>ts>Has anyone been brave enough to try to take the /usr files out of
>ts>the root filesystem under SCO UNIX 3.2?  If so, how much stuff did
>ts>it break?  How difficult was the split, and how difficult is it
>ts>to reinstall the OS now that you have a non-standard configuration?


I have separate / and /usr filesystems. It was a piece of cake! You
do have to install the initial system on one filesystem. I put stuff
on four separate disks, so I will keep referring to disks. So if you
are doing it on one disk, just substitute the word filesystem...
These instructions assume that you understand filesystems and partitions.

1. Install SCO UNIX core (or all of it if you want to and have space)
2. Add your second (,third, fourth...) disk with mkdev hd (or fs with mkdev fs)
3. Recursively copy /usr onto the new disk. (I used cpio -p)
4. Fix rc files to point to non-mounted places. Change
   /etc/rc.d/0/sdaemons to use /etc/adm rather
   than /usr/adm. (don't forget to make the directory). 
5. Make sure that /etc/default/filesys and /etc/checklist contain an
   entry for your new /usr.
6. DON'T rm the old /usr files until you have rebooted and verified
   all is in order and works correctly.
7. DO rm the old /usr files in single user mode. Make sure you are
   removing the correct /usr files by doing a df -v first to verify
   that /usr is not mounted.


The only real drawbacks are the obvious ones. You have to manually
mount and dismount /usr when running single user. 
P.S. I also did a full backup before I started since this machine
was not a fresh install. Luckily, I didn't need to use it :*)

Bill
brothers@weitek.COM

chuckb@lotex.UUCP (Chuck Bentley) (02/11/90)

In article <867@jetsun.WEITEK.COM> brothers@jetsun.WEITEK.COM (bill brothers) writes:
>I have separate / and /usr filesystems. It was a piece of cake! You
.
.
>1. Install SCO UNIX core (or all of it if you want to and have space)

This sounds interesting.  Has anyone done this with SCO XENIX v2.2.3?

mark.levy@canremote.uucp (MARK LEVY) (02/20/90)

To: chuckb@lotex.UUCP (Chuck Bentley)

cP>In article <867@jetsun.WEITEK.COM> brothers@jetsun.WEITEK.COM (bill
cP>brothers) writes: >I have separate / and /usr filesystems. It was a
cP>piece of cake! You .
cP>.
>1. Install SCO UNIX core (or all of it if you want to and have space)

cP>This sounds interesting.  Has anyone done this with SCO XENIX v2.2.3?

   I had done it with my version of 2.2.3.  No problems.

Mark
---
 ~ DeLuxe 1.11a18 #3019
 ~ QNet 2.04: NorthAmeriNet: Sound Advice BBS ~ Gladstone ~ MO

mark.levy@canremote.uucp (MARK LEVY) (02/20/90)

To: brothers@jetsun.WEITEK.COM (bill brothers)

bO>In article <90020407120109@masnet.uucp> mark.levy@canremote.uucp
bO>(MARK LEVY) writes: >ts>Has anyone been brave enough to try to take
bO>the /usr files out of >ts>the root filesystem under SCO UNIX 3.2?  If
bO>so, how much stuff did >ts>it break?  How difficult was the split,
bO>and how difficult is it >ts>to reinstall the OS now that you have a
bO>non-standard configuration?


bO>I have separate / and /usr filesystems. It was a piece of cake! You
bO>do have to install the initial system on one filesystem. I put stuff
bO>on four separate disks, so I will keep referring to disks. So if you
bO>are doing it on one disk, just substitute the word filesystem...
bO>These instructions assume that you understand filesystems and
bO>partitions.

   I bleieve that this should have been addressed to Terry Hull

Mark
---
 ~ DeLuxe 1.11a18 #3019
 ~ QNet 2.04: NorthAmeriNet: Sound Advice BBS ~ Gladstone ~ MO