• RSS
  • Twitter
  • FaceBook

Security Forums

Log in

FAQ | Search | Usergroups | Profile | Register | RSS | Posting Guidelines | Recent Posts

Good UNIX structure for install

Users browsing this topic:0 Security Fans, 0 Stealth Security Fans
Registered Security Fans: None
Post new topic   Reply to topic   Printer-friendly version    Networking/Security Forums Index -> UNIX // GNU/Linux

View previous topic :: View next topic  
Author Message
unixnewbie
Just Arrived
Just Arrived


Joined: 26 May 2002
Posts: 0


Offline

PostPosted: Sun May 26, 2002 2:31 am    Post subject: Good UNIX structure for install Reply with quote

Hi

Ive installed some 'user friendly' distributions recently but they dont let you customise the partitions as much, hence i have two questions:


1-What is a good structure to use for any distro
i.e ive read that 1/5-2x the amount of memory for swap file

If someone could suggest what the minimum is needed for

/bin
/tmp
/var

So I can then assign as much as possible to

/home
/root


2-Is it possible to resize the partitions between say
/root and /home without affecting the data stored on them


Thanks
Back to top
View user's profile Send private message
Eater
Just Arrived
Just Arrived


Joined: 29 Apr 2002
Posts: 0


Offline

PostPosted: Sat Jun 01, 2002 1:42 pm    Post subject: Reply with quote

Most distros at least give you the option to manually partition your drive. I know Red Hat has 'Disk Druid'. Many just allow you to use fdisk.

1.5 X memory is plenty for swap, unless you really short on memory (less than, say, 32MB) then go 2X.

Partitioning schemes should be handled based on your experience. New users usually do best with one, big assed partition. I keep a separate /home partition, so I can re-install the system without losing my personal files. Looks like this:

$ df -h
Filesystem Size Used Avail Use% Mounted on
//[b][/b]dev[b][/b]/hda1 9.5G 1.8G 7.1G 21% /
//[b][/b]dev[b][/b]/hda2 26G 16G 9.5G 62% /home

I've been pretty happy with this configuration for the past few years. I wouldn't suggest messing with splitting up the other directories unless you have a specific reason to. The original purpose of doing so is to mount *different disks* to these directories, giving either additional storage, or redundancy.ie, mounting an NFS share to a backup directory would give you a convenient backup solution.

Salut,
Eater
Back to top
View user's profile Send private message Visit poster's website
b4rtm4n
Trusted SF Member
Trusted SF Member


Joined: 26 May 2002
Posts: 16777206
Location: Bi Mon Sci Fi Con

Offline

PostPosted: Sat Jun 01, 2002 10:11 pm    Post subject: Reply with quote

I was curious to see who would reply to this thread first and what their answer would be.

Glad to see it matches my primary partioning system.

If I'm setting up a sendmail server i also tend to add a big fecker of a /var for mail queue files (I had a bad experience ONCE with someone sending a 120mb word doc to 250 people).

Cheers
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   

Post new topic   Reply to topic   Printer-friendly version    Networking/Security Forums Index -> UNIX // GNU/Linux All times are GMT + 2 Hours
Page 1 of 1


 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Community Area

Log in | Register