|
|
#1 |
|
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 |
|
|
|
|
|
#2 |
|
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! |
|
|
|
|
|
#3 |
|
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 |
|
|
|
|
|
#4 |
|
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.
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|