Go Back   The macosxhints Forums > OS X Help Requests > System



Reply
 
Thread Tools Rate Thread Display Modes
Old 02-07-2002, 11:42 AM   #1
rore
Prospect
 
Join Date: Feb 2002
Location: Frankfurt, Germany
Posts: 6
moving /var to a different partition

I have read several articles about moving the swap file to a different partition. It seems to work fine. Does the same principle aply to the /var directory as well? I am concerned about error messages and mail overflowing on the /root volume and crashing the server. Has anyone done this and suceeded.

Thanks,
Ronnie
rore is offline   Reply With Quote
Old 02-07-2002, 12:13 PM   #2
mervTormel
League Commissioner
 
Join Date: Jan 2002
Posts: 5,536
note well:

/var is a symlink to /private/var

% ll /var
lrwxr-xr-t 1 root admin 11 Feb 6 12:00 /var -> private/var/

moving it could work in theory, but break in the future.

what if there are hard link'd files in /var ?

perhaps start smaller and move /private/var/log somewhere and test test test!
mervTormel is offline   Reply With Quote
Old 02-08-2002, 05:10 AM   #3
rore
Prospect
 
Join Date: Feb 2002
Location: Frankfurt, Germany
Posts: 6
ok. I see your point. Somehow it bugs me that Osx and OsxS doesn´t let you choose a partitioning scheme like Linux does. I have no experience with how big temp files and logs really will be in a production environment. Also I was pretty confused to see three different fstab files in /etc. Since I am a Linux and OSX novice I am quite clueless if I should really switch from our ASIP Server to an OSX based one!

Thanks for your reply.
Ronnie
rore is offline   Reply With Quote
Old 02-08-2002, 11:53 AM   #4
Novajo
Triple-A Player
 
Join Date: Jan 2002
Location: Toronto, Canada
Posts: 185
You don't want your logs on a different partition: During reboot, stuff gets written to the log files. Not all partitions are mounted at that moment, they get mounted later. /var, being on the root partition is always accessible at boot time. If you had your logs somewhere else, you would not get the logs until the disk is mounted.
Novajo is offline   Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 08:23 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.