Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Moving stuff from the system partition



At 10:44 PM +0200 6/14/05, Jaco Schoonen wrote:
In setting up my Xserve I chose to create 3 different partitions:
1) System
2) Everything which is more or less dynamic
3) User data


Sounds like you're a sysadmin from Linux or another unice.

I do have some unix history before osx came up, yes.

It wasn't an insult, it's just that it expresses a way of thinking. In Mac OS X it's actually preferable to have a single volume in most cases.


Certain performance enhancements in the filesystem favor the boot volume.

OK, I was not aware of this, can you point me to a list/reference of such enhancements?

You can read the developer docs or the source code.

The dynamic pager has become better and better and should never use up all available disk space. You can configure other programs and system components to use disk space on other volumes rather than / or /var, et al.

That was what I was looking for indeed. I hoped somebody already had an installation log of such changes, which would ease my search. No need to reinvent the wheel...

They are purely dependent on what you move where and how.

Starting with swapfiles, I noticed that if I change to location of the swapdie in /etc/rc just the system volume is mounted and therefore I cannot select a different location.


This is correct. But you should never be editing /etc/rc. Your changes will get clobbered, and even Apple is moving from /etc/rc so this is clearly not the right place.

That makes sense, it is just that I was trying to relocate the VM, which seems logical to do at the place where the VM is actually started.

But this ignores that other things like mach bootstrap daemons are also occurring. It's hear, for instance, that diskarbitration is started which is what coordinates the mounting of filesytems. And it's launchd that's started rc (and just about everything else.) So the order which things occur in rc isn't as you'd expect from other rc based OSen.


Altogether I am a bit confused when and where the non-system volumes are mounted?


Volumes are automatically mounted when available in OS X, you don't need to do anything, if they are online the system will load kernel extensions necessary to support them and any initialization, and it will all "just work."

I like UNIX, because if you dig deep you can find everything. Things don't "just work", there is a reason why it works. I like to learn how to get a better understanding of the system.

It's how the kernel and diskarbitration work.

Together with all the other advise to not split things the way I intended, I'm now considering to make a big system partition (150GB) and setup an early warning if it get's too full.

This is a better idea. You can also teach many things not to use all the disk space, and VM certainly won't.
--


-dhan

------------------------------------------------------------------------
Dan Shoop                                                   AIM: iWiring
Systems & Networks Architect                     http://www.iwiring.net/
email@hidden                                 http://www.ustsvs.com/

pgp key fingerprint: FAC0 9434 B5A5 24A8 D0AF  12B1 7840 3BE7 3736 DE0B

iWiring provides systems and networks support for Mac OS X, unix, and
Open Source application technologies at affordable rates.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macos-x-server mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macos-x-server/email@hidden

This email sent to email@hidden
References: 
 >Moving stuff from the system partition (From: Jaco Schoonen <email@hidden>)
 >Re: Moving stuff from the system partition (From: Dan Shoop <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.